/* Grund-Setup */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #020817;
    --bg-alt: #040b1f;
    --bg-soft: #081325;
    --text: #e5f0ff;
    --muted: #a2b5d8;
    --accent: #42e3d9;
    --accent-soft: rgba(66, 227, 217, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --radius-lg: 1.4rem;
    --radius-md: 1rem;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #051737 0, var(--bg) 45%, #020814 100%);
    color: var(--text);
    line-height: 1.6;
}

/* Container & Sektionen */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    padding: 4.5rem 0;
    background: linear-gradient(
        135deg,
        rgba(5, 23, 55, 0.85),
        rgba(2, 8, 23, 0.95)
    );
}

.section-title {
    font-size: clamp(2rem, 2.5vw, 2.4rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

/* Header & Navigation */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        to bottom,
        rgba(2, 8, 23, 0.92),
        rgba(2, 8, 23, 0.8),
        transparent
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #a5f3fc, #22d3ee 45%, #0f172a 100%);
    color: #0b1120;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
    font-size: 1.1rem;
}

.logo-text {
    background: linear-gradient(120deg, #e5f0ff, #c4eafe);
    -webkit-background-clip: text;
    color: transparent;
}

/* Navigation */

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #a5f3fc);
    transition: width 0.2s ease-out;
}

.nav a:hover {
    color: #e2e8f0;
}

.nav a:hover::after {
    width: 100%;
}

/* Mobile Menü Toggle */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    display: block;
    width: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: #e2e8f0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: relative;
}

.nav-toggle-label span::before {
    position: absolute;
    top: -0.3rem;
}

.nav-toggle-label span::after {
    position: absolute;
    top: 0.3rem;
}

/* Hero */

.hero {
    padding: 3.5rem 0 4.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 3.3vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.accent {
    color: var(--accent);
    text-shadow: 0 0 26px rgba(34, 211, 238, 0.5);
}

.hero-text p {
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 1.7rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
        border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn.primary {
    background: radial-gradient(circle at 30% 0%, #a5f3fc, #22d3ee 45%, #0ea5e9 100%);
    color: #020617;
    box-shadow: 0 16px 35px rgba(34, 211, 238, 0.4);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(34, 211, 238, 0.5);
}

.btn.ghost {
    background: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
    background: rgba(15, 23, 42, 0.95);
}

/* Hero Card */

.hero-card {
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem;
    background:
        radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 55%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-soft);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 191, 0.4);
    margin-bottom: 0.75rem;
}

.hero-highlight {
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.hero-list {
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.hero-list li::before {
    content: "•";
    color: var(--accent);
}

/* Grids */

.grid {
    display: grid;
    gap: 1.4rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* Karten */

.card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.2rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.65);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Galerie */

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #020617;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
}

.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, transparent, rgba(15, 23, 42, 0.7));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
    opacity: 0.95;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Über uns */

.about-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.about-highlight {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.3rem 1.2rem;
    box-shadow: var(--shadow-soft);
}

.about-highlight h3 {
    margin-bottom: 0.7rem;
}

.about-highlight ul {
    color: var(--muted);
    font-size: 0.95rem;
    padding-left: 1.1rem;
}

.about-highlight li {
    margin-bottom: 0.4rem;
}

/* Kontakt */

.contact-grid {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
}

.contact-form {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.9rem;
}

.form-row label {
    font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.6rem 0.7rem;
    background: rgba(15, 23, 42, 0.85);
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.55);
    background: rgba(15, 23, 42, 0.98);
}

.form-row textarea {
    resize: vertical;
}

.form-hint {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.contact-info {
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-info h3 {
    margin-bottom: 0.7rem;
    color: var(--text);
}

.contact-info p {
    margin-bottom: 0.7rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 1.4rem 0 1.6rem;
    background: rgba(2, 8, 23, 0.95);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent);
}

/* Responsiv */

@media (max-width: 850px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin: 0;
        padding: 0.7rem 1.5rem 1rem;
        background: rgba(2, 6, 23, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.4);
        flex-direction: column;
        gap: 0.65rem;
        transform-origin: top;
        transform: scaleY(0.85);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .nav-toggle-label {
        display: inline-flex;
    }

    .nav-toggle:checked ~ .nav {
        opacity: 1;
        pointer-events: auto;
        transform: scaleY(1);
    }

    .nav-toggle:checked + .nav-toggle-label span {
        transform: rotate(45deg);
    }

    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(90deg) translateX(-0.02rem);
        top: 0;
    }

    .nav-toggle:checked + .nav-toggle-label span::after {
        opacity: 0;
    }

    .hero {
        padding-top: 2.8rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 1.3rem 1.1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
