/* Ausgelagerte bestehende Komponentenstile */
/* Originaler Seitenstil aus home.php; nach außen verlagert. */
.ij-trustbar {
    position: relative;
    bottom: 0;
    z-index: 2;
    width: 100%;
    background: #ffffff;
    flex: 0 0 auto;
}

.ij-trustbar__inner {
    width: 95vw;
    margin: auto;
    padding: 1.5rem 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

/* Einzelner Vorteil */
.ij-trustbar__item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 8px 24px;
}

/* Trennlinien */
.ij-trustbar__item + .ij-trustbar__item {
    border-left: 1px solid #e5e8ef;
}

/* Icon */
.ij-trustbar__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #2049b5;
    background: #edf2ff;
    border-radius: 12px;

    transition: background .25s ease,
                color .25s ease,
                transform .25s ease;
}

.ij-trustbar__icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

/* Text */
.ij-trustbar__content h3 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
}

.ij-trustbar__content p {
    margin: 0;
    color: #687184;
    font-size: 13px;
    line-height: 1.5;
}

/* Dezenter Hover-Effekt */
.ij-trustbar__item:hover .ij-trustbar__icon {
    color: #ffffff;
    background: #2049b5;
    transform: translateY(-2px);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1230px) {
    .ij-trustbar__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .ij-trustbar__item {
        padding: 18px 20px;
    }

    .ij-trustbar__item:nth-child(3) {
        border-left: none;
    }

    .ij-trustbar__item:nth-child(n+3) {
        border-top: 1px solid #e5e8ef;
    }
}

/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 550px) {
    .ij-trustbar__inner {
        width: calc(100% - 32px);
        padding: 0;
    }

    .ij-trustbar__item {
        gap: 13px;
        padding: 16px 10px;
        align-items: flex-start;
    }

    .ij-trustbar__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .ij-trustbar__icon svg {
        width: 23px;
        height: 23px;
    }

    .ij-trustbar__content h3 {
        font-size: 14px;
    }

    .ij-trustbar__content p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* =========================================
   SEHR KLEINE DISPLAYS
========================================= */

@media (max-width: 460px) {
    :root{
    --trustbar-min-height: 267px !important;
}

    .ij-trustbar__inner {
        grid-template-columns: 1fr;
    }

    .ij-trustbar__item + .ij-trustbar__item {
        border-left: none;
        border-top: 1px solid #e5e8ef;
    }

    .ij-trustbar__item {
        align-items: center;
        padding: 12px 8px;
    }
}

/* =========================================
   BARRIEREFREIHEIT
========================================= */

@media (prefers-reduced-motion: reduce) {
    .ij-trustbar__icon {
        transition: none;
        transform: none;
    }
}

/* Originaler Seitenstil aus leistungsumfang.php; nach außen verlagert. */
/* =========================================================
   LEISTUNGSUMFANG – GRUNDEINSTELLUNGEN
   ========================================================= */

#leistungsumfang {
    --lz-accent: var(--gold, #c9a24b);
    --lz-text: var(--text, #f2f2f2);
    --lz-muted: var(--text-muted, #b4b4ba);
    --lz-surface: var(--surface, #151517);
    --lz-border: var(--border, rgba(255,255,255,.1));
    --lz-radius: var(--radius, 16px);
    --lz-gap: 1rem;
}


/* =========================================================
   DESKTOP – ASYMMETRISCHES BENTO-GRID
   ========================================================= */

.lz-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(230px, auto);
    gap: var(--lz-gap);
    margin-top: 2rem;
}


/* KACHELN */

.lz-tile {
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  height: auto;
  min-height: 230px;
  margin: 0;
  padding: 0;
  align-self: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: var(--lz-radius);
  border: 2px solid var(--clr-surface-a30);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lz-tile:focus-visible {
    outline: 2px solid var(--lz-accent);
    outline-offset: 3px;
}


/* HINTERGRUNDBILDER */

.lz-tile > img {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .7s ease;
}


/* DEZENTER FARBVERLAUF FÜR BESSERE LESBARKEIT */

.lz-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.75) 37%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.25) 82%, rgba(0, 0, 0, 0) 100%);
}


/* HOVER */

.lz-tile:hover {
  outline: none;
  border-color: var(--primary-color-a0);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color-a0) 20%, transparent);
}

.lz-tile:hover > img {
    transform: scale(1.06);
}


/* KACHELINHALT */

.lz-body {
    width: 100%;
    padding: 1.4rem;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
}

.lz-title {
    display: block;
    margin: 0;

    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1.25;

    color: var(--lz-text);
}

.lz-body .sub {
    display: block;
    margin: 0 0 .7rem;

    font-size: .92rem;
    color: var(--lz-text);
}


/* BUTTON */

.lz-tile:hover .primary {
    background: var(--primary-color-a30);
    border-color: var(--primary-color-a30);
}

.lz-more:focus-visible {
    outline: 2px solid var(--lz-accent);
    outline-offset: 4px;
    border-radius: 4px;
}


/* =========================================================
   BENTO-ANORDNUNG DESKTOP
   ========================================================= */

/*
   ┌──────────────┬────────┐
   │              │        │
   │      1       │   2    │
   │              │        │
   ├───────┬──────┤        │
   │       │      ├────────┤
   │   3   │  4   │        │
   │       ├──────┤   6    │
   │       │  5   │        │
   └───────┴──────┴────────┘
*/

.lz-tile:nth-child(1) {
    grid-column: 1 / span 2;
}

.lz-tile:nth-child(2) {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.lz-tile:nth-child(3) {
    grid-column: 1;
    grid-row: 2 / span 2;
}

.lz-tile:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.lz-tile:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
}

.lz-tile:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
}


/* TITELGRÖSSEN */

.lz-tile:nth-child(2) .lz-title,
.lz-tile:nth-child(3) .lz-title {
    font-size: 1.55rem;
}

.lz-tile.is-big .lz-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.lz-tile.is-big .lz-body {
    padding: 1.8rem;
}


/* =========================================================
   TABLET – KOMPAKTES ZWEISPALTIGES RASTER
   ========================================================= */

@media (max-width: 900px) {

    .lz-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(210px, auto);
    }

    .lz-tile {
        min-height: 210px;
    }

    /* Desktop-Bento-Anordnung zurücksetzen */
    .lz-tile:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    /* Erste und letzte Kachel über beide Spalten */
    .lz-tile:nth-child(1),
    .lz-tile:nth-child(6) {
        grid-column: span 2;
    }

    /* Auf Tablet keinen langen Teaser anzeigen */
    .lz-tile.is-big .lz-teaser {
        display: none;
    }

    .lz-tile.is-big .lz-body {
        padding: 1.4rem;
    }

}


/* =========================================================
   MOBILE – EINSPALTIGE KACHELN
   ========================================================= */


/* =========================================================
   MOBILE – KOMPAKTES 2-SPALTEN-KACHELRASTER
   ========================================================= */

@media (max-width: 560px) {

    .lz-bento {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(175px, auto);
        gap: .7rem;
        margin-top: 1.2rem;
        overflow: visible;
        padding: 0;
    }

    /* Alle Kacheln gleich groß */
    .lz-bento .lz-tile:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: 100%;
        min-height: 175px;
    }

    /* Inhalt kompakter positionieren */
    .lz-bento .lz-tile .lz-body,
    .lz-bento .lz-tile.is-big .lz-body {
        padding: .9rem;
        gap: .25rem;
    }

    /* Überschriften */
    .lz-bento .lz-tile .lz-title,
    .lz-bento .lz-tile:nth-child(n) .lz-title {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    /* Untertitel */
    .lz-bento .lz-tile .sub {
        font-size: .78rem;
        line-height: 1.35;
        margin: 0 0 .45rem;
    }

    /* Kein zusätzlicher Beschreibungstext */
    .lz-bento .lz-tile .lz-teaser,
    .lz-bento .lz-tile .sub{
        display: none;
    }

    /* Kompaktere Buttons */
    .lz-bento .lz-tile .btn {
        min-height: 0;
        padding: .4rem .7rem;
        font-size: .76rem;
        margin-top: .1rem;
    }

    /* Keine Hover-Vergrößerung auf Touch-Geräten */
    .lz-bento .lz-tile:hover > img {
        transform: none;
    }

}



/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .lz-tile,
    .lz-tile > img {
        transition: none;
    }

    .lz-tile:hover,
    .lz-tile:hover > img {
        transform: none;
    }

}


/* =========================================================
   ICON-BADGE – FALLS ICONS VERWENDET WERDEN
   ========================================================= */

.lz-icon {
    display: grid;
    place-items: center;

    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: .5rem;

    border-radius: 12px;
    color: var(--lz-accent);

    background: rgba(255,255,255,.07);
    border: 1px solid var(--lz-border);

    backdrop-filter: blur(6px);

    transition:
        background .25s,
        color .25s;
}

.lz-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.lz-tile:hover .lz-icon {
    background: var(--lz-accent);
    color: #111;
}


/* =========================================================
   KURZTEXT AUF DER GROSSEN KACHEL
   ========================================================= */

.lz-teaser {
    display: none;

    margin: 0 0 .9rem;
    max-width: 46ch;

    font-size: .95rem;
    line-height: 1.6;

    color: var(--lz-text);
    opacity: .85;
}

.lz-tile.is-big .lz-teaser {
    display: block;
}

@media (max-width: 900px) {

    .lz-tile.is-big .lz-teaser {
        display: none;
    }

}

/* Originaler Seitenstil aus faq.php; nach außen verlagert. */
#faq{
  --fq-bg:#f4f6fb;                          /* Kartenhintergrund: heller Ton wie dein Header */
  --fq-text:#161a33;
  --fq-muted:#454a66;
  --fq-line:rgba(22,26,51,.15);
  --fq-accent:#1d44c0;
  background: #fff;
}

.fq{display:grid;grid-template-columns: minmax(0, 1fr) min-content;gap:1.2rem;align-items:stretch;margin-top:1rem}
.fq-main{min-width:0;position:relative}

/* Radios unsichtbar, aber per Tastatur erreichbar */
.fq-radio{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}

/* Themen-Pills */
.fq-tabs{display:flex;gap:.5rem;scrollbar-width:none;padding: .9rem 0;overflow-x: auto;}
.fq-tabs::-webkit-scrollbar{display:none}
.fq-tabs label{
  flex:none;cursor:pointer;white-space:nowrap;
  padding:.55rem 1.15rem;border-radius:99px;
  border:2px solid var(--fq-line);color:var(--fq-text);font-size:.95rem;
  transition:background .2s,color .2s,border-color .2s,box-shadow .2s;font-weight: 600;
  background: #edf2ff;
}
.fq-tabs label:hover{font-weight: 600; outline: none; border-color: var(--primary-color-a0); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color-a0) 20%, transparent);}

/* Akkordeon-Karte */
/* Alle Themen liegen übereinander → Karte behält beim Themenwechsel ihre Höhe */
.fq-panels{display:grid;background:#edf2ff;border-radius: var(--br);padding:.4rem 1.6rem}
.fq-panel{grid-area:1/1;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s ease,visibility 0s linear .25s}
.fq-panel details{border-top:1px solid var(--fq-line)}
.fq-panel details:first-child{border-top:0}

.fq-panel summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;gap:1rem;color:var(--fq-text);
}
.fq-panel summary::-webkit-details-marker{display:none}
.fq-q{font-weight:700;font-size:1.05rem;line-height:1.35}
.fq-panel summary:hover .fq-q,.fq-panel details[open] .fq-q{color:var(--fq-accent)}
.fq-panel summary:focus-visible{outline:2px solid var(--fq-accent);outline-offset:2px;border-radius:6px}

.fq-a{padding:0 3rem 1.3rem 0}
.fq-a p{margin:0;color:var(--fq-muted);line-height:1.7;max-width:62ch}
.fq-panel details[open] .fq-a{animation:fq-in .35s ease}
@keyframes fq-in{from{opacity:0;transform:translateY(-6px)}}

/* CTA-Kachel im Marken-Blau (ohne Bild) – füllt die volle Höhe neben den Fragen */
.fq-cta{
  position:relative;
  display:flex;flex-direction:column;justify-content:space-between;gap:1.6rem;
  padding:1.1rem;border-radius: var(--br);color:#fff;
  background:radial-gradient(circle at 100% 0%, rgba(255,255,255,.3), transparent 65%), linear-gradient(150deg, var(--primary-color-a0) 0%, var(--primary-color-a50) 100%);
  overflow: hidden;
}
.fq-cta-top{display:flex;flex-direction:column;gap:.6rem}
.fq-cta-tag{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.fq-cta h3{margin:0;font-size:1.6rem;line-height:1.2;color:#fff;text-wrap:nowrap;}
.fq-cta p{margin:0 0 .3rem;opacity:.9;line-height:1.6;}
.fq-cta-list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.fq-cta-list li{display:flex;align-items:center;gap:.65rem;}
.fq-cta-actions{display:flex;flex-direction:column;gap:.6rem}
/* Button auf blauem Grund: weiß statt blau */
#faq .fq-cta .btn.primary{
  background: #fff;	border-color: #fff;color: var(--primary-color);text-align: center;justify-content: center;
}
#faq .fq-cta .btn.primary:hover{background:#edf2ff;border-color:#edf2ff}

#faq .fq-cta .btn.secondary {
    color: #fff;
    text-align: center;
    border: 2px solid;
}
	
#faq .fq-cta .btn.secondary:hover {
    color: var(--primary-color);
    border-color: #edf2ff;
    background: #edf2ff;
}

@media (max-width:900px){
  .fq{grid-template-columns:1fr}
  .fq-cta{min-height:0}
}
@media (max-width:560px){
  .fq-panels{padding:.2rem 1.1rem}
  .fq-a{padding-right:0}
  .fq-cta h3{font-size:1.4rem}
}
@media (prefers-reduced-motion:reduce){
  .fq-panel details[open] .fq-a{animation:none}
}



/* Originaler Seitenstil aus footer.php; nach außen verlagert. */
/* Dokumenten-Galerie */
footer .pdf-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 215px));
    gap: 20px;
    margin-top: 24px;
    align-items: stretch;
    background: none;
}

/* Einzelne Dokumenten-Karte */
.pdf-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover-Effekt */
.pdf-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Bildbereich */
.pdf-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #f7f8fa;
    aspect-ratio: 3 / 4;
}

/* Dokument */
.pdf-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pdf-card:hover .pdf-image img {
    transform: scale(1.025);
}

/* Beschriftung */
.pdf-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #252a35;
    background: #fff;
}

.pdf-icon {
    color: #1e49b8;
    font-size: 19px;
    transition: transform 0.25s ease;
}

.pdf-card:hover .pdf-icon {
    transform: translate(3px, -3px);
}

/* Tablet und Smartphone */
@media (max-width: 600px) {
    .pdf-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pdf-image {
        padding: 8px;
    }

    .pdf-caption {
        padding: 10px;
        font-size: 12px;
    }
}

/* Sehr schmale Displays */
@media (max-width: 350px) {
    .pdf-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Originaler Seitenstil aus kontaktformular.php; nach außen verlagert. */
.contactForm .file-field {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    width: 100%;
    padding: 1.3rem 1rem 1rem;
    border: 2px solid var(--clr-surface-a30);
    border-radius: var(--br);
    background: var(--clr-surface-a0);
    color: var(--primary-color);
    font-family: inherit;
    font-size: var(--fs-input);
    font-weight: bolder;
    transition: border-color .2s, box-shadow .2s;
}

.contactForm .file-field:hover,
.contactForm .file-field:focus-within {
    outline: none;
    border-color: var(--primary-color-a0);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color-a0) 20%, transparent);
    cursor: pointer;
}

.contactForm .file-field:has(.is-invalid),
.contactForm .file-field:has(.file-errors:not([hidden])) {
    border-color: var(--clr-danger-a0);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-danger-a0) 15%, transparent);
}

/* Beschriftung des Upload-Feldes */
.contactForm .file-field .file-label {
    position: absolute;
    top: -.7rem;
    left: .75rem;
    z-index: 1;
    max-width: calc(100% - 1.5rem);
    padding: .15rem .6rem;
    border-radius: 12px;
    background: var(--primary-color-a20);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
}

.contactForm .file-field.is-dragover {
    border-style: dashed;
    border-color: var(--primary-color-a0);
    background: color-mix(in srgb, var(--primary-color-a0) 8%, var(--clr-surface-a0));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color-a0) 20%, transparent);
}

/* Kinder sollen keine eigenen Drag-Events auslösen */
.contactForm .file-field.is-dragover * {
    pointer-events: none;
}

.contactForm .file-field .file-label.has-error {
    background: var(--clr-danger-a0);
}

/* Natives Feld unsichtbar, aber per Tastatur erreichbar */
.contactForm .file-field .file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Auswahl-Button */
.contactForm .file-field .file-btn {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: .55rem 1.1rem;
    border: 2px solid var(--primary-color-a20);
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
    color: var(--primary-color-a20);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color .2s, color .2s, border-color .2s;
}

/*.contactForm .file-field .file-btn::before {
    content: "";
    flex: none;
    width: 1.2rem;
    height: 1.2rem;
    background: currentColor;
    -webkit-mask: var(--ff-icon-upload) center / contain no-repeat;
    mask: var(--ff-icon-upload) center / contain no-repeat;
}*/

.contactForm .file-field .file-btn:hover,
.contactForm .file-field:hover .file-btn,
.contactForm .file-field.is-dragover .file-btn {
    background: var(--primary-color-a20);
    color: #fff;
}

/* .contactForm .file-field .file-input.is-invalid + .file-btn,
.contactForm .file-field:has(.file-errors:not([hidden])) .file-btn {
    border-color: var(--ff-error);
    color: var(--ff-error);
} */

.contactForm .file-field .file-input:focus-visible + .file-btn {
    outline: 3px solid var(--primary-color-a0);
    outline-offset: 3px;
}

.contactForm .file-field .file-input:disabled + .file-btn {
    opacity: .5;
    cursor: not-allowed;
}

/* Hinweistext */
.contactForm .file-field .file-hint {
    flex: 1 1 14rem;
    font-size: .85rem;
    line-height: 1.45;
    color: var(--ff-muted);
}

/* Dynamisch von JavaScript erzeugte Überschrift */
.contactForm .file-field .file-summary {
    flex: 1 1 100%;
    margin: 0;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
}

.contactForm .file-field .file-summary[hidden] {
    display: none;
}

/* Gewählte Dateien */
.contactForm .file-field .file-list {
    flex: 1 1 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
}

.contactForm .file-field .file-list:empty {
    display: none;
}

.contactForm .file-field .file-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding: .35rem .35rem .35rem .4rem;
    border-radius: 10px;
    background: var(--ff-soft);
    animation: file-in .25s ease;
}

.contactForm .file-field .file-list li::before {
    display: none;
}

/* Vorschaubild bzw. Typ-Kürzel */
.contactForm .file-field .file-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--primary-color-a20);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.contactForm .file-field .file-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dateiname + Typ/Größe */
.contactForm .file-field .file-text {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: .1rem;
}

.contactForm .file-field .file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .95rem;
    font-weight: 600;
}

.contactForm .file-field .file-meta {
    font-size: .8rem;
    color: var(--ff-muted);
}

/* Entfernen-Button (44×44 px Touch-Fläche) */
.contactForm .file-field .file-remove {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--clr-danger-a20);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.contactForm .file-field .file-remove:hover,
.contactForm .file-field .file-remove:focus-visible {
    background: var(--clr-danger-a0);
}

/* Fehlerliste und Einträge werden vollständig von JavaScript erzeugt. */
.contactForm .file-field .file-errors {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.contactForm .file-field .file-errors[hidden] {
    display: none;
}

.contactForm .file-field .file-error {
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--clr-danger-a0);
    border-radius: 6px;
    background: color-mix(in srgb, var(--clr-danger-a0) 6%, transparent);
    color: var(--clr-danger-a0);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
}

@keyframes file-in {
    from { opacity: 0; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .contactForm .file-field .file-list li {
        animation: none;
    }
}

@media (max-width: 560px) {
    .contactForm .file-field .file-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Icons (SVG, ohne Icon-Font) */
.contactForm .file-field {
    --ff-icon-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0L7 9m5-5 5 5M4 16v3a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-3'/%3E%3C/svg%3E");
    /* --ff-icon-upload: url("data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloud-upload preview-icon"><path d="M12 13v8"/><path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"/><path d="m8 17 4-4 4 4"/></svg>"); */
    --ff-icon-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E");
}

.contactForm .field-error {
    display: block;
    margin: .4rem 0 0;
    color: var(--clr-danger-a0, #b42318);
    font-size: .875rem;
    line-height: 1.4;
}
.contactForm .field-error[hidden] { display: none; }
.contactForm .form-status:empty { display: none; }
.contactForm .form-status.error { color: var(--clr-danger-a0, #b42318); }
.contactForm .form-status.success { color: #18794e; }
.contactForm [aria-invalid="true"] { border-color: var(--clr-danger-a0, #b42318) !important; }
.contactForm .submit-spinner { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
    .contactForm *, .contactForm *::before, .contactForm *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* Themenauswahl der FAQ ohne Inline-CSS: fünf fest definierte Themenbereiche. */
#fq-c0:checked ~ .fq-tabs label[for="fq-c0"],
#fq-c1:checked ~ .fq-tabs label[for="fq-c1"],
#fq-c2:checked ~ .fq-tabs label[for="fq-c2"],
#fq-c3:checked ~ .fq-tabs label[for="fq-c3"],
#fq-c4:checked ~ .fq-tabs label[for="fq-c4"] {
    background: var(--lf-blue);
    border-color: var(--lf-blue);
    color: var(--lf-white);
    outline: none;
}
#fq-c0:checked ~ .fq-panels #fq-p0,
#fq-c1:checked ~ .fq-panels #fq-p1,
#fq-c2:checked ~ .fq-panels #fq-p2,
#fq-c3:checked ~ .fq-panels #fq-p3,
#fq-c4:checked ~ .fq-panels #fq-p4 {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}
#fq-c0:not(:checked) ~ .fq-panels #fq-p0 .fq-a,
#fq-c1:not(:checked) ~ .fq-panels #fq-p1 .fq-a,
#fq-c2:not(:checked) ~ .fq-panels #fq-p2 .fq-a,
#fq-c3:not(:checked) ~ .fq-panels #fq-p3 .fq-a,
#fq-c4:not(:checked) ~ .fq-panels #fq-p4 .fq-a { display: none; }
#fq-c0:focus-visible ~ .fq-tabs label[for="fq-c0"],
#fq-c1:focus-visible ~ .fq-tabs label[for="fq-c1"],
#fq-c2:focus-visible ~ .fq-tabs label[for="fq-c2"],
#fq-c3:focus-visible ~ .fq-tabs label[for="fq-c3"],
#fq-c4:focus-visible ~ .fq-tabs label[for="fq-c4"] {
    outline: 2px solid var(--lf-blue);
    outline-offset: 3px;
}


/* ============================================================
   INNENAUSBAU LUCAS FOESCH – MODERNES CORPORATE DESIGN
   Quicksand lokal geladen über fonts.css (keine Google-Anfrage)
   ============================================================ */

:root {
    --font-base: "Quicksand", sans-serif;
    --lf-bg: #f5f8fb;
    --lf-surface: #fbfcfe;
    --lf-white: #ffffff;
    --lf-blue: #214f70;
    --lf-blue-dark: #173b56;
    --lf-blue-mid: #3a6d91;
    --lf-blue-light: #e7f0f7;
    --lf-blue-pale: #eef4f8;
    --lf-text: #1a3041;
    --lf-muted: #687c8d;
    --lf-line: #dce6ee;
    --lf-shadow: 0 14px 38px rgba(24, 55, 78, .08);

    --primary-color: var(--lf-text);
    --primary-color-a0: #2d638a;
    --primary-color-a10: #285a7d;
    --primary-color-a20: var(--lf-blue);
    --primary-color-a30: var(--lf-blue-dark);
    --primary-color-a40: #123149;
    --primary-color-a50: #0e293e;

    --clr-surface-a0: var(--lf-surface);
    --clr-surface-a10: var(--lf-bg);
    --clr-surface-a20: #edf3f7;
    --clr-surface-a30: var(--lf-line);
    --clr-surface-a40: #c9d8e3;
    --clr-surface-a50: #b5c8d8;
    --clr-surface-tonal-a0: #f0f5f9;
    --clr-surface-tonal-a10: #e8f0f6;
    --clr-surface-tonal-a20: #dfeaf2;
    --clr-surface-tonal-a30: #d1e0eb;
    --clr-surface-tonal-a40: #c2d5e2;
    --clr-surface-tonal-a50: #b2cadb;

    --label-color: var(--lf-white);
    --br: 12px;
    --nav-height: 76px;
    --nav-height-small: 68px;
    --sb-track-color: #edf2f6;
    --sb-thumb-color: #a8bdce;
}

html {
    scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    color: var(--lf-text);
    background: var(--lf-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body, button, input, select, textarea {
    font-family: "Quicksand", sans-serif;
}

p { color: var(--lf-muted); }
strong, strong u { color: inherit; }
button { border-radius: 8px; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Der alte Hintergrund mit festem Vollbildfoto ist für das neue Layout deaktiviert. */
#top.home::before { content: none !important; display: none !important; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.navbar {
    background: rgba(251, 252, 254, .96);
    border-bottom: 1px solid var(--lf-line);
    box-shadow: 0 4px 18px rgba(20, 48, 68, .045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-container {
    width: min(100% - 40px, 1240px);
    height: var(--nav-height);
}
.nav-logo { min-width: 0; }
.nav-logo img {
    width: auto;
    height: 48px;
    max-width: min(220px, 45vw);
    object-fit: contain;
    object-position: left center;
}
.nav-list { gap: clamp(16px, 2.3vw, 32px); }
.nav-link {
    position: relative;
    color: var(--lf-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    padding: 10px 0;
}
.nav-link:hover, .nav-link.active { color: var(--lf-blue); }
.nav-link::after { background: var(--lf-blue); height: 2px; }
.nav-actions { gap: 10px; }
.nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--lf-line);
    border-radius: 8px;
    color: var(--lf-blue);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.nav-phone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-phone:hover { background: var(--lf-blue-light); border-color: #bfd0de; }
.nav-btn.primary {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--lf-blue);
    border-radius: 8px;
    color: var(--lf-white);
    background: var(--lf-blue);
    font-size: 12px;
    font-weight: 700;
}
.nav-btn.primary:hover { background: var(--lf-blue-dark); border-color: var(--lf-blue-dark); }
.hamburger {
    width: 42px; height: 42px; gap: 5px;
    border: 1px solid var(--lf-line);
    border-radius: 8px;
    background: var(--lf-surface);
}
.hamburger-line { width: 19px; height: 2px; background: var(--lf-blue); border-radius: 2px; }
#navBackdrop { background: rgba(17, 39, 56, .35); backdrop-filter: blur(3px); }

@media (max-width: 768px) {
    .nav-container { width: calc(100% - 32px); }
    .nav-menu {
        background: var(--lf-surface);
        border-left: 1px solid var(--lf-line);
        box-shadow: -10px 0 36px rgba(24, 55, 78, .10);
    }
    .nav-item { border-bottom: 1px solid var(--lf-line); }
    .nav-link { display: block; padding: 15px 4px; font-size: 15px; }
    .nav-actions { align-items: stretch; }
    .nav-phone, .nav-btn { width: 100%; min-height: 46px; }
}

@media (max-width: 430px) {
    .nav-phone span { display: none; }
    .nav-phone { width: 42px; padding: 0; }
    .nav-phone svg { width: 18px; height: 18px; }
    .nav-actions .nav-phone { width: 100%; }
    .nav-actions .nav-phone span { display: inline; }
}

/* ============================================================
   STARTSEITE / HERO – MOBILE FIRST
   ============================================================ */
#home.home-page {
    display: block;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: var(--nav-height) 0 0;
    background: var(--lf-bg);
}
#hero.lf-hero {
    width: min(100% - 40px, 1240px);
    max-width: 1240px;
    margin: 0 auto;
    padding: 38px 0 42px;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "portrait" "actions";
    gap: 25px;
    align-items: center;
    background: transparent;
}
.lf-hero-copy { grid-area: copy; min-width: 0; position: relative; z-index: 2; }
.lf-eyebrow, .page-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--lf-blue);
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lf-eyebrow::before, .page-eyebrow::before {
    content: "";
    flex: 0 0 26px;
    height: 2px;
    background: var(--lf-blue);
}
.lf-eyebrow span { color: #a8bac8; }
.lf-hero h1 {
    max-width: 700px;
    margin: 0;
    color: var(--lf-text);
    font-size: clamp(38px, 9.2vw, 62px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.055em;
    text-wrap: balance;
}
.lf-hero h1 span { display: block; color: var(--lf-blue); }
.lf-hero-description {
    max-width: 570px;
    margin: 20px 0 0;
    color: var(--lf-muted);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
    text-wrap: pretty;
}
.lf-hero-services {
    max-width: 590px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 0;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.lf-hero-services li {
    color: var(--lf-blue);
    font-size: 11px;
    line-height: 1.6;
    font-weight: 700;
    white-space: nowrap;
}
.lf-hero-services li + li::before {
    content: "·";
    margin: 0 9px;
    color: #a6b8c6;
}
.lf-hero-portrait {
    grid-area: portrait;
    min-width: 0;
    width: 100%;
    margin: 0;
}
.lf-portrait-stage {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(340px, 92vw, 465px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 60%, #dce9f2 0%, #e9f1f7 53%, #f0f5f9 100%);
    border-radius: 170px 170px 10px 10px;
}
.lf-portrait-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 68%;
    height: 78%;
    left: 16%;
    bottom: -30%;
    border: 1px solid rgba(33, 79, 112, .14);
    border-radius: 50% 50% 0 0;
}
.lf-portrait-stage::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 24%;
    height: 1px;
    right: 0;
    top: 22%;
    background: rgba(33, 79, 112, .18);
}
.lf-portrait-stage img {
    display: block;
    width: min(90%, 430px);
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
}
.lf-portrait-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 2px 0;
}
.lf-portrait-name { display: flex; flex-direction: column; gap: 3px; }
.lf-portrait-name strong { color: var(--lf-text); font-size: 13px; font-weight: 700; }
.lf-portrait-name small { color: var(--lf-muted); font-size: 11px; font-weight: 500; }
.lf-portrait-note {
    color: var(--lf-blue);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
    text-align: right;
    text-transform: uppercase;
}
.lf-hero-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}
.lf-button-primary {
    min-height: 52px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid var(--lf-blue);
    border-radius: 8px;
    color: var(--lf-white);
    background: var(--lf-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lf-button-primary:hover { background: var(--lf-blue-dark); border-color: var(--lf-blue-dark); transform: translateY(-1px); }
.lf-button-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lf-text);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}
.lf-phone-link:hover { color: var(--lf-blue); }
.lf-phone-link > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.lf-phone-link small { color: var(--lf-muted); font-size: 10px; font-weight: 500; }
.lf-phone-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--lf-blue);
    background: var(--lf-blue-light);
    border-radius: 50%;
}
.lf-phone-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lf-text-link {
    width: fit-content;
    color: var(--lf-blue);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.lf-text-link span { margin-left: 5px; }
.lf-text-link:hover { color: var(--lf-blue-dark); }

/* Trustbar: vier schlichte Vorteile, ohne Bewertungs-Badges. */
.ij-trustbar {
    position: relative;
    width: 100%;
    background: var(--lf-surface);
    border-top: 1px solid var(--lf-line);
    border-bottom: 1px solid var(--lf-line);
}
.ij-trustbar__inner {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
    padding: 22px 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.ij-trustbar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px 12px;
}
.ij-trustbar__item + .ij-trustbar__item { border-left: 0; }
.ij-trustbar__item:nth-child(even) { border-left: 1px solid var(--lf-line); }
.ij-trustbar__item:nth-child(n+3) { border-top: 1px solid var(--lf-line); }
.ij-trustbar__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--lf-blue);
    background: var(--lf-blue-light);
    border-radius: 10px;
}
.ij-trustbar__icon svg { width: 22px; height: 22px; }
.ij-trustbar__content h3 { margin: 0 0 3px; color: var(--lf-text); font-size: 12px; font-weight: 700; line-height: 1.35; }
.ij-trustbar__content p { margin: 0; color: var(--lf-muted); font-size: 10px; font-weight: 500; line-height: 1.45; }

@media (min-width: 650px) {
    #hero.lf-hero { width: min(100% - 64px, 1240px); padding: 55px 0; gap: 34px; }
    .lf-hero h1 { font-size: clamp(50px, 6vw, 68px); }
    .lf-hero-description { font-size: 16px; }
    .lf-portrait-stage { height: 480px; }
    .lf-portrait-stage img { width: 78%; }
    .lf-hero-actions { flex-direction: row; align-items: center; gap: 24px; }
    .lf-button-primary { width: auto; min-width: 205px; }
    .ij-trustbar__inner { width: min(100% - 64px, 1240px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ij-trustbar__item { padding: 12px 14px; }
    .ij-trustbar__item:nth-child(even) { border-left: 1px solid var(--lf-line); }
    .ij-trustbar__item:nth-child(n+3) { border-top: 0; }
}
@media (min-width: 960px) {
    #home.home-page { padding-top: var(--nav-height); }
    #hero.lf-hero {
        grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr);
        grid-template-areas: "copy portrait" "actions portrait";
        column-gap: clamp(48px, 6.5vw, 96px);
        row-gap: 22px;
        padding: 46px 0 58px;
    }
    .lf-hero h1 { font-size: clamp(56px, 5.1vw, 74px); letter-spacing: -.06em; }
    .lf-hero-description { margin-top: 24px; }
    .lf-hero-services { margin-top: 24px; }
    .lf-portrait-stage { height: min(600px, 66vh); min-height: 500px; border-radius: 260px 260px 12px 12px; }
    .lf-portrait-stage img { width: 100%; max-width: 460px; }
    .lf-hero-actions { align-self: start; margin-top: 4px; }
    .ij-trustbar__inner { padding: 18px 0; }
    .ij-trustbar__item { padding: 10px 20px; }
}
@media (min-width: 1400px) {
    #hero.lf-hero { column-gap: 100px; }
    .lf-hero h1 { font-size: 76px; }
}
@media (max-width: 460px) {
    #hero.lf-hero { width: calc(100% - 32px); padding-top: 32px; }
    .lf-hero h1 { font-size: clamp(36px, 10vw, 43px); letter-spacing: -.055em; }
    .lf-hero-description { font-size: 14px; }
    .lf-portrait-stage { height: clamp(330px, 95vw, 400px); }
    .ij-trustbar__inner { width: calc(100% - 28px); padding: 12px 0; }
    .ij-trustbar__item { padding: 12px 8px; gap: 9px; }
    .ij-trustbar__icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 9px; }
    .ij-trustbar__icon svg { width: 19px; height: 19px; }
    .ij-trustbar__content h3 { font-size: 11px; }
    .ij-trustbar__content p { font-size: 9px; }
}

/* ============================================================
   SEITENABSCHNITTE / TITEL
   ============================================================ */
section:nth-child(even), section:nth-child(odd) { position: relative; }
section > .content-inner {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
    padding: 70px 0;
}
.headline, .headline-s { display: block; line-height: 1.2; }
.headline-s {
    margin: 0 0 12px;
    color: var(--lf-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}
.headline {
    max-width: 760px;
    margin: 0;
    color: var(--lf-text);
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -.04em;
    text-wrap: balance;
}

/* Leistungsumfang – Bildkarten mit dezentem Farbverlauf. */
#leistungsumfang { background: var(--lf-surface) !important; }
#leistungsumfang > .content-inner { padding-top: 76px; padding-bottom: 82px; }
.lz-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(235px, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.lz-tile {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 245px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(25, 58, 82, .10);
    border-radius: 13px;
    background: #dfe9f0;
    color: var(--lf-white);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(24, 55, 78, .05);
    transition: transform .22s ease, box-shadow .22s ease;
}
.lz-tile > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}
/* Sichere Positionsvarianten statt der noch nicht breit unterstützten CSS-attr()-Syntax. */
.lz-tile[data-position="top"] > img { object-position: center top; }
.lz-tile[data-position="bottom"] > img { object-position: center bottom; }
.lz-tile[data-position="left"] > img { object-position: left center; }
.lz-tile[data-position="right"] > img { object-position: right center; }
.lz-tile::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 30, 45, .03) 15%, rgba(10, 30, 45, .32) 54%, rgba(10, 30, 45, .88) 100%);
}
.lz-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24, 55, 78, .15); }
.lz-tile:hover > img { transform: scale(1.035); }
.lz-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    padding: 22px;
    color: var(--lf-white);
}
.lz-title {
    display: block;
    color: var(--lf-white);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.lz-body .sub { color: rgba(255,255,255,.88); font-size: 12px; font-weight: 600; line-height: 1.45; }
.lz-teaser { display: none; max-width: 48ch; margin: 5px 0; color: rgba(255,255,255,.9); font-size: 12px; line-height: 1.55; }
.lz-tile.is-big .lz-teaser { display: block; }
.lz-body .btn.primary {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 6px;
    color: var(--lf-white);
    background: rgba(255,255,255,.10);
    font-size: 11px;
    font-weight: 700;
}
.lz-tile:hover .lz-body .btn.primary { background: var(--lf-white); color: var(--lf-blue); }
@media (min-width: 901px) {
    .lz-tile.is-big { grid-column: span 2; grid-row: span 2; min-height: 495px; }
    .lz-tile.is-big .lz-title { font-size: 32px; }
}
@media (max-width: 900px) {
    .lz-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); }
    .lz-tile.is-big { grid-column: span 2; min-height: 280px; }
    .lz-tile.is-big .lz-teaser { display: none; }
}
@media (max-width: 560px) {
    section > .content-inner { width: calc(100% - 32px); padding: 54px 0; }
    #leistungsumfang > .content-inner { padding-top: 56px; padding-bottom: 60px; }
    .lz-bento { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
    .lz-tile, .lz-tile.is-big { grid-column: auto; grid-row: auto; min-height: 240px; }
    .lz-body { padding: 19px; }
}

/* ============================================================
   REFERENZEN
   ============================================================ */
.ref-section {
    width: 100%;
    padding: calc(var(--nav-height) + 32px) 0 76px;
    background: var(--lf-bg) !important;
}
.page-intro {
    width: min(100% - 40px, 1240px);
    margin: 0 auto 26px;
}
.page-intro .page-eyebrow { margin-bottom: 12px; }
.page-intro h1 {
    max-width: 850px;
    margin: 0;
    color: var(--lf-text);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.1;
    text-wrap: balance;
}
.page-intro > p:last-child {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--lf-muted);
    font-size: 14px;
    line-height: 1.75;
}
.multiselect-container {
    top: auto;
    z-index: 5;
    width: min(100% - 40px, 1240px);
    margin: 0 auto 20px;
    padding: 0;
}
.multiselect-trigger-wrapper, .multiselect-trigger {
    background: var(--lf-surface);
    border: 1px solid var(--lf-line);
    border-radius: 8px;
}
.multiselect-trigger { min-height: 48px; padding: 10px 14px; }
.multiselect-dropdown {
    background: var(--lf-surface);
    border: 1px solid var(--lf-line);
    border-radius: 10px;
    box-shadow: var(--lf-shadow);
}
.multiselect-option:hover { background: var(--lf-blue-pale); }
.multiselect-container .multiselect-reset { color: var(--lf-blue); }
.ref-section > .content-inner {
    width: min(100% - 40px, 1240px);
    padding: 0;
}
.referenz-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}
.referenz {
    min-width: 0;
    background: var(--lf-surface);
    border: 1px solid var(--lf-line);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(24,55,78,.045);
    animation: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.referenz:hover {
    border-color: #c6d6e2;
    box-shadow: 0 12px 28px rgba(24,55,78,.10);
    transform: translateY(-2px);
}
.ref-mod { border: 0; border-radius: 0; }
.titel-bild { background: var(--lf-blue-pale); }
.referenz-content .titel { padding: 14px 16px 0; color: var(--lf-text); font-size: 19px; font-weight: 700; }
.referenz-content .wowas { padding: 0 16px; color: var(--lf-blue); font-size: 11px; font-weight: 700; }
.referenz-content .kbeschreibung { padding: 0 16px 12px; color: var(--lf-muted); font-size: 13px; line-height: 1.65; }
.referenz-links { padding: 0 16px; margin-bottom: 16px; }
.referenz-content .kategorien { top: -10px; padding: 0 12px; }
.referenz-content .kategorien .kategorie {
    padding: 4px 9px;
    border-radius: 5px;
    background: var(--lf-blue);
    color: var(--lf-white);
    font-size: 9px;
    font-weight: 700;
}
.btn-referenz, .referenz-links .btn { width: 100%; border-radius: 7px; }
@media (max-width: 900px) {
    .referenz-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ref-section { width: 100%; padding-top: calc(var(--nav-height) + 28px); }
    .page-intro { width: calc(100% - 32px); }
    .multiselect-container, .ref-section > .content-inner { width: calc(100% - 32px); }
    .referenz-container { grid-template-columns: 1fr; gap: 14px; }
    .referenz-content .kbeschreibung { min-height: 0; }
}

/* ============================================================
   GALERIE
   ============================================================ */
#galerie.gallery-page {
    min-height: 60vh;
    padding: calc(var(--nav-height) + 34px) 0 78px;
    background: var(--lf-bg) !important;
}
.gallery-page .page-intro { margin-bottom: 28px; }
.gallery-page > .content-inner { padding: 0; }
.gallery-container { column-width: 260px; column-gap: 16px; }
.gallery-container img {
    margin: 0 0 16px;
    border: 1px solid var(--lf-line);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(24,55,78,.05);
    animation: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-container img:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,55,78,.12); }
.gallery-empty { padding: 24px; border: 1px dashed var(--lf-line); border-radius: 10px; color: var(--lf-muted); text-align: center; }
@media (max-width: 600px) {
    #galerie.gallery-page { padding-top: calc(var(--nav-height) + 26px); }
    .gallery-container { column-count: 2; column-width: auto; column-gap: 10px; }
    .gallery-container img { margin-bottom: 10px; border-radius: 8px; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { padding: 0; background: var(--lf-bg) !important; }
#faq > .content-inner { padding-top: 76px; padding-bottom: 80px; }
#faq .fq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    gap: 20px;
    align-items: stretch;
    margin-top: 26px;
}
#faq .fq-main { min-width: 0; position: relative; }
#faq .fq-radio { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
#faq .fq-tabs { display: flex; gap: 8px; padding: 0 0 14px; overflow-x: auto; scrollbar-width: thin; }
#faq .fq-tabs label {
    flex: 0 0 auto;
    cursor: pointer;
    white-space: nowrap;
    padding: 9px 13px;
    border-radius: 7px;
    border: 1px solid var(--lf-line);
    color: var(--lf-text);
    background: var(--lf-surface);
    font-size: 11px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
#faq .fq-tabs label:hover { border-color: #b9ccda; }
#faq .fq-panels {
    display: grid;
    padding: 5px 22px;
    border: 1px solid var(--lf-line);
    border-radius: 11px;
    background: var(--lf-surface);
}
#faq .fq-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility 0s linear .2s; }
#faq .fq-panel details { border-top: 1px solid var(--lf-line); }
#faq .fq-panel details:first-child { border-top: 0; }
#faq .fq-panel summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 0;
    color: var(--lf-text);
    font-family: inherit;
    font-weight: 700;
}
#faq .fq-panel summary::after { flex: 0 0 20px; min-width: 20px; min-height: 20px; background-color: var(--lf-blue); }
#faq .fq-q { font-size: 14px; font-weight: 700; line-height: 1.4; }
#faq .fq-panel summary:hover .fq-q, #faq .fq-panel details[open] .fq-q { color: var(--lf-blue); }
#faq .fq-a { padding: 0 32px 18px 0; }
#faq .fq-a p { margin: 0; color: var(--lf-muted); font-size: 13px; line-height: 1.75; }
#faq .fq-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-radius: 11px;
    color: var(--lf-white);
    background: linear-gradient(145deg, #315f80 0%, #193f5b 100%);
}
#faq .fq-cta h3 { margin: 0; color: var(--lf-white); font-size: 22px; line-height: 1.2; font-weight: 700; text-wrap: balance; }
#faq .fq-cta p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.65; }
#faq .fq-cta-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
#faq .fq-cta-list li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; }
#faq .fq-cta-list svg { width: 17px; height: 17px; flex: 0 0 17px; }
#faq .fq-cta-actions { display: flex; flex-direction: column; gap: 9px; }
#faq .fq-cta .btn.primary {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 16px;
    border: 1px solid var(--lf-white); border-radius: 7px;
    color: var(--lf-blue-dark); background: var(--lf-white);
    font-size: 12px; font-weight: 700;
}
#faq .fq-cta .btn.secondary {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.55); border-radius: 7px;
    color: var(--lf-white); background: transparent;
    font-size: 12px; font-weight: 700;
}
#faq .fq-cta .btn.primary:hover { background: var(--lf-blue-light); border-color: var(--lf-blue-light); }
#faq .fq-cta .btn.secondary:hover { background: rgba(255,255,255,.12); border-color: var(--lf-white); }
@media (max-width: 900px) { #faq .fq { grid-template-columns: 1fr; } #faq .fq-cta { min-height: 230px; } }
@media (max-width: 560px) {
    #faq > .content-inner { padding-top: 56px; padding-bottom: 60px; }
    #faq .fq-panels { padding: 2px 15px; }
    #faq .fq-a { padding-right: 0; }
    #faq .fq-tabs { margin-right: -2px; }
    #faq .fq-cta { padding: 20px; }
}

/* ============================================================
   RECHTLICHE SEITEN
   ============================================================ */
body.impressum > section.legal-page,
body.datenschutz > section.legal-page {
    min-height: 60vh;
    padding: calc(var(--nav-height) + 34px) 0 72px;
    background: var(--lf-bg) !important;
}
body.impressum > section.legal-page .content-inner,
body.datenschutz > section.legal-page .content-inner {
    width: min(100% - 40px, 900px);
    padding: 34px clamp(20px, 5vw, 58px);
    border: 1px solid var(--lf-line);
    border-radius: 12px;
    background: var(--lf-surface);
    box-shadow: 0 6px 26px rgba(24,55,78,.04);
}
.legal-content h1 {
    margin: 0 0 26px;
    color: var(--lf-text);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.045em;
}
.legal-content h2 {
    margin: 28px 0 10px;
    color: var(--lf-blue);
    font-size: clamp(18px, 2.3vw, 22px);
    line-height: 1.3;
    font-weight: 700;
}
.legal-content h3 { margin: 22px 0 8px; color: var(--lf-text); font-size: 16px; font-weight: 700; }
.legal-content h4 { margin: 18px 0 7px; color: var(--lf-text); font-size: 14px; font-weight: 700; }
.legal-content p, .legal-content li { color: var(--lf-muted); font-size: 13px; line-height: 1.8; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul, .legal-content ol { margin: 8px 0 14px; padding-left: 22px; }
.legal-content li { margin: 4px 0; }
.legal-content a { color: var(--lf-blue); text-decoration: underline; overflow-wrap: anywhere; }
.legal-content a:hover { color: var(--lf-blue-dark); }
.legal-content .ta-right { margin-top: 28px; font-size: 11px; }
@media (max-width: 560px) {
    body.impressum > section.legal-page,
    body.datenschutz > section.legal-page { padding-top: calc(var(--nav-height) + 24px); }
    body.impressum > section.legal-page .content-inner,
    body.datenschutz > section.legal-page .content-inner {
        width: calc(100% - 28px);
        padding: 23px 18px;
        border-radius: 9px;
    }
    .legal-content h1 { margin-bottom: 20px; }
}

/* ============================================================
   FOOTER & KONTAKTFORMULAR
   ============================================================ */
.site-footer {
    color: var(--lf-text);
    background: #eaf1f6;
    border-top: 1px solid var(--lf-line);
}
.site-footer .footer-flex-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 72px);
    margin: 0 auto;
    padding: 64px 0 48px;
}
.site-footer .footer-flex-container figure { min-width: 0; margin: 0; }
.site-footer .footer-flex-container figure.left > figure { margin: 0; }
.site-footer h3 {
    margin: 0 0 12px;
    color: var(--lf-text);
    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.025em;
}
.site-footer p { color: var(--lf-muted); font-size: 13px; line-height: 1.75; }
.site-footer #kontakt { padding: 0; background: transparent; }
.site-footer #kontakt h3 { max-width: 560px; font-size: clamp(21px, 2.5vw, 28px); }
.site-footer #kontakt > p { margin: 0 0 22px; }
footer .pdf-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 190px));
    gap: 14px;
    margin-top: 24px;
    align-items: stretch;
    background: none;
}
.pdf-card {
    overflow: hidden;
    border: 1px solid var(--lf-line);
    border-radius: 9px;
    background: var(--lf-surface);
    box-shadow: 0 4px 16px rgba(24,55,78,.05);
    transition: box-shadow .2s ease, transform .2s ease;
}
.pdf-card:hover { box-shadow: 0 9px 22px rgba(24,55,78,.10); transform: translateY(-2px); }
.pdf-image { display: flex; align-items: center; justify-content: center; padding: 10px; background: #f1f5f8; aspect-ratio: 3 / 4; }
.pdf-image img { display: block; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.pdf-caption { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; color: var(--lf-text); background: var(--lf-surface); font-size: 11px; font-weight: 700; }
.pdf-icon { color: var(--lf-blue); font-size: 17px; }
#socket { padding: 18px 20px; border-top: 1px solid rgba(33,79,112,.13); background: #e3ebf2; }
.copyright { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 1240px); margin: 0 auto; color: var(--lf-muted); font-size: 11px; }
.cop-txt { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.copyright a { color: var(--lf-blue); font-weight: 700; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }

.contactForm { margin-top: 20px; }
.contactForm .field { margin-bottom: 16px; }
.contactForm .field .field-label { background: var(--lf-blue); border-radius: 5px; font-family: inherit; font-size: 10px; font-weight: 700; }
.contactForm .field input,
.contactForm .field textarea,
.contactForm .field select,
.contactForm .multiselect-search-box input {
    min-height: 48px;
    border: 1px solid #cbd9e3;
    border-radius: 7px;
    background: var(--lf-surface);
    color: var(--lf-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none;
}
.contactForm .field textarea { min-height: 135px; padding-top: 14px; }
.contactForm .field input:focus,
.contactForm .field textarea:focus,
.contactForm .field select:focus,
.contactForm .field input:hover,
.contactForm .field textarea:hover,
.contactForm .field select:hover {
    border-color: var(--lf-blue-mid);
    box-shadow: 0 0 0 3px rgba(58,109,145,.12);
}
.contactForm .file-field { border: 1px dashed #b8cad8; border-radius: 8px; background: var(--lf-surface); }
.contactForm .file-field .file-label { background: var(--lf-blue); }
.contactForm .file-field .file-btn { border: 1px solid var(--lf-blue); border-radius: 6px; color: var(--lf-blue); font-family: inherit; }
.contactForm .file-field .file-btn:hover,
.contactForm .file-field:hover .file-btn,
.contactForm .file-field.is-dragover .file-btn { background: var(--lf-blue); border-color: var(--lf-blue); color: var(--lf-white); }
.contactForm .file-field .file-icon { background: var(--lf-blue); }
.contactForm .file-field .file-remove { background: #ad4650; }
.contactForm .file-field .file-hint { color: var(--lf-muted); font-weight: 500; }
.contactForm .submit-button,
.contactForm button[type="submit"],
.contactForm .btn.primary {
    min-height: 48px;
    border: 1px solid var(--lf-blue);
    border-radius: 7px;
    color: var(--lf-white);
    background: var(--lf-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}
.contactForm .submit-button:hover,
.contactForm button[type="submit"]:hover,
.contactForm .btn.primary:hover { background: var(--lf-blue-dark); border-color: var(--lf-blue-dark); }
.contactForm .contact-direct-link { display: flex; justify-content: center; gap: 8px; margin: 7px 0; }

@media (max-width: 990px) {
    .site-footer .footer-flex-container { grid-template-columns: 1fr; gap: 38px; width: min(100% - 40px, 760px); }
}
@media (max-width: 600px) {
    .site-footer .footer-flex-container { width: calc(100% - 32px); padding: 46px 0 35px; gap: 34px; }
    footer .pdf-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pdf-caption { padding: 9px; font-size: 10px; }
    .copyright { flex-direction: column-reverse; align-items: center; text-align: center; }
}

/* ============================================================
   DIALOGE / FORM MODAL
   ============================================================ */
dialog::backdrop { background: rgba(14, 35, 51, .58); backdrop-filter: blur(4px); }
#kontaktModal {
    width: min(640px, calc(100vw - 28px));
    max-height: min(90dvh, 900px);
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--lf-line);
    border-radius: 13px;
    background: var(--lf-surface);
    color: var(--lf-text);
    box-shadow: 0 24px 70px rgba(10,30,45,.22);
    overflow: auto;
}
#kontaktModal .kontakt-modal-section h3 { max-width: 520px; padding-right: 26px; color: var(--lf-text); font-size: clamp(20px, 3vw, 26px); line-height: 1.3; }
#kontaktModal .kontakt-modal-section > p { margin: 10px 0 20px; font-size: 13px; line-height: 1.65; }
.close-modal { border-radius: 7px; background: var(--lf-surface); }

/* Buttons im übrigen Seiteninhalt */
.btn { border-radius: 7px; font-family: inherit; font-weight: 700; }
.btn.primary { color: var(--lf-white); background: var(--lf-blue); border-color: var(--lf-blue); }
.btn.primary:hover { background: var(--lf-blue-dark); border-color: var(--lf-blue-dark); }
.btn.secondary { color: var(--lf-blue); border-color: var(--lf-blue); }
.btn.secondary:hover { color: var(--lf-white); background: var(--lf-blue-dark); border-color: var(--lf-blue-dark); }

/* Fokus, Auswahl und reduzierte Bewegung */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(58,109,145,.55);
    outline-offset: 3px;
}
::selection { color: var(--lf-blue-dark); background: #d8e8f3; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
