
@font-face {
  font-family: 'Inter';
  src: url('src/fonts/inter.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Cormorant Garamond';
  src: url('src/fonts/cormorant-garamond.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


:root {
    /* Farben aus design.md */
    --safedarkaccent: hsl(120, 10.45%, 13.14%);
    --white: hsl(0, 0%, 100%);
    --beige-bg: #f5f2ed; /* Das helle Beige für die Sevengardens Sektion */
    --black: #1a1a1a;
    --accent: hsl(120, 10.45%, 13.14%);
    --lightaccent: hsl(25.62, 62.24%, 28.04%);
    --darkaccent: hsl(224, 36.59%, 91.96%);
    
    /* Fonts */
    --heading-font: "Cormorant Garamond", serif;
    --body-font: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--body-font);
    background-color: var(--white);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

/* TYPOGRAFIE - Meiwen See Style */
h1 { font-family: var(--heading-font); font-size: 8.3rem; font-weight: 300; }
h2 {
    font-family: 'Cormorant Garamond', serif;
    
    font-weight: 300 !important; /* Erzwingt den dünnen Schnitt */
    font-size: clamp(2.8rem, 5.5vw, 4.8rem); /* Groß, damit die Feinheit wirkt */
    line-height: 1.15;
    letter-spacing: -0.04em; /* Ganz leicht zusammengezogen für High-End-Look */
    color: #1a1a1a; /* Ein weiches Schwarz, damit es nicht zu hart wirkt */
    
    /* Wichtig für die Darstellung feiner Linien auf Screens */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h3 { font-family: var(--heading-font); font-size: 2.3rem; font-weight: 300; }
p { font-family: 'Inter', sans-serif;
    
    font-weight: 200;
    font-size: 1.1rem;
    max-width: 1000px;
    
    padding-top: 20px;
    
    line-height: 30px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* ==========================================================================
   HEADER & NAVIGATION (FIXED)
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Der Header muss ganz oben liegen */
    z-index: 99999 !important; 
    transition: all 0.4s ease;
    background-color: rgba(0, 0, 0, 0.4); /* Nur für Startseite */
    color: var(--white);
}

/* Klickbarkeit sicherstellen */
header a, header nav, header .logo {
    position: relative;
    z-index: 100000;
    pointer-events: auto !important;
}

/* UNTERSEITEN-HEADER & SCROLL-ZUSTAND */
header.subpage-header, 
header.scrolled {
    background-color: #ffffff !important;
    padding: 15px 4vw !important;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Farben für Unterseiten-Links erzwingen */
header.subpage-header a, 
header.subpage-header nav a, 
header.subpage-header .logo a,
header.scrolled a, 
header.scrolled nav a, 
header.scrolled .logo a {
    color: #1a1a1a !important;
}

/* LOGO STYLING */
header .logo a {
    font-family: 'Inter', sans-serif;
    
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

/* HAUPTNAVIGATION & SOCIAL ICONS (Kombiniert für gleichen Look) */
header nav a, 
.social-icons a {
    font-family: 'Inter', sans-serif !important; 
    font-size: 10px !important;            /* Sehr klein für den edlen Look */
    font-weight: 500 !important;           /* Medium Gewicht */
    text-transform: uppercase !important;  /* Alles Großbuchstaben */
    letter-spacing: 0.25em !important;     /* Das weite Spacing von meiwensee.com */
    text-decoration: none !important;      /* Entfernt die Unterstreichung aus deinem Screenshot */
    color: inherit;
    margin-left: 2.5vw;                    /* Gleichmäßiger Abstand */
    transition: opacity 0.3s ease;
    display: inline-block;
}

/* Ersten Link in der Nav links bündig ausrichten (kein Margin) */
header nav a:first-child {
    margin-left: 0;
}

/* HOVER EFFEKT */
header nav a:hover, 
.social-icons a:hover,
header .logo a:hover {
    opacity: 0.4; /* Sanftes Ausblenden beim Drüberfahren */
    text-decoration: none !important;
}

/* AKTIVER LINK IN DER NAVIGATION */

header nav a.active {
    /* Wir nutzen die Variable aus deinem :root */
    color: #ffffff !important; 
    
    /* Wir stellen sicher, dass die Deckkraft voll da ist */
    opacity: 1 !important;
    
    /* Optional: Ein kleiner visueller Hinweis, dass der Link aktiv ist */
    font-weight: 600; 
}

/* Falls du den Effekt auch im Header-Scroll-Zustand oder auf Unterseiten beibehalten willst */
header.subpage-header nav a.active,
header.scrolled nav a.active {
    color: var(--lightaccent) !important;
}



/* Spezifische Korrektur für Email Icon/Link, falls es ein Icon ist */
.social-icons {
    display: flex;
    align-items: center;
}

/* BUTTONS - Square & Outline */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: 0.4s ease;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
}

/* SECTIONS */
section { padding: 150px 4vw; overflow: hidden; }

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f4f4f4; /* Später durch Image ersetzen */
}



/* SEVENGARDENS SECTION */
#sevengardens {
    background-color: var(--beige-bg);
    padding: 180px 4vw;
    text-align: center;
}

#sevengardens .slogan-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Der Text unter der Überschrift sollte ebenfalls sehr leicht sein */
#sevengardens p {
   
    opacity: 0.7; /* Macht den Text dezenter, damit die H2 strahlt */
    
}

/* WORKSHOP GRID - 3:4 Aspect Ratio */
.workshop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    margin: 30px 0 0 0;
}

.workshop-item {
    position: relative;
    cursor: pointer;
}

.image-container {
    aspect-ratio: 3 / 2;
    background-color: #eee;
    overflow: hidden;
    margin-bottom: 20px;
}

.image-container img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease;
}

.workshop-item:hover img { transform: scale(1.05); }

/* ATELIER SECTION */
.atelier-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8vw;
    margin: 30px 0 0 0;
}





.contact-cta {
    width: 100%;           /* Volle Breite */
    margin: 0;             /* Keine Außenabstände */
    padding: 180px 4vw;    /* Innenabstand für den Text */
    background-color: #f4f1ee; /* Dein Beige */
    text-align: center;
    display: flex;
    justify-content: center;
}

.cta-content {
    max-width: 800px;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: 40px;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.7;
}


/* Zentrierter Button unter dem Workshop-Grid */
.workshop-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 80px; /* Viel Platz nach oben zum Raster */
}

/* Falls der Button noch nicht global definiert ist: */
.btn-square-outline {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
    padding: 22px 50px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-square-outline:hover {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
}



/* KONTAKT SEKTION DESIGN */
.contact-section {
    padding:90px 4vw;
    background-color: #f4f1ee; /* Edles Steingrau/Beige */
    color: var(--black);
}

/* Überschrift über volle Breite */
.contact-header {
    padding: 120px 4vw 80px 4vw; /* Hier die 4vw wieder hinzufügen */
    width: 100%;
    margin-bottom: 100px; /* Viel Platz nach unten zum Raster */
}

.contact-main-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 6rem); /* Riesige, elegante Headline */
    line-height: 1;
    margin: 0;
}

/* Das Raster darunter */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Linke Spalte schmaler, rechte breiter */
    gap: 100px;
}

/* Linke Spalte Styling */
.info-block {
    margin-bottom: 45px;
}

.info-block .label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 15px;
    display: block;
}

.info-block p, .info-block a {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--black);
    text-decoration: none;
    line-height: 1.6;
}

.instagram-link {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding-bottom: 3px;
    transition: all 0.4s ease;
}

.instagram-link:hover {
    opacity: 0.5;
    border-color: transparent;
}

/* Rechte Spalte: Formular minimalistisch */
.input-group {
    margin-bottom: 50px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15); /* Sehr feine Linie */
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    padding: 15px 0;
    color: var(--black);
    outline: none;
    transition: border-color 0.4s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--black); /* Linie wird beim Tippen schwarz */
}

/* Button: Design System "Square & Outline" */
.btn-square-outline {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
    padding: 22px 50px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-square-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* Responsive für Mobile */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-header {
        margin-bottom: 60px;
    }
}






/* ==========================================================================
   CONTENT STRUKTUR (FIX FÜR ÜBERLAPPUNG)
   ========================================================================== */

/* Der Inhalts-Container muss HINTER dem Header liegen */



.page-content {
    padding-top: 0; /* Platz für den Header */
    padding-left: 0;    /* WICHTIG: Auf 0 setzen */
    padding-right: 0;   /* WICHTIG: Auf 0 setzen */
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    
}

.page-header {
    padding: 120px 4vw 80px 4vw; /* Hier die 4vw wieder hinzufügen */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}

.page-header-contact {
    padding: 120px 4vw 0 4vw; /* Hier die 4vw wieder hinzufügen */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f4f1ee; /* Edles Steingrau/Beige */
}

.page-header-atelier {
    padding: 120px 4vw 0 4vw; /* Hier die 4vw wieder hinzufügen */
    display: flex;
    flex-direction: column;
    align-items:flex-end ;
    
}

.page-header-contact p{
    line-height:30px;
}


.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300 !important; /* Erzwingt den dünnen Schnitt */
    font-size: 8rem;/* Groß, damit die Feinheit wirkt */
    line-height: 1.15;
    letter-spacing: -0.04em; /* Ganz leicht zusammengezogen für High-End-Look */
    color: #1a1a1a; /* Ein weiches Schwarz, damit es nicht zu hart wirkt */
    
    /* Wichtig für die Darstellung feiner Linien auf Screens */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-subtitle {
    font-family: var(--body-font);
    font-weight: 300;
    font-size: 1.2rem;
    max-width: 1000px;
    line-height: 1.1;
    opacity: 0.7;
    color: #1a1a1a;
    
}

/* ==========================================================================
   WORKSHOP GRID (2-SPALTIG, 3:4 FORMAT)
   ========================================================================== */

.portfolio-grid-basic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 4vw;
    padding: 0 4vw; /* Hier die 4vw wieder hinzufügen */
    margin-bottom: 150px;
}

.workshop-card {
    text-align: center; /* tweak-portfolio-grid-basic-text-alignment-center */
    display: flex;
    flex-direction: column;
}

.workshop-link {
    text-decoration: none;
    color: inherit;
}

/* Das 3:4 Hochformat (tweak-portfolio-grid-basic-image-aspect-ratio-34) */
.image-wrapper-34 {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 3; /* Verpflichtendes 3:4 Verhältnis */
    overflow: hidden;
    background-color: #f4f1ee;
    margin-bottom: 25px;
}

.image-wrapper-34 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Effekt */
.workshop-card:hover img {
    transform: scale(1.05);
}

.hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.workshop-card:hover .hover-overlay {
    opacity: 1;
}

.hover-overlay span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: white;
    padding: 12px 20px;
    color: var(--black);
}

/* Texte unter dem Bild */
.workshop-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.workshop-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    
    opacity: 0.5;
    color: #1a1a1a;
}

/* Responsive für Mobile (Handy = 1 Spalte) */
@media (max-width: 768px) {
    .portfolio-grid-basic {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .page-title {
        font-size: 4rem;
    }
}





/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Das umschließende Footer-Element (Wichtig für den Seitenabstand) */
footer {
    padding: 100px 4vw; /* 4vw sorgt dafür, dass es links mit dem Header & den Sections fluchtet */
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Footer Grid Anpassung auf 3 Spalten */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 60px;
}

/* Copyright Text Styling */
.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 30px; /* Abstand nach oben zur Adresse */
    margin-bottom: 20px; /* Abstand nach unten zu den Icons */
    opacity: 0.5;
}

/* Die Icons Reihe unter dem Copyright */
.footer-icons-row {
    display: flex;
    gap: 25px; /* Abstand zwischen den Icons */
    align-items: center;
}

.footer-icons-row a {
    color: var(--black);
    font-size: 1.2rem; /* Dezent und edel */
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.footer-icons-row a:hover {
    opacity: 0.3;
}

/* Die großen Cormorant Links (Nav & Legal) */
.footer-nav-list, .footer-legal-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list a, .footer-legal-list a {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--black);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover, .footer-legal-list a:hover {
    opacity: 0.4;
}

/* Responsive für Mobile */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-icons-row {
        justify-content: center;
    }
}

/* Bild-Container Logik */
.image-container {
    background-color: var(--darkaccent); /* Falls Bild lädt, sieht man diese Farbe */
    overflow: hidden;
    position: relative;
}

/* 3:4 Seitenverhältnis für Workshops laut Design System */
.workshop-item .image-container {
    aspect-ratio: 3 / 2;
}

/* 4:3 oder variabel für Atelier-Bilder */
.atelier-intro .image-container {
    aspect-ratio: 4 / 3;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wichtig: Bild füllt den Container ohne Verzerrung */
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);

}

.workshop-item:hover img, 
.atelier-intro:hover img {
    transform: scale(1.08); /* Sanfter Zoom-Effekt beim Hover */
}

/* Workshop Metadaten (Abstand unter den Bildern) */
.workshop-meta {
    margin-top: 25px;
}

.workshop-meta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.workshop-meta p {
    font-size: 1rem;
    color: var(--black);
    opacity: 0.8;
}

/* Anpassung der Hero-Section für Vollbild-Bilder */
.hero {
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}




/* SEVENGARDENS PAGE SPECIFIC */

.page-header-sevengardens {
    padding: 120px 4vw 0 4vw; /* Hier die 4vw wieder hinzufügen */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f4f1ee; /* Edles Steingrau/Beige */
}

/* Logo Hero */
.logo-hero {
    padding: 120px 4vw 40px 4vw;
    display: flex;
    justify-content: center;
}

.sevengardens-logo-wrapper {
    max-width: 1000px; /* Logo nicht zu riesig, damit es edel bleibt */
    width: 100%;
    text-align: center;
}

.main-logo {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply; /* Hilft, falls das Logo einen weißen Hintergrund hat */
}

/* Text-Layout */
.page-subtitle-wide {
    max-width: 1000px;
    font-family: var(--body-font);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 30px;
    color: var(--black);

}



.content-text-section {
    padding: 40px 4vw 75px 4vw;
    display: flex;
    justify-content: center;
}

.text-columns {
    max-width: 1000px;
    font-family: var(--body-font);
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Bilder-Layouts */
.page-image-section {
    padding: 0 4vw 70px 4vw;
}

.image-container-wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.image-container-wide img, .image-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    padding: 0 4vw 100px 4vw;
}

.image-half {
    aspect-ratio: 3 / 2; /* Passend zum Workshop-Look */
    overflow: hidden;
}





/* --- MITTLERE SLOGAN SEKTION --- */
.mid-slogan-section {
    background-color: var(--beige-bg); /* Volle Breite beige */
    padding: 180px 4vw;               /* Viel Platz für den Editorial-Look */
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slogan-wrap {
    max-width: 1100px;
}

.editorial-slogan {
    font-family: var(--heading-font); /* Deine Cormorant Garamond */
    font-weight: 300;
    /* Große, aber feine Schriftgröße */
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--black);
    margin: 0 auto;
}

/* Optional: Ein kleiner Strich darunter als grafisches Element */
.editorial-slogan::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--black);
    margin: 40px auto 0 auto;
    opacity: 0.3;
}


/* SEVENGARDENS SECTION */
#slogan {
    background-color: var(--beige-bg);
    padding: 120px 4vw;
    text-align: center;
}

#slogan .slogan-content {
    max-width: 1000px;
    margin: 0 auto;
}







/* --- ATELIER PAGE STYLING --- */

.atelier-page {
    background-color: var(--white); /* Weißer Hintergrund für Klarheit */
}

/* Asymmetrisches Grid */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    padding: 100px 4vw;
    align-items: center;
}

.grid-split.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.atelier-text {
    max-width: 500px;
}

.atelier-text .lead-text {
    font-size: 1.6rem;
    font-family: var(--heading-font);
    line-height: 1.4;
    margin-bottom: 30px;
}

.atelier-text p {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Vollbild Bild-Sektion */
.alchemy-kitchen-section {
    padding: 100px 0;
}

.full-image-container {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    
}

.full-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
}

.image-caption {
    position: absolute;
    bottom: 30px;
    right: 4vw;
    color: var(--white);
    font-family: var(--body-font);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(0,0,0,0.2);
    padding: 10px 20px;
}

/* Abschluss-Sektion */
.atelier-closing {
    padding: 0 4vw 160px 4vw;
    text-align: center;
    
}

.closing-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    line-height: 1.6;
}

/* CTA Button Group */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-split, .grid-split.reverse {
        grid-template-columns: 1fr;
        padding: 60px 4vw;
    }
    .atelier-text {
        order: 2;
    }
    .atelier-image {
        order: 1;
        margin-bottom: 40px;
    }
}

/* --- LEGAL PAGES STYLING --- */

.legal-page {
    background-color: var(--white);
}

.legal-content {
    padding: 0 4vw 150px 4vw;
    display: flex;
    justify-content: center;
}

.legal-grid {
    max-width: 800px; /* Schmaler Text für bessere Lesbarkeit */
    width: 100%;
}

.legal-section {
    margin-bottom: 60px;
}

.legal-section h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--black);
}

.legal-section p {
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    opacity: 0.8;
    max-width: 100%; /* Hier die volle Breite des Grids nutzen */
}

/* Links im Impressum dezent unterstreichen */
.legal-section a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
}

.legal-section a:hover {
    border-color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-section h2 {
        font-size: 1.5rem;
    }
}




/* Ergänzung für die Rechtstexte */
.legal-section h3 {
    font-family: var(--body-font);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 30px 0 10px 0;
    color: var(--black);
}

.legal-section p + p {
    margin-top: 15px; /* Abstand zwischen Textabsätzen */
}




/* Standardmäßig sind die Toggle-Buttons versteckt */
.menu-toggle, .menu-close {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* --- Optimierte Typografie --- */
h1.page-title {
    font-size: clamp(3rem, 10vw, 8rem); /* Skaliert zwischen 3rem (Handy) und 8rem (Desktop) */
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

/* --- Mobile Header & Nav --- */
@media (max-width: 768px) {
    header {
        padding: 20px 5vw;
        flex-wrap: wrap; /* Erlaubt das Umbrechen auf kleinen Geräten */
        justify-content: center;
        gap: 15px;
    }

    header nav {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow-x: auto; /* Nav wird scrollbar, falls zu breit */
        white-space: nowrap;
        padding-bottom: 5px;
    }

    header nav a {
        margin: 0 10px;
        font-size: 9px !important;
    }

    .social-icons {
        display: none; /* Auf dem Handy oft zu voll im Header */
    }

    h1{font-size: 3.3rem;}

    .menu-toggle {
        display: block; /* Hamburger zeigen */
        z-index: 1001;
    }

    nav#main-nav {
        display: none; /* Komplett weg, wenn nicht aktiv */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 999999; /* Über allem anderen */
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Wenn das Menü offen ist */
   nav#main-nav.nav-open {
        display: flex !important;
    }

    /* --- 2. Sichtbarkeits-Check --- */
    /* Falls der Intersection Observer auf Mobile hakt, 
       erzwingen wir Sichtbarkeit für die Sektionen */
    .fade-in {
        opacity: 1 !important; 
        transform: none !important;
        transition: none !important;
    }


    /* Sicherstellen, dass der Inhalt unter dem festen Header beginnt */
    .page-content {
        position: relative;
        z-index: 10;
        display: block !important;
        visibility: visible !important;
        padding-top: 100px !important;
    }
    
    nav a {
        margin: 15px 0 !important; /* Viel Platz zwischen den Links */
        font-size: 18px !important; /* Größer für Finger-Bedienung */
        letter-spacing: 0.3em !important;
        color: #1a1a1a !important;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 40px;
        right: 4vw;
        color: #1a1a1a;
    }

    /* Social Icons im Header auf Mobile verstecken */
    .social-icons {
        display: none;
    }
}


/* --- Layout Anpassungen für iPhone/iPad --- */
@media (max-width: 1024px) {
    .grid-split, .atelier-intro, .contact-grid {
        grid-template-columns: 1fr !important; /* Alles untereinander */
        gap: 40px;
    }

    .portfolio-grid-basic {
        grid-template-columns: 1fr; /* Workshop-Karten untereinander auf dem Handy */
    }

    section {
        padding: 80px 5vw; /* Weniger Abstand auf mobilen Geräten */
    }

    .page-header, .page-header-contact, .page-header-atelier {
        padding: 100px 5vw 40px 5vw;
        align-items: flex-start !important; /* Text linksbündig für bessere Lesbarkeit */
        text-align: left;
    }

    /* Sicherstellen, dass der Inhalt unter dem Header beginnt */
    .page-content {
        padding-top: 80px !important; 
    }

    .page-header-atelier, 
    .page-header-contact, 
    .page-header {
        padding: 60px 5vw 20px 5vw !important; /* Etwas weniger Padding, da .page-content schon schiebt */
        align-items: flex-start !important;
        text-align: left;
    }

    .page-title {
        font-size: 3.5rem !important; /* Titel auf Mobile etwas kleiner, damit er nicht den Rahmen sprengt */
        line-height: 1.1;
    }
}

/* --- Honeypot verstecken --- */
.hp-field {
    display: none !important;
    visibility: hidden;
}

/* --- PARTNER LOGO GRID --- */

.partner-logos-section {
    padding: 60px 4vw 100px 4vw;
    
    width: 100%;
    display: flex;
    justify-content: center;
}

.partner-grid-fixed {
    display: grid;
    /* Erzwingt genau 4 Spalten nebeneinander */
    grid-template-columns: repeat(4, 1fr); 
    gap: 5vw;
    max-width: 1400px;
    width: 100%;
    align-items: center; /* Vertikal zentrieren */
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    width: 100%;
    max-width: 250px; /* Maximale Breite pro Logo */
    height: auto;
    max-height: 100px; /* Einheitliche maximale Höhe */
    object-fit: contain;
    
    /* Editorial Look: Dezent im Hintergrund */
    filter: grayscale(100%);
    opacity: 0.4;
    
    /* Trick: Entfernt weiße Hintergründe von Logos auf Beige */
    mix-blend-mode: multiply; 
    
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Sanfter Hover-Effekt */
.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .partner-grid-fixed {
        /* Auf Handys 2x2 statt 4 nebeneinander, damit sie nicht zu winzig werden */
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

/* --- GALERIE SEITE --- */

.gallery-page {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exakt zwei Spalten */
    gap: 4vw;                       /* Gleicher Abstand wie in den anderen Grids */
    padding: 0 4vw 150px 4vw;
}

.gallery-item {
    width: 100%;
}

.gallery-image-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;            /* Hochwertiges Hochformat */
    overflow: hidden;
    background-color: var(--beige-bg);
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

/* Hover Effekt: Sanfter Zoom */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* Spezialfall: Das 13. Bild (wenn ungerade) */
/* Es wird in der 2-spaltigen Ansicht automatisch links platziert. 
   Wenn du möchtest, dass es über beide Spalten geht, nutze dies: */
/*.gallery-item:last-child:nth-child(odd) {*/
    /* Optional: grid-column: span 2; */
    /* Oder wir lassen es links, was sehr "Editorial" und asymmetrisch wirkt. */
/*}*/

/* Mobile Optimierung */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Auf dem Handy alles untereinander */
        gap: 40px;
    }
}


/* --- GALERIE RASTER FIX --- */

.gallery-grid {
    display: grid !important;
    /* Erzwingt zwei gleich große Spalten */
    grid-template-columns: 1fr 1fr !important; 
    gap: 4vw;
    padding: 40px 4vw 150px 4vw;
    width: 100%;
    /* Verhindert, dass die Seite nach rechts ausbricht */
    box-sizing: border-box; 
}

.gallery-item {
    width: 100%;
    display: block;
}

.gallery-image-wrap {
    width: 100%;
    /* Festes Seitenverhältnis 3:4 (Hochformat) */
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    background-color: #f4f1ee;
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

/* Hover-Effekt */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* MOBIL-ANSICHT (Nur hier soll es einspaltig sein) */
@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}