/* CI-Farben & Variablen */
:root {
    --lube-rot: rgba(168, 24, 21, 1);
    --lube-blau: rgba(20, 56, 126, 1);
    --lube-weiss: rgba(255, 255, 255, 1);
    --lube-grau: rgb(88, 88, 88);
    --lube-dunkelgrau: rgb(22, 23, 24);
    --lube-ci-gruen: rgba(116, 181, 13, 1);
    --lube-ci-blau: rgba(75, 154, 196, 1);
    --lube-ci-grau: rgba(120, 120, 120, 1);
    --lube-ci-orange: rgba(222, 139, 50, 1);

    --blue-hero-text: #1F2D3D;
    --footer-blue: #004179;
    --bg-blugray: #eef2f6;
    --panel-bg: #fff;
    --panel-shadow: 0 10px 25px rgba(0,0,0,.06);
    --radius: 16px;
    --maxw: 1200px;

    /* Typo-Variablen */
    --font-headline: "Playfair Display", "Montserrat", ui-serif, Georgia, serif;
    --font-body: "Source Sans 3", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-quote: "Cormorant Garamond", "Lora", ui-serif, Georgia, serif;
}

/* Reset-ish */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    line-height: 1.55;
    color: var(--lube-dunkelgrau);
    background: var(--bg-blugray);
}
h1, h2, h3, h4 { font-family: var(--font-headline); line-height: 1.2; }
.intro-quote__text { font-family: var(--font-quote); }

/* Header-Bar minimal */
.site-header__bar--simple {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem; border-bottom: 1px solid rgba(0,0,0,.06); background: var(--lube-weiss);
}
.brand { font-weight: 700; color: var(--blue-hero-text); text-decoration: none; }
.nav a { color: var(--lube-blau); text-decoration: none; margin-inline: .5rem; }
.nav a:hover { text-decoration: underline; }
.lang a { padding: .2rem .4rem; border-radius: 6px; }
.lang a.active { background: var(--lube-ci-blau); color: #fff; }

/* Hero (Headerbild) */
.hero { background: #fff; }
.hero__art {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.hero__art svg { display: block; width: 100%; height: auto; }

/* Start-Ansicht: zentrierter Spruch */
.intro-quote {
    min-height: clamp(60vh, 60vh, 80vh);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 4rem 1rem 2rem;
    position: relative;
}
.intro-quote__text {
    font-size: clamp(1.75rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: var(--lube-grau);
    max-width: 28ch;
}
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    inset-inline: 0;
    text-align: center;
    color: var(--lube-ci-grau);
    font-size: .95rem;
}
/* Hero (Headerbild als PNG) */
.hero {
    background: #fff;
    text-align: center;
}
.hero__art {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}
.hero__img {
    max-width: 320px;   /* gewünschte max. Größe am Desktop */
    width: 70%;         /* responsiv kleiner auf mobilen Geräten */
    height: auto;
    aspect-ratio: 1/1;  /* sichert Quadrat-Ratio */
    object-fit: contain;
}


/* Panels (Info + Formular) */
.section { padding: 2rem 1rem; }
.section--panel {
    background: var(--panel-bg);
    border-radius: var(--radius);
    box-shadow: var(--panel-shadow);
    width: min(96%, var(--maxw));
    margin: 2rem auto;
}

.container { width: min(92%, var(--maxw)); margin: 0 auto; }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }

.person__photo {
    width: 100%;
    aspect-ratio: 1 / 1;   /* hält das Bild quadratisch */
    border-radius: 12px;
    overflow: hidden;
    background: #e9eef4;   /* fallback bg */
    display: flex;
    justify-content: center;
    align-items: center;
}

.person__img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* füllt das Quadrat */
}

.person__text h2 { margin-top: 0; }

.subsection {margin-bottom: 3.5rem;}
.subsection h3 { margin-bottom: .25rem; }
.subsection ul { padding-left: 1.2rem; }

/* Fieldsets & Grids für die neuen Felder */
.fs { border: 1px solid #dbe3ee; border-radius: 12px; padding: 1rem; margin: 1rem 0 1.5rem; background: #fbfdff; }
.fs legend { padding: 0 .5rem; font-weight: 700; }

.grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 992px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px){ .grid--2, .grid--3 { grid-template-columns: 1fr; } }

/* Formular */
form label span { display: inline-block; font-weight: 600; margin-bottom: .3rem; font-family: var(--font-body); }
form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%; padding: .75rem .9rem; border: 1px solid #c9d3df; border-radius: 10px; background: #f9fbfd;
    font: inherit;
}
form textarea { resize: vertical; }
.charcount { font-size: .85rem; color: var(--lube-ci-grau); margin-top: .25rem; text-align: right; }
.form-row { margin-bottom: 1rem; }
.form-row--checks { display: grid; gap: .5rem; }
.check { display: flex; align-items: center; gap: .6rem; }
.check input { transform: translateY(1px); }
.check.required span em { font-style: normal; color: var(--lube-rot); margin-left: .25rem; }

.btn {
    background: var(--lube-blau);
    color: #fff; border: none;
    padding: .9rem 1.2rem; border-radius: 12px; cursor: pointer; font-weight: 700;
}
.btn:hover { filter: brightness(1.05); }
.error { color: var(--lube-rot); font-size: .85rem; height: 1em; display: block; }
input.is-invalid, textarea.is-invalid { border-color: var(--lube-rot); background: #fff5f5; }

/* Alerts */
.alert { padding: .9rem 1rem; border-radius: 10px; margin: 1rem 0; }
.alert--success { background: #e8f7e8; color: #1a7a1a; border: 1px solid #bfe6bf; }
.alert--error { background: #fff1f1; color: #9c1f1f; border: 1px solid #f0bcbc; }

/* Footer (Anforderung 3) */
.site-footer {
    background: var(--footer-blue);
    color: #fff;
    margin-top: 4rem;
}
.site-footer__inner {
    width: min(92%, var(--maxw));
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer a { color: #fff; text-decoration: none; margin-right: 1rem; }
.site-footer a:hover { text-decoration: underline; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal--visible { opacity: 1; transform: none; }

/* Responsive Breakpoints */
/* Handy (Portrait) – default */

/* Handy quer */
@media (min-width: 576px) {
    .section { padding: 2.5rem 1.25rem; }
}

/* Tablet (Portrait) */
@media (min-width: 768px) {
    .grid--2 { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Tablet quer */
@media (min-width: 992px) {
    .intro-quote { min-height: 70vh; }
}

/* Desktop klein */
@media (min-width: 1200px) {
    .section { padding: 3rem 2rem; }
}

/* Desktop mittel */
@media (min-width: 1440px) {
    :root { --maxw: 1280px; }
}

/* Desktop groß */
@media (min-width: 1680px) {
    :root { --maxw: 1400px; }
}

/* Desktop übergroß */
@media (min-width: 1920px) {
    :root { --maxw: 1600px; }
}
