/* ==========================================================
   Kiefer Grafik — Grundlagen
   Reset, Schrift, Kopf, Fuss, Knoepfe, Keksleiste
   ========================================================== */

:root {
    --ton-primaer: #cc8100;
    --ton-primaer-dunkel: #a86a00;
    --ton-rand: #c8c3bd;
    --ton-rand-kopf: #6a6864;
    --ton-text: #1e1e1e;
    --ton-text-grau: #4f4f4f;
    --ton-text-still: #776e67;
    --ton-unterzeile: #587086;
    --ton-feld: #eaeaea;
    --ton-flaeche: rgba(204, 198, 191, 0.18);
    --knopf-radius: 8px;
    --uebergang: .5s ease-in-out;
    --abstand-x: 30px;
    --abstand-x-mittel: 25px;
    --abstand-x-min: 15px;
}

@property --hoehe-kopf {
    syntax: "<length>";
    inherits: false;
    initial-value: 100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

html, body {
    margin: 0;
    padding: 0;
    color: #1e1e1e;
    overflow-x: hidden;
}

body {
    background: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    min-height: 100vh;
    position: relative;
}

a { color: inherit; cursor: pointer; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
b, strong { font-weight: 500; }

/* Titelstile — wie in der Vorlage nach Groesse benannt, nicht nach Ebene */
.stil-titel-gross {
    font-size: 80px;
    font-weight: 300;
    line-height: normal;
}
.stil-titel-mittel {
    font-size: 48px;
    font-weight: 300;
    line-height: normal;
}
.stil-titel-klein {
    font-size: 32px;
    font-weight: 300;
    line-height: normal;
}
h3 { font-size: 24px; font-weight: 300; line-height: normal; }

.vortitel {
    color: var(--ton-unterzeile);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .18em;
    line-height: 1.6;
    text-transform: uppercase;
}
.vortitel.mitte { text-align: center; }

.d-flex { display: flex; }

/* === KOPF === */
.site-kopf {
    align-items: center;
    background-color: #fff;
    display: flex;
    height: var(--hoehe-kopf);
    padding: 0 67px 0 0;
    position: fixed;
    top: 0;
    width: 100svw;
    z-index: 1120;
    transition: background-color .35s ease;
}
.site-kopf .fade-reihe {
    background-color: var(--ton-primaer);
    height: 1.875px;
    left: 50%;
    max-width: 500px;
    opacity: .9;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    width: 100%;
}
.site-kopf .logo-wrapper {
    padding-left: 67px;
    position: relative;
    z-index: 2;
}
/* mittig erst, wenn das Menue daneben wirklich passt */
@media screen and (min-width: 1601px) {
    .site-kopf .logo-wrapper {
        left: 50%;
        padding-left: 0;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}
.site-kopf .logo-wrapper a {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .26em;
    white-space: nowrap;
}
.site-kopf .logo-wrapper span { color: var(--ton-primaer); }

.site-kopf-rechts {
    align-items: center;
    display: flex;
    margin-left: auto;
    gap: 24px;
}
.site-kopf .nav-wrapper .inner { display: flex; }
.site-kopf .nav-liste li { padding-right: 46px; }
.site-kopf .nav-liste li:last-child { padding-right: 0; }
.site-kopf .nav-liste a {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    position: relative;
}
.site-kopf .nav-liste a:after {
    background-color: var(--ton-primaer);
    bottom: -6px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    width: 100%;
}
.site-kopf .nav-liste a:hover:after { transform: scaleX(1); }
.site-kopf .nav-liste a.hier { color: var(--ton-primaer); }

.site-kopf.licht-kopf { background: linear-gradient(180deg, #000 -8.62%, transparent); background-color: transparent; }
.site-kopf.licht-kopf .logo-wrapper a,
.site-kopf.licht-kopf .nav-liste a { color: #fff; }
.site-kopf.licht-kopf .menue-icon,
.site-kopf.licht-kopf .menue-icon:after { background-color: #fff; }
.site-kopf.aktiv { background-color: #fff; border-bottom: 1px solid #c8c3bd; }

.wrp-hamburger { display: none; }
.hamburger-btn {
    background: none;
    border: 0;
    cursor: pointer;
    height: 22px;
    padding: 0;
    width: 26px;
    position: relative;
}
.menue-icon,
.menue-icon:before,
.menue-icon:after {
    background-color: #1e1e1e;
    border-radius: 10px;
    display: block;
    height: 2px;
    transition: transform .5s ease, top .5s;
    width: 100%;
}
.menue-icon:before,
.menue-icon:after { content: ""; left: 0; position: absolute; }
.menue-icon:before { background-color: var(--ton-primaer); top: 7px; }
.menue-icon:after { bottom: 7px; }
.hamburger-btn.offen .menue-icon { background-color: transparent; }

.mobil-menue {
    background: #fff;
    border-top: 1px solid #c8c3bd;
    display: none;
    left: 0;
    padding: 8px 25px 22px;
    position: absolute;
    top: var(--hoehe-kopf);
    width: 100%;
}
.mobil-menue.offen { display: block; }
.mobil-menue a {
    border-bottom: 1px solid #ece8e4;
    display: block;
    font-size: 15px;
    padding: 13px 0;
}
.mobil-menue a:last-child { border-bottom: 0; color: var(--ton-primaer); }

/* === KNOEPFE === */
.comp-button {
    align-items: center;
    border: none !important;
    border-radius: var(--knopf-radius) !important;
    display: inline-flex;
    font-size: 14px !important;
    justify-content: center;
    letter-spacing: .04em;
    line-height: 1.4;
    min-height: 50px;
    min-width: 270px;
    padding: 8px 26px;
    text-align: center;
    transition: var(--uebergang) !important;
}
.comp-button.dynamische-breite { min-width: 0; width: 100%; }
.comp-button.typ-gefuellt { background-color: var(--ton-primaer); color: #fff; }
.comp-button.typ-gefuellt:hover { background-color: var(--ton-primaer-dunkel); color: #fff !important; }
.comp-button.typ-umrandet { border: 1px solid #fff !important; color: #fff; }
.comp-button.typ-umrandet:hover { background-color: #fff; color: #1e1e1e !important; }
.comp-button.typ-umrandet-dunkel { border: 1px solid #c8c3bd !important; color: #1e1e1e; }
.comp-button.typ-umrandet-dunkel:hover { background-color: #1e1e1e; color: #fff !important; }

.aktion-container { display: flex; gap: 20px; flex-flow: wrap; }
.aktion-container.mitte { justify-content: center; }

/* === MEDIEN === */
.comp-media { position: relative; width: 100%; }
.comp-media .bild-container {
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}
.comp-media .bild-container img,
.comp-media .bild-container picture {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 100%;
}

/* === FUSS === */
.site-fuss { padding: 100px 0; }
.site-fuss .fuss-inner {
    display: flex;
    gap: 12.5rem;
    padding: 0 10%;
}
.site-fuss .vor-fuss { max-width: 306px; width: 30%; }
/* Abstand war mal 56px, wirkte im Fuss zu gedraengt */
.site-fuss .fuss-logo {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .26em;
    padding-bottom: 42px;
}
.site-fuss .fuss-logo span { color: var(--ton-primaer); }
.site-fuss .anschrift {
    color: var(--ton-text-grau);
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 22px;
}
.site-fuss .anschrift a:hover { color: var(--ton-primaer); }
.site-fuss .kleingedruckt {
    color: var(--ton-text-still);
    font-size: 12px;
    line-height: 24px;
}
.site-fuss .fuss-links { gap: 18px; margin-top: 10px; }
.site-fuss .fuss-links a {
    color: #4f4f4f;
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: underline;
}

.site-fuss .letzter-fuss { width: 70%; }
.site-fuss .fuss-nlw {
    border-bottom: 1px solid var(--ton-rand);
    display: flex;
    gap: 40px;
    padding-bottom: 48px;
}
.site-fuss .fuss-nlw > div { width: 50%; }
.site-fuss .nlw-text p {
    color: var(--ton-text-grau);
    font-size: 15px;
    line-height: 1.9;
    margin-top: 16px;
    max-width: 44ch;
}

.wrp-form { display: flex; justify-content: flex-end; }
.form { max-width: 383px; width: 100%; }
.eingabe-wrapper { position: relative; }
.eingabe-wrapper label {
    color: var(--ton-text-still);
    display: block;
    font-size: 12px;
    letter-spacing: .1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.eingabe-wrapper input {
    background: var(--ton-feld);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 15px;
    height: 60px;
    padding: 8px 56px 8px 16px;
    width: 100%;
}
.eingabe-wrapper input:focus { border-color: var(--ton-primaer); outline: none; }
.eingabe-wrapper input.fehler { border-color: #b3261e; }
.eingabe-wrapper .absenden {
    background: var(--ton-primaer);
    border: 0;
    cursor: pointer;
    height: 44px;
    position: absolute;
    right: 8px;
    top: 30px;
    width: 40px;
}
.eingabe-wrapper .absenden:before {
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    display: block;
    height: 8px;
    margin: 0 auto;
    transform: rotate(-45deg);
    width: 8px;
}
.form-hinweis {
    color: var(--ton-text-still);
    font-size: 12px;
    line-height: 22px;
    margin-top: 12px;
}

.site-fuss .fuss-menue { display: flex; gap: 60px; padding-top: 46px; }
.site-fuss .menue-spalte { min-width: 160px; }
.site-fuss .erste-ebene {
    font-size: 18px;
    font-weight: 300;
    padding-bottom: 20px;
}
.site-fuss .fuss-menue a {
    color: #4f4f4f;
    font-size: 15px;
    line-height: 30px;
}
.site-fuss .fuss-menue a:hover { color: var(--ton-primaer); }

/* === KEKSLEISTE === */
.keks-leiste {
    background: #fff;
    bottom: 24px;
    box-shadow: 0 6px 28px rgba(30, 30, 30, .18);
    font-size: 12px;
    left: 24px;
    line-height: 1.7;
    max-width: calc(100vw - 48px);
    padding: 18px 20px;
    position: fixed;
    width: 380px;
    z-index: 1200;
}
.keks-leiste[hidden] { display: none; }
.keks-leiste a { text-decoration: underline; }
.keks-text p { margin-bottom: 0; }
.keks-wahl { display: none; margin-top: 10px; border-top: 1px solid #ece8e4; padding-top: 8px; }
.keks-wahl.offen { display: block; }
.keks-wahl label { display: flex; gap: 12px; justify-content: space-between; padding: 5px 0; }
.keks-knoepfe { display: flex; gap: 8px; margin-top: 12px; }
.keks-knoepfe button {
    background: #fff;
    border: 1px solid #cfcac4;
    cursor: pointer;
    flex: 1;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: .04em;
    padding: 9px 8px;
}
.keks-knoepfe button.annehmen { background: var(--ton-primaer); border-color: var(--ton-primaer); color: #fff; }

@media screen and (max-width: 1440px) {
    .stil-titel-gross { font-size: 68px; }
    .stil-titel-mittel { font-size: 40px; }
    .stil-titel-klein { font-size: 30px; }
    .site-kopf { padding: 0 40px 0 0; }
    .site-kopf .logo-wrapper { padding-left: 40px; }
    .site-kopf .nav-liste li { padding-right: 32px; }
    .site-fuss .fuss-inner { gap: 6rem; padding: 0 6%; }
}

@media screen and (max-width: 991px) {
    :root { --hoehe-kopf: 92px; }
    .site-kopf { padding: 0 26px 0 0; z-index: 99999; }
    .site-kopf .fade-reihe { display: none; }
    .site-kopf .nav-wrapper { display: none; }
    .site-kopf .logo-wrapper { padding-left: 25px; }
    .wrp-hamburger { display: block; }
    .site-fuss { padding: 54px 15px 120px; }
    .site-fuss .fuss-inner { flex-direction: column-reverse; gap: 0; padding: 0; }
    .site-fuss .vor-fuss,
    .site-fuss .letzter-fuss { max-width: none; width: 100%; }
    .site-fuss .vor-fuss { border-top: 1px solid var(--ton-rand); margin-top: 40px; padding-top: 34px; }
    .site-fuss .fuss-nlw { flex-direction: column; gap: 26px; }
    .site-fuss .fuss-nlw > div { width: 100%; }
    .site-fuss .fuss-menue { flex-direction: column; gap: 26px; }
    .site-fuss .menue-spalte { min-width: 0; }
    .comp-button { min-width: 220px; }
}

@media screen and (max-width: 575px) {
    .stil-titel-gross { font-size: 40px; }
    .stil-titel-mittel { font-size: 30px; }
    .stil-titel-klein,
    h3 { font-size: 24px; }
    .keks-leiste { bottom: 12px; left: 12px; right: 12px; width: auto; }
    .aktion-container { gap: 12px; }
    .comp-button { min-width: 0; width: 100%; }
}
