/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--warm-white);
}

:root {
    --wave-height: 80px;

    /* Warm & Soft Palette - No Brown */
    --warm-white: #FFFBF7;
    --soft-cream: #FFF5EB;
    --warm-blush: #F5EBE6;
    --blush-accent: #E8D4C4;
    --rose-taupe: #D9C4B8;
    --warm-taupe: #C4B4A4;
    --deep-warm: #9A8B7C;

    /* Text Colors - Warm Grays, Not Brown */
    --text-dark: #3D3832;
    --text-medium: #6B6258;
    --text-light: #9A8F84;
    --white: #ffffff;

    /* Accent */
    --accent-gold: #C9A87C;
    --accent-rose: #D4A088;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-script: 'Great Vibes', cursive;

    /* Near-black tone (replaces former rose accent on headings/footer) */
    --near-black: #1A1714;

    /* Textmarker-Hervorhebung (zentral steuerbar) */
    --highlight-marker: #FBE3C7;

    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 0 2rem;
    --border-radius: 12px;
    --shadow: 0 20px 60px -10px rgba(74, 68, 64, 0.12);
    --shadow-light: 0 10px 30px -5px rgba(74, 68, 64, 0.08);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-medium);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--white);
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--deep-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Nur für Screenreader: sichtbar für Hilfstechnik, unsichtbar am Bildschirm */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sprungmarke: erscheint erst bei Tastaturfokus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    box-shadow: var(--shadow-light);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* Sichtbarer Fokusrahmen für Tastaturnutzung */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--deep-warm);
    outline-offset: 3px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-family: var(--font-script);
    color: var(--text-dark);
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--deep-warm);
}

/* Aktiver Abschnitt: dezent dunkler + weicher Verlaufsstrich darunter */
.nav-menu .nav-link:not(.cta-button)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--blush-accent) 20%, var(--accent-gold) 50%, var(--blush-accent) 80%, transparent 100%);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-menu .nav-link.active {
    color: var(--text-dark);
}

.nav-menu .nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.nav-overlay .nav-link.active {
    color: var(--text-dark);
}

/* Feiner Fortschrittsbalken am unteren Rand der Navigation */
.nav-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--blush-accent) 0%, var(--accent-gold) 100%);
    opacity: 0.55;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .nav-menu .nav-link:not(.cta-button)::after {
        transition: none;
    }
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    background: var(--highlight-marker);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--rose-taupe);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 10000;
    flex-direction: column;
    justify-content: space-between;
    /* Browser-Vorgaben des <button>-Elements zurücksetzen */
    padding: 0;
    background: none;
    border: 0;
    appearance: none;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
@keyframes hero-float-1 {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -30px) scale(1.08); }
    66%  { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes hero-float-2 {
    0%   { transform: translate(0, 0) scale(1); }
    40%  { transform: translate(-50px, 30px) scale(1.06); }
    70%  { transform: translate(30px, -20px) scale(0.97); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes hero-float-3 {
    0%   { transform: translate(0, 0) scale(1); }
    30%  { transform: translate(25px, 40px) scale(0.94); }
    65%  { transform: translate(-35px, -15px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero {
    background: var(--warm-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: var(--wave-height);
    position: relative;
    overflow: hidden;
}

/* Atmende Farbkreise im Hintergrund */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 235, 230, 0.7) 0%, transparent 70%);
    top: -180px;
    right: -100px;
    animation: hero-float-1 28s ease-in-out infinite;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 136, 0.22) 0%, transparent 65%);
    bottom: 80px;
    left: -100px;
    animation: hero-float-2 34s ease-in-out infinite;
}

/* Dritter Kreis via span im HTML — hier als Klasse */
.hero-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 124, 0.28) 0%, transparent 70%);
    top: 40%;
    left: 35%;
    pointer-events: none;
    z-index: 0;
    animation: hero-float-3 24s ease-in-out infinite;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    /* Textspalte etwas breiter als die Bildspalte, damit die lange
       Überschrift nicht bis an die Kante läuft */
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.title-sub {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    color: var(--near-black);
    font-weight: 400;
    margin-top: 0.6rem;
}

.hero-tagline {
    margin: 2rem 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 2;
    font-weight: 500;
}

.hero-tagline span {
    background: linear-gradient(135deg, #FDEFDD 0%, var(--highlight-marker) 100%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0.1em 0.5em;
    border-radius: 6px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    /* Originalformat skyline-2.jpg (1274 × 1006) – kein Beschnitt */
    aspect-ratio: 1274 / 1006;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    margin-bottom: 0.5rem;
}

.title-accent {
    font-family: var(--font-script);
    color: var(--near-black);
    font-size: clamp(2.5rem, 4vw, 3.2rem);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 550px;
    margin: 1rem auto 0;
}

/* About Section */
.about {
    background: var(--warm-blush);
    padding: 8rem 0 calc(var(--wave-height) + 4rem);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 235, 0.7) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: auto;
    /* Originalformat skyline-3.jpg (536 × 654, hochkant) – kein Beschnitt */
    aspect-ratio: 536 / 654;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
}

.about-text {
    padding: 0.5rem 0;
    max-width: 620px;
}

/* Überschrift näher an den Text rücken */
.about .section-header {
    margin-bottom: 1.75rem;
}

.about-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlight {
    position: relative;
    background: none;
    border: none;
    border-left: 2px solid var(--accent-gold);
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 1.75rem;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2.5rem 0;
    color: var(--text-dark);
}

.about-belief {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--blush-accent);
    line-height: 1.7;
}

/* Qualities Section */
.qualities {
    background: radial-gradient(ellipse at 50% 40%, var(--soft-cream) 0%, var(--warm-blush) 100%);
    position: relative;
    padding-bottom: calc(var(--wave-height) + 4rem);
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.quality-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid rgba(232, 212, 196, 0.3);
    border-top: 2px solid var(--accent-gold);
}

.quality-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.quality-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--highlight-marker), var(--rose-taupe));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.quality-icon svg {
    color: var(--white);
    transition: transform 0.4s ease;
}

/* Beim Überfahren der Karte wächst der Kreis leicht und bekommt einen warmen Schein */
.quality-card:hover .quality-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 20px -6px rgba(201, 168, 124, 0.55);
}

.quality-card:hover .quality-icon svg {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .quality-icon,
    .quality-icon svg {
        transition: none;
    }
}

.quality-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.quality-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Services Section */
.services {
    background: var(--warm-white);
    padding: 5rem 0 calc(var(--wave-height) + 3rem);
    position: relative;
}

.services-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.services-carousel {
    position: relative;
    overflow: hidden;
}

.services-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(232, 212, 196, 0.4);
}

.service-card:hover {
    box-shadow: var(--shadow);
}

.service-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.service-list li {
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blush-accent);
}

.service-target {
    color: var(--deep-warm);
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--warm-blush);
}

/* Navigation buttons */
.services-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--blush-accent);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.services-nav-btn:hover {
    background: var(--accent-rose);
    color: var(--white);
    border-color: var(--accent-rose);
}

.services-nav-btn.prev {
    left: 0;
}

.services-nav-btn.next {
    right: 0;
}

.services-scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blush-accent);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.scroll-dot.active {
    background: var(--accent-rose);
    transform: scale(1.2);
}

/* Desktop - 3 cards visible, carousel navigation */
@media (min-width: 1024px) {
    .services-track {
        transform: translateX(0);
    }

    .services-nav-btn {
        display: flex;
    }
}

/* Tablet - 2 cards visible, scrollable */
@media (min-width: 768px) and (max-width: 1023px) {
    .service-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: 400px;
    }

    .services-nav-btn {
        display: flex;
    }
}

/* Mobile - 1 card per view, swipeable */
@media (max-width: 767px) {
    .services-wrapper {
        padding: 0 1.5rem;
    }

    .service-card {
        flex: 0 0 calc(100vw - 4rem);
        min-width: calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
    }

    .services-nav-btn {
        display: none;
    }

    .services-scroll-indicator {
        padding-bottom: 1.5rem;
    }
}

/* Section Wave System
   Das SVG sitzt absolut am UNTEREN Rand der eigenen Sektion.
   Fill-Farbe = Hintergrundfarbe der NÄCHSTEN Sektion.
   Kein separater Divider-Container mehr — keine Kanten möglich.
*/
.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: var(--wave-height);
}

/* Process Section */
.process {
    background: var(--warm-blush);
    padding: 7rem 0 calc(var(--wave-height) + 4rem);
    position: relative;
}

.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 750px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    /* Feste Spalte für die Ziffer: alle drei Kästen fluchten dadurch exakt */
    grid-template-columns: 7.5rem 1fr;
    align-items: center;
    gap: 0;
    background: var(--white);
    padding: 2.5rem 3rem 2.5rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Große dekorative Zahl links — bewusstes Designelement */
.process-step::before {
    content: attr(data-step);
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 600;
    /* Zeilenhöhe 1 lässt die Ziffer im Kasten hängen – 0.8 rückt sie optisch mittig */
    line-height: 0.8;
    color: var(--accent-rose);
    opacity: 0.35;
    padding: 0;
    text-align: center;
    user-select: none;
    pointer-events: none;
    align-self: center;
}

.process-step:hover {
    transform: translateX(6px);
}

/* Stagger-Animation für process-steps beim Scrollen */
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.15s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }

.step-content {
    padding: 0;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.step-content p {
    margin-bottom: 0;
    max-width: 60ch;
}

/* Testimonials Section */
.testimonials {
    background: var(--warm-white);
    padding: 5rem 0 calc(var(--wave-height) + 3rem);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(232, 212, 196, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Anführungszeichen als eigenständiges Dekorelement */
.testimonial-content::before {
    content: '\201C';
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.5;
    color: var(--accent-rose);
    opacity: 0.5;
    margin-bottom: 0;
    text-align: center;
    user-select: none;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--warm-blush);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Media CTA Section - Light Background with Dark Text */
.media-cta {
    text-align: center;
    padding: 5rem 0 calc(var(--wave-height) + 3rem);
    position: relative;
    background: var(--warm-blush);
}

/* Placeholder for future background image - currently disabled */
.media-cta .media-background {
    display: none;
}

.media-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.media-cta::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.media-cta .container {
    position: relative;
    z-index: 2;
}

.media-cta .section-title {
    margin-bottom: 1rem;
}

.media-cta .title-accent {
    color: var(--text-dark);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

/* 30 Logos → 5 Spalten ergeben exakt 6 volle Reihen.
   Die Fallbacks (3 und 2 Spalten) teilen 30 ebenfalls ohne Rest. */
.media-logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.media-logo-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    box-shadow: 0 2px 12px rgba(74, 68, 64, 0.06);
    border: 1px solid rgba(232, 212, 196, 0.25);
    transition: all 0.35s ease;
}

.media-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-light);
    border-color: var(--blush-accent);
}

.media-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.35s ease;
}

.media-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.media-logos-note {
    max-width: 700px;
    margin: 3.75rem auto 0;
    text-align: center;
    font-size: 1rem;
    color: var(--text-medium);
}

.final-cta {
    margin-top: 2.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.media-cta .btn-primary {
    background: var(--text-dark);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.media-cta .btn-primary:hover {
    background: var(--deep-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    background: var(--soft-cream);
    padding: 8rem 0 calc(var(--wave-height) + 4rem);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-eyebrow {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.contact-method a {
    color: var(--deep-warm);
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    color: var(--text-dark);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--warm-blush);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-rose);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot: aus dem Sichtfeld geschoben statt display:none –
   so füllen ihn auch Bots aus, die versteckte Felder überspringen. */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    min-height: 1.4em;
}

.form-status.is-error {
    color: #A5453B;
}

.form-status.is-success {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--near-black);
    color: rgba(255, 251, 247, 0.8);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2.5rem;
}

.footer-brand h3 {
    font-family: var(--font-script);
    color: var(--blush-accent);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.footer-brand p {
    color: rgba(255, 251, 247, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 251, 247, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 251, 247, 0.1);
}

.footer-bottom p {
    color: rgba(255, 251, 247, 0.5);
    margin: 0;
    font-size: 0.85rem;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--warm-blush) 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay .nav-link {
    display: block;
    color: var(--text-dark);
    font-size: 2rem;
    font-family: var(--font-heading);
    text-decoration: none;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.nav-overlay.active .nav-link {
    opacity: 1;
    transform: translateY(0);
}

.nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 1240px) {
    .nav-menu {
        display: none;
    }
    .nav-toggle {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem 0;
        --wave-height: 60px;
    }

    .about   { padding: 5rem 0 var(--wave-height); }
    .process { padding: 4.5rem 0 var(--wave-height); }
    .contact { padding: 5rem 0 var(--wave-height); }
    .services, .testimonials, .qualities, .media-cta { padding: 4rem 0 var(--wave-height); }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-tagline {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img {
        max-width: 320px;
    }

    .qualities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 0 1.5rem;
        --wave-height: 50px;
    }

    .about, .contact { padding: 4rem 0 var(--wave-height); }
    .process { padding: 3.5rem 0 var(--wave-height); }
    .services, .testimonials, .qualities, .media-cta { padding: 3rem 0 var(--wave-height); }


    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qualities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        grid-template-columns: 4.5rem 1fr;
        padding: 1.75rem 1.5rem 1.75rem 0;
    }

    .process-step::before {
        font-size: 3.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .media-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .media-logo-card {
        padding: 0.75rem;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 0 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 4rem;
    }

    .nav-overlay .nav-link {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .media-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1.4rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* =====================================================
   SUBPAGE TEMPLATE (Impressum, Datenschutz)
   ===================================================== */

.subpage-hero {
    background: var(--warm-blush);
    padding: 10rem 0 calc(var(--wave-height) + 3rem);
    position: relative;
    text-align: center;
}

.subpage-hero .title-accent {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
}

.subpage-content {
    background: var(--warm-white);
    padding: 5rem 0 calc(var(--wave-height) + 4rem);
    position: relative;
}

.subpage-content .container {
    max-width: 860px;
}

.subpage-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--blush-accent);
}

.subpage-content h2:first-child {
    margin-top: 0;
}

.subpage-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.subpage-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.subpage-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.subpage-content ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.subpage-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.subpage-content a {
    color: var(--deep-warm);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.subpage-content a:hover {
    border-bottom-color: var(--deep-warm);
}

.subpage-content .legal-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(232, 212, 196, 0.25);
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 7rem 0 calc(var(--wave-height) + 2rem);
    }

    .subpage-content {
        padding: 3rem 0 calc(var(--wave-height) + 3rem);
    }

    .subpage-content .legal-block {
        padding: 1.5rem;
    }
}
