/* =========================================
   CSS-Variablen & Basis-Setup
   ========================================= */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cinzel-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Proza Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/proza-libre-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Proza Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/proza-libre-latin-500-normal.woff2') format('woff2');
}



:root {
    /* Farbpalette */
    --bg-base: #FAFAF7; /* Cremiges Off-White */
    --text-main: #2C2C2C; /* Anthrazit */
    --accent-bg: #EAE3D9; /* Warmes Beige/Champagner */
    --accent-gold: #C5A059; /* Gedämpftes Gold/Bronze */
    --footer-bg: #2B3A4A; /* Marineblau/Schiefergrau */
    
    /* Typografie */
    --font-headline: 'Cormorant Garamond', serif;
    --font-body: 'Proza Libre', sans-serif;
    --font-label: 'Sackers Light Roman', 'Cinzel', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Typografie
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.eyebrow {
    display: block;
    font-family: var(--font-label);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* =========================================
   Layout & Utilities
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.bg-accent {
    background-color: var(--accent-bg);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-label);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

/* =========================================
   Header & Navigation
   ========================================= */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.logo img {
    height: 26px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-label);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* =========================================
   Hero Sektion
   ========================================= */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    /* Boulle-Kommodentür als Hintergrund */
    background: url('images/boulle-kommodentuer.jpg') center/cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dunkles Overlay für Lesbarkeit */
    background: rgba(44, 44, 44, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content .subline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-body);
    font-weight: 400;
}

/* =========================================
   Expertise
   ========================================= */
.expertise-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--accent-gold);
}

/* =========================================
   Leistungen / Vereidigung
   ========================================= */
.section-header {
    margin-bottom: 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--bg-base);
    padding: 3rem 2rem;
    border-top: 3px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-icon {
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.siegel-container {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(197, 160, 89, 0.3);
}

.siegel-img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* =========================================
   Kontaktbereich
   ========================================= */
.contact-section {
    position: relative;
    /* Toile-de-Jouy als sehr dezente Textur */
    background: 
        linear-gradient(rgba(250, 250, 247, 0.95), rgba(250, 250, 247, 0.95)),
        url('images/toile-de-jouy.jpg') center/cover;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-gold);
}

.contact-info a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--accent-gold);
}

/* Formular Styles */
.contact-form-container {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-label);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    background-color: var(--bg-base);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.checkbox-group a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h4 {
    color: var(--accent-gold);
    font-family: var(--font-label);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 1.8rem !important;
    text-transform: none;
    color: #fff !important;
    letter-spacing: 0 !important;
}

footer p, footer a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul {
    list-style: none;
}

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

.seal-col img {
    max-width: 250px;
    filter: brightness(0) invert(1); /* Macht das Siegel im Footer weiß */
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .expertise-image {
        order: -1; /* Bild auf Mobile über dem Text */
    }
    
    
}

@media (max-width: 600px) {
    .hero-section {
        height: auto;
        padding: 8rem 0 6rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}
/* Begrenzt die maximale Breite des Siegels, damit es nicht zu groß wird */
.footer-siegel {
    max-width: 350px; /* Passe diesen Wert an, z.B. 100px oder 200px */
    height: auto;     /* Behält das Seitenverhältnis bei */
    display: block;   /* Verhindert kleine Abstände nach unten */
}

/* =========================================================
   ueber-mich.css
   Ergänzt style.css ausschließlich um Komponenten, die auf
   der Startseite nicht vorkommen (Vita-Timeline, Sprachen-/
   Interessen-Spalten, Mitgliederliste). Nutzt dieselben
   CSS-Variablen aus style.css (--accent-gold, --text-main, …).
   Diese Datei wird NACH style.css eingebunden.
   ========================================================= */

/* --- Lesbare Fließtext-Breite für die Vita-Erzählung -------- */
.narrative-content {
    max-width: 68ch;
}

.narrative-content h3 {
    margin-top: 3rem;
    font-size: 1.4rem;
    color: var(--text-main);
}

.narrative-content h3:first-child {
    margin-top: 0;
}

.narrative-content p {
    color: var(--text-main);
}

/* --- Geburtsdatum-Zeile unter dem Vita-Namen ----------------- */
.vita-meta {
    font-family: var(--font-label);
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--text-main);
    opacity: 0.75;
    margin-bottom: 0;
}

/* --- Vita-Gruppen (Ausbildung, Berufserfahrung, …) ----------- */
.vita-group {
    margin-bottom: 3.5rem;
}

.vita-group:last-child {
    margin-bottom: 0;
}

.vita-group > h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

/* --- Timeline (Ausbildung / Berufserfahrung) ----------------- */
.vita-timeline {
    position: relative;
    border-left: 1px solid rgba(197, 160, 89, 0.4);
    padding-left: 2rem;
}

.vita-entry {
    position: relative;
    padding-bottom: 2rem;
}

.vita-entry:last-child {
    padding-bottom: 0;
}

.vita-entry::before {
    content: "";
    position: absolute;
    left: -2.4rem;
    top: 0.4rem;
    width: 9px;
    height: 9px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.vita-date {
    display: block;
    font-family: var(--font-label);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 0.4rem;
}

.vita-entry h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.vita-entry .vita-org {
    font-size: 0.98rem;
    color: var(--text-main);
    opacity: 0.85;
    margin-bottom: 0.3rem;
}

.vita-entry .vita-role {
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.7;
    margin-bottom: 0;
}

/* --- Sprachen & Interessen: zweispaltig ----------------------- */
.vita-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vita-columns ul {
    list-style: none;
    padding: 0;
}

.vita-columns li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.vita-columns li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    background: var(--accent-gold);
}

/* --- Mitgliedschaften: einspaltige, ruhige Liste --------------- */
.vita-list {
    list-style: none;
    padding: 0;
    max-width: 60ch;
}

.vita-list li {
    position: relative;
    padding-left: 1.1rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    font-size: 1rem;
}

.vita-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.vita-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    background: var(--accent-gold);
}

/* --- Portrait-Bildunterschrift (optional) ---------------------- */
.profile-caption {
    font-family: var(--font-label);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-main);
    opacity: 0.6;
    margin-top: 0.8rem;
    margin-bottom: 0;
}

/* --- Intro-Siegel (kleiner, neben dem Einstiegstext) ----------- */
.intro-siegel {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

/* --- Responsive ------------------------------------------------- */
@media (max-width: 700px) {
    .vita-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vita-timeline {
        padding-left: 1.5rem;
    }

    .vita-entry::before {
        left: -1.9rem;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span { top: 11px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 900px) {
    /* Header: Burger links, Logo zentriert, rechts ein Platzhalter */
    .header-container {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        column-gap: 0.5rem;
        height: 70px;
        width: 94%;
    }

    .nav-toggle {
        display: block;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        flex-shrink: 0;
    }

    .logo {
        grid-column: 2;
        grid-row: 1;
        text-align: center;
        min-width: 0;
    }

    .logo a {
        display: block;
    }

    .logo img {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin: 0 auto;
    }

    /* Aufklappmenü */
    .nav-links {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-base);
        border-bottom: 1px solid rgba(197, 160, 89, 0.35);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.35s ease, visibility 0.35s;
    }

    .nav-links.is-open {
        max-height: 420px;
        visibility: visible;
    }

    .nav-links li {
        border-top: 1px solid rgba(197, 160, 89, 0.2);
    }

    .nav-links li:first-child {
        border-top: none;
    }

    .nav-links a {
        display: block;
        padding: 1.1rem 1.5rem;
        text-align: center;
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .nav-links a.active,
    .nav-links a[aria-current="page"] {
        color: var(--accent-gold);
    }
}

/* =========================================================
   Leistungen-Seite: proportionale Zeilen statt starrer Cards
   ========================================================= */

/* --- "Meine Leistungen": Titel links, Fließtext rechts ------ */
.quality-list {
    margin-top: 3rem;
}

.quality-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2.75rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.quality-row:first-child {
    padding-top: 0;
}

.quality-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quality-row-head {
    width: 260px;
    flex-shrink: 0;
}

.quality-row-head .card-icon {
    margin-bottom: 1.2rem;
}

.quality-row-head h3 {
    margin-bottom: 0;
}

.quality-row-body {
    flex: 1;
    min-width: 0;
}

.quality-row-body p {
    max-width: 62ch;
}

.quality-row-body p:last-child {
    margin-bottom: 0;
}

/* --- "Leistungen": Titel links, Stichpunkte rechts ----------- */
.service-list {
    margin-top: 3rem;
}

.service-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.service-row:first-child {
    padding-top: 0;
}

.service-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-row-head {
    width: 260px;
    flex-shrink: 0;
}

.service-row-head h3 {
    margin-bottom: 0;
}

.service-row .vita-list {
    flex: 1;
    min-width: 0;
    max-width: 62ch;
}

@media (max-width: 800px) {
    .quality-row,
    .service-row {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
    }

    .quality-row-head,
    .service-row-head {
        width: 100%;
    }
}

/* --- "Bewertungsumfang": zentrierte Listen ------------------- */
.bewertung-lists {
    max-width: 640px;
    margin: 0 auto;
}

/* --- Galerie: feste Bildproportion, Bildunterschrift --------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
}

.gallery-item figcaption {
    font-family: var(--font-label);
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--text-main);
    opacity: 0.7;
    margin-top: 0.7rem;
    text-align: center;
}

@media (max-width: 800px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

.link-more {
    color: #d4af37; /* Warmes Goldgelb (ggf. an deine Farbpalette anpassen) */
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.link-more:hover {
    opacity: 0.8;
}
