/* fnvs.de – statischer Nachbau der Divi-Seite (Werte am Original gemessen, 06.11.2026) */
@font-face { font-family: "Moriston Regular"; font-display: swap; src: url("../fonts/moriston-regular.woff2") format("woff2"); }
@font-face { font-family: "Moriston bold"; font-display: swap; src: url("../fonts/moriston-bold.woff2") format("woff2"); }

:root {
  --navy: #0e2050; --navy-kopf: #001a4d; --navy-tief: #05123a; --gruen: #49b170;
  --rose: #eee5e9; --text: #3f5e5a; --grau: #777771;
  --regular: "Moriston Regular", Helvetica, Arial, Lucida, sans-serif;
  --bold: "Moriston bold", Helvetica, Arial, Lucida, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 500 16px/1.7em var(--regular); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; font-family: var(--bold); font-weight: 400; line-height: 1em; color: var(--navy); }
h1 { font-size: 32px; } h2 { font-size: 27px; } h3 { font-size: 23px; } h4 { font-size: 19px; } h5 { font-size: 16px; } h6 { font-size: 15px; }
p { margin: 0; padding-bottom: 1em; }
p:last-child, p.mod { padding-bottom: 0; }
a { color: var(--gruen); text-decoration: none; }
ul { margin: 0; padding: 0 0 23px 1em; line-height: 26px; list-style: disc; }
ul:last-child { padding-bottom: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
strong { font-weight: 700; }
[id] { scroll-margin-top: 79px; }

/* Raster (Divi: Row 80 %/1080 px, Gutter 3 = 5,5 %, Gutter 2 = 3 %) */
.section { position: relative; padding: 4% 0; background-color: #fff; }
.row { position: relative; width: 80%; max-width: 1080px; margin: 0 auto; padding: 2% 0; }
.cols { display: flex; align-items: flex-start; }
.col { position: relative; }
.c-half { width: 47.25%; margin-right: 5.5%; }
.c-third { width: 29.6667%; margin-right: 5.5%; }
.g2 > .c-quarter { width: 22.75%; margin-right: 3%; }
.cols > .col:last-child { margin-right: 0; }
.mod { margin-bottom: 2.75%; }
.c-half > .mod { margin-bottom: 5.82%; }
.c-third > .mod { margin-bottom: 9.27%; }
.g2 > .c-half > .mod { margin-bottom: 3.093%; }
.g2 > .c-quarter > .mod { margin-bottom: 6.593%; }
.mod:last-child, .col > .mod:last-child { margin-bottom: 0; }
.sr-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.kicker { letter-spacing: 2px; }

@media (min-width: 1350px) {
  .section { padding: 54px 0; }
  .row { padding: 27px 0; }
}

/* Buttons */
.btn { display: inline-block; padding: .5rem 2rem; border-radius: 3px; background: var(--gruen); color: #fff; font-size: 16px; line-height: 1.7em; text-transform: uppercase; transition: all 300ms ease; }
.btn-wrap { transition: transform 300ms ease; }
.btn-wrap .btn:hover { transform: scale(1.05); }
.btn--navy { background: var(--navy); }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 99; background: var(--navy-kopf); }
.header-inner { width: 90%; max-width: 1170px; margin: 0 auto; padding: 20px 0; }
.menu-box { position: relative; max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.logo { display: block; width: 300px; max-width: 100%; }
.logo img { display: block; width: 300px; height: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 12px; color: #fff; font-size: 14px; line-height: 14px; text-transform: uppercase; }
.btn-kopf { display: flex; align-items: center; justify-content: center; height: 36px; padding: 10px 25px; background: var(--gruen); color: #fff; font-size: 16px; line-height: 16px; text-transform: uppercase; }
.nav-toggle { display: none; }
.nav-kontakt { display: none; }
@media (max-width: 1139px) {
  .btn-kopf { display: none; }
  .nav-kontakt { display: block; }
}
.site-header--unterseite .header-inner { display: block; }
.site-header--unterseite .logo { width: 300px; }

/* Hero */
.hero { padding: 5rem 0 10rem !important; background-color: #061335; background-image: linear-gradient(90deg, rgba(0,12,48,.91) 0%, rgba(0,12,48,.64) 100%), url("../img/hintergrund-stadt-werbung.jpg"); background-size: cover; background-position: center top 29%; background-repeat: no-repeat; }
.hero > .row { padding: 0; }
.hero .kicker { margin-top: 37px !important; margin-bottom: 14px !important; font-family: var(--bold); color: rgba(255,255,255,.6); }
.hero h1 { margin-bottom: 14px !important; font-weight: 700; line-height: 1.4em; color: #fff; }
.hero .lead { max-width: 477px; font-size: 18px; line-height: 1.6em; color: var(--rose); }
.float-bilder { position: relative; height: 450px; }
.float-bilder img { position: absolute; max-width: 50%; animation: schweben 5s ease-in-out infinite alternate; will-change: transform; }
.float-bilder img:nth-child(1) { max-width: 60%; left: 30%; top: 0; animation-delay: -3s; }
.float-bilder img:nth-child(2) { max-width: 55%; left: 0; top: 30%; animation-delay: -5s; }
.float-bilder img:nth-child(3) { left: 50%; top: 30%; animation-delay: -7s; }
@keyframes schweben { from { transform: translateY(10px); } to { transform: translateY(-10px); } }
.divider-unten, .divider-oben { position: absolute; left: 0; width: 100%; height: 100px; z-index: 1; pointer-events: none; background-size: 100% 100px; background-repeat: no-repeat; }
.divider-unten { bottom: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cg fill='%23FFFFFF'%3E%3Cpath d='M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z' fill-opacity='.5'/%3E%3Cpath d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z'/%3E%3C/g%3E%3C/svg%3E"); }
.divider-oben { top: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cg fill='%23EEE5E9'%3E%3Cpath d='M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V0H0v90.72z' fill-opacity='.5'/%3E%3Cpath d='M0 0v47.44L170 0l626.48 94.89L1110 87.11l170-39.67V0H0z'/%3E%3C/g%3E%3C/svg%3E"); }

/* Abschnitts-Köpfe */
.kopf-zentriert h2 { margin-bottom: 13px !important; text-align: center; }
.kopf-zentriert p { text-align: center; }

/* Vorteile */
.karte { padding: 20px; background: var(--navy); text-align: center; transition: transform 300ms ease; }
.karte:hover { transform: scale(1.05); }
.karte-icon { display: block; width: 50px; height: 50px; margin: 0 auto 30px; }
.karte h3 { font-size: 18px; line-height: 1.2em; color: #fff; }
.karte p { color: #ddd; }

/* Werbeflächen */
.rose { background-color: var(--rose); }
.werbe-kopf .kicker { margin-bottom: 14px !important; color: var(--navy); text-align: center; }
.werbe-kopf h2 { margin-bottom: 14px !important; font-size: 32px; line-height: 1.4em; text-align: center; }
.werbeflaeche h3 { font-size: 16px; }

/* Karussells */
.carousel { position: relative; }
.carousel-stage { position: relative; }
.carousel-viewport { overflow: hidden; transition: height 300ms ease; }
.carousel-track { display: flex; align-items: flex-start; gap: 15px; transition: transform 300ms ease; will-change: transform; }
.carousel-track.ohne-animation { transition: none; }
.slide { flex: 0 0 calc((100% - 30px) / 3); min-width: 0; }
.carousel--eins .slide { flex-basis: 100%; }
.slide figure { display: flex; justify-content: flex-start; margin: 0; line-height: 0; }
.slide figure img { display: block; align-self: center; }
.slide-text { padding: 20px; text-align: center; }
.slide-text h3 { font-size: 19px; }
.carousel-pfeil { position: absolute; top: 50%; z-index: 10; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-top: -30px; padding: 0; border: 0; background: none; color: #666; cursor: pointer; }
.carousel-pfeil svg { width: 12px; height: 20px; }
.carousel-pfeil[disabled] { opacity: .35; cursor: auto; }
.carousel-zurueck { left: -60px; }
.carousel-weiter { right: -60px; }
.carousel-punkte { position: absolute; left: 0; width: 100%; z-index: 10; display: flex; justify-content: center; line-height: 0; }
.carousel-punkte button { width: 8px; height: 8px; margin: 0 4px; padding: 0; border: 0; border-radius: 100%; background: rgba(0,0,0,.2); cursor: pointer; }
.carousel-punkte button[aria-current="true"] { background: rgba(0,0,0,.75); }

.ablauf { background-color: var(--gruen); }
.ablauf .kopf-zentriert p { color: rgba(255,255,255,.75); }
.carousel--ablauf .slide figure { justify-content: center; }
.carousel--ablauf .slide figure img { width: 100px; }
.carousel--ablauf .slide-text h3 { color: #fff; }
.carousel--ablauf .slide-text p { color: rgba(255,255,255,.73); }
.carousel--ablauf .carousel-pfeil { color: rgba(255,255,255,.3); }
.carousel--ablauf .carousel-punkte { top: calc(100% + 15px); }
.carousel--ablauf .carousel-punkte button { background: rgba(255,255,255,.2); }
.carousel--ablauf .carousel-punkte button[aria-current="true"] { background: rgba(255,255,255,.8); }

.carousel--standorte .carousel-stage { margin-bottom: -6px; }
.carousel--standorte .carousel-punkte { top: calc(100% + 9px); }
.carousel--standorte .slide figure img { width: 100%; }

.team-box { padding-top: 20px; border: 1px solid #aaa; border-radius: 10px; }
.carousel--team .carousel-stage { margin-bottom: 20px; }
.carousel--team .carousel-punkte { top: calc(100% + 14px); }
.carousel--team .slide figure { justify-content: center; }
.carousel--team .slide figure img { border-radius: 100%; }
.carousel--team .slide-text p { margin-top: 20px; color: var(--navy); }
.carousel--team .slide-text p.rolle { margin-top: 0; padding-bottom: 0; color: var(--text); }
.carousel--team .slide-text a { color: var(--navy); }

/* Über uns */
.ueber .kicker { margin-top: 20px !important; margin-bottom: 14px !important; color: var(--navy); }
.ueber h2 { margin-bottom: 14px !important; font-size: 32px; }
.logo-box { max-width: 300px; padding: 1rem; background: var(--navy); }
.logo-box img { display: block; }

/* Kontakt-CTA */
.cta { padding: 10rem 0 5rem !important; background-color: var(--gruen); background-image: linear-gradient(180deg, rgba(73,177,112,.86) 0%, rgba(73,177,112,.84) 100%), url("../img/hintergrund-stadt-werbung.jpg"); background-size: cover; background-position: center top 51%; background-repeat: no-repeat; }
.cta > .row { padding: 0; }
.cta .kicker { margin-bottom: 23px !important; font-family: var(--bold); color: rgba(255,255,255,.6); text-align: center; }
.cta h2 { max-width: 650px; margin: 0 auto 14px !important; line-height: 1.4em; color: #fff; text-align: center; }
.cta .row > .mod:last-child { text-align: center; }

/* Fuß */
.site-footer { background: var(--navy-kopf); }
.footer-haupt { padding: 4rem 0 5rem; }
.footer-haupt .row, .footer-unten .row { width: 90%; max-width: 1170px; }
.footer-haupt .row { padding: 27px 0 0; }
.g2 > .c-half { width: 48.5%; margin-right: 3%; }
.footer-logo { display: block; max-width: 250px; }
.footer-logo img { display: block; width: 250px; }
.footer-text { max-width: 400px; margin-top: 35px !important; color: #ccc; line-height: 1.8em; }
.site-footer h2 { padding-bottom: 10px; font-size: 16px; line-height: 1em; color: var(--gruen); }
.footer-nav { margin: 0; padding: 0; list-style: none; line-height: 26px; }
.footer-nav li { border-bottom: 1px solid var(--text); padding: 5px 0; }
.footer-nav--1 li:first-child { padding-top: 0; }
.footer-nav--2 { margin-top: 40px !important; }
.footer-nav a { display: flex; align-items: center; color: #fff; line-height: 1.7em; }
.footer-nav svg { flex: none; width: 14px; height: 14px; color: var(--gruen); }
.footer-nav span { padding-left: 5px; }
.footer-unten { padding: 20px 0; background: var(--navy-tief); }
.footer-unten .row { padding: 0; }
.footer-unten p { font-size: 15px; line-height: 1.5em; color: rgba(255,255,255,.55); }
.footer-unten a { color: #fff; }
.footer-unten .rechts { text-align: right; }

/* Unterseiten */
.inhalt h1 { font-size: 32px; }
.rechtstext h3 { font-size: 23px; }
.rechtstext h4 { font-size: 19px; }
.rechtstext { word-wrap: break-word; }
.vorlauf, .vorlauf-formular { padding-top: 16px; }
.bildquellen-tabelle { width: 100%; margin: 0 0 15px; border: 1px solid #eee; border-collapse: separate; border-spacing: 0; text-align: left; }
.bildquellen-tabelle th { padding: 9px 24px; color: #555; font-weight: 700; text-align: left; }
.bildquellen-tabelle td { padding: 6px 24px; border-top: 1px solid #eee; }
.bildquellen-tabelle td img { vertical-align: baseline; }
.bildquellen-tabelle .thumb { width: 150px; }

/* Kontaktformular (Forminator „Material“ nachgebaut) */
.kontaktformular { margin: 30px 0; }
.f-row { margin-bottom: 30px; }
.f-field { position: relative; padding-top: 20px; }
.f-field > label.schwebend { position: absolute; top: 30px; left: 0; color: #888; font-size: 16px; line-height: 20px; font-weight: 400; pointer-events: none; transform-origin: left top; transition: transform 200ms ease, color 200ms ease; }
.f-input { display: block; width: 100%; height: 41px; margin: 0; padding: 10px 0 9px; border: 0; border-bottom: 1px solid var(--grau); border-radius: 0; background: transparent; color: #000; font: 400 16px/20.8px var(--regular); outline: 0; -webkit-appearance: none; appearance: none; }
.f-input:focus { border-bottom-color: var(--gruen); }
.f-input:focus + label.schwebend, .f-input:not(:placeholder-shown) + label.schwebend { transform: translateY(-28px) scale(.75); color: var(--grau); }
.f-label { display: block; color: var(--grau); font-size: 12px; font-weight: 700; line-height: 20px; }
.f-radios { display: flex; flex-wrap: wrap; }
.f-radio { display: flex; align-items: center; margin: 10px 20px 0 0; color: #000; font-size: 15px; line-height: 20px; font-weight: 400; cursor: pointer; }
.f-radio:last-child { margin-right: 0; }
.f-radio input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.f-radio .bullet { position: relative; width: 20px; height: 20px; border: 2px solid var(--grau); border-radius: 40px; }
.f-radio input:checked + .bullet::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gruen); }
.f-radio input:focus-visible + .bullet { outline: 2px solid var(--gruen); outline-offset: 2px; }
.f-radio .bullet + span { margin-left: 10px; }
.f-gruppe { padding: 20px 20px 30px 25px; border-radius: 4px; background: rgba(248,248,248,.5); box-shadow: inset 5px 0 0 0 rgba(221,221,221,.5); }
.f-gruppe .f-row:last-child { margin-bottom: 0; }
.f-datei { display: flex; align-items: center; }
.f-datei input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.f-button { display: inline-block; white-space: nowrap; height: 40px; padding: 10px; border: 0; border-radius: 2px; background: var(--gruen); color: #fff; font: 500 14px/20.3px var(--regular); cursor: pointer; }
.f-datei .f-button { margin-right: 10px; }
.f-datei .dateiname { min-width: 0; margin-right: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--grau); font-size: 12px; line-height: 27.2px; }
.f-textarea { display: block; width: 100%; height: 140px; padding: 29px 9px 9px; border: 1px solid var(--grau); border-radius: 2px; background: transparent; color: #000; font: 400 16px/20px var(--regular); resize: vertical; outline: 0; }
.f-textarea:focus { border-color: var(--gruen); }
.f-field--textarea > label.schwebend { top: 29px; left: 10px; }
.f-field--textarea { padding-top: 0; }
.f-textarea:focus + label.schwebend, .f-textarea:not(:placeholder-shown) + label.schwebend { transform: translateY(-20px) scale(.75); color: var(--grau); }
.f-zaehler { margin-top: 5px; color: var(--grau); font-size: 12px; line-height: 18px; text-align: right; }
.f-hinweis p { padding: 0; }
.f-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-meldung { margin-bottom: 20px; padding: 10px 15px; border-radius: 2px; font-size: 15px; line-height: 1.5; }
.f-meldung:empty { display: none; }
.f-meldung.ok { background: #e9f6ee; color: #1f6b3c; }
.f-meldung.fehler { background: #fbeaea; color: #8a1f1f; }
.f-input.error, .f-textarea.error { border-color: #c0392b; }

/* Tablet und Handy (Divi ≤ 980 px) */
@media (max-width: 980px) {
  .section { padding: 50px 0; }
  .row { padding: 30px 0; }
  .cols { display: block; }
  .cols > .col { width: 100%; margin-right: 0; margin-bottom: 30px; }
  .cols > .col:last-child { margin-bottom: 0; }
  .cols--umgekehrt { display: flex; flex-direction: column-reverse; }
  .mod, .c-half > .mod, .c-third > .mod, .g2 > .c-half > .mod, .g2 > .c-quarter > .mod { margin-bottom: 30px; }
  .col > .mod:last-child { margin-bottom: 0; }
  .g2.cols--viertel { display: flex; flex-wrap: wrap; }
  .g2.cols--viertel > .c-quarter { width: 47.25%; margin-right: 5.5%; }
  .g2.cols--viertel > .c-quarter:nth-child(2n) { margin-right: 0; }
  .g2.cols--viertel > .c-quarter:nth-last-child(-n+2) { margin-bottom: 0; }
  .hero .kicker { margin-top: 10rem !important; }
  .werbe-kopf .kicker { margin-top: 30px !important; }
  .slide { flex-basis: 100%; }
  .carousel--ablauf .carousel-zurueck, .carousel--standorte .carousel-zurueck { left: 0; }
  .carousel--ablauf .carousel-weiter, .carousel--standorte .carousel-weiter { right: 0; }
  .menu-box { flex-direction: column; align-items: flex-start; }
  .main-nav, .btn-kopf { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 5px; padding: 2px; border: 0; background: none; color: #666; cursor: pointer; }
  .nav-toggle svg { width: 32px; height: 32px; }
  .nav-toggle .icon-zu, .nav-toggle[aria-expanded="true"] .icon-auf { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-zu { display: block; }
  .main-nav.open { display: block; position: absolute; top: 85px; left: 50%; z-index: 100; width: 270px; padding: 15px; border-top: 3px solid #666; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.1); transform: translateX(-50%); }
  .main-nav.open ul { display: block; }
  .main-nav.open a { padding: 10px 20px; border-bottom: 1px solid rgba(0,0,0,.03); color: #666; font-size: 14px; line-height: 28px; text-transform: none; }
  .main-nav.open a[aria-current="page"] { color: #000; }
  .nav-kontakt { display: block; }
  .footer-haupt { padding: 2rem 0 1rem; }
  .footer-haupt .row, .footer-unten .row { max-width: 90%; }
  .footer-nav--2 { margin-top: 50px !important; }
  .footer-unten p { margin-top: -10px; }
  .footer-unten .cols { display: flex; }
  .footer-unten .cols > .col { margin-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .footer-haupt .cols { display: flex; flex-wrap: wrap; }
  .footer-haupt .cols > .c-half { width: 100%; }
  .footer-haupt .cols > .c-quarter { width: 47.25%; margin-right: 5.5%; margin-bottom: 0; }
  .footer-haupt .cols > .c-quarter:last-child { margin-right: 0; }
}
@media (max-width: 767px) {
  .site-header:not(.site-header--unterseite) .header-inner { height: 110px; }
  .hero .kicker { margin-top: 0 !important; }
  .float-bilder { height: 320px; }
  .g2.cols--viertel { display: block; }
  .g2.cols--viertel > .c-quarter, .g2.cols--viertel > .c-quarter:nth-last-child(-n+2) { width: 100%; margin-right: 0; margin-bottom: 30px; }
  .g2.cols--viertel > .c-quarter:last-child { margin-bottom: 0; }
  .footer-haupt { padding-bottom: 3rem; }
  .footer-nav--2 { margin-top: 0 !important; }
  .footer-nav--1 li:last-child { padding-bottom: 5px; }
  .footer-unten .cols { display: block; }
  .footer-unten p { line-height: 1.3em; text-align: center; }
  .footer-unten .rechts { text-align: center; }
  .footer-unten .links p { margin-bottom: 20px; }
  .bildquellen-tabelle thead { display: none; }
  .bildquellen-tabelle td { display: block; width: 100%; text-align: center; word-break: break-word; }
  .bildquellen-tabelle td img { margin: auto; }
  .bildquellen-tabelle td:nth-child(2)::before { content: "Quelle: "; display: block; font-size: .8rem; font-weight: 600; }
}
@media (max-width: 782px) {
  .f-row { margin-bottom: 20px; }
  .f-datei .f-button { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .float-bilder img { animation: none; }
  .carousel-track { transition: none; }
  html { scroll-behavior: auto; }
}
