/* hiffelder-carneval.de – statischer Nachbau der Divi-Seite (Stand 06.11.2026) */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/space-grotesk-500.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/space-grotesk-700.woff2) format('woff2'); }
/* Wie im Original nur der Schnitt 400; die Buttons stehen auf 700 (vom Browser verstaerkt) */
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/roboto-flex-400.woff2) format('woff2'); }

:root {
  --orange: #fb7941;
  --orange-linie: #f99f78;
  --grau: #dfdfdf;
  --footer: #d9e0dd;
  --dunkel: #131313;
  --text: #959595;
  --schrift: 'Space Grotesk', Helvetica, Arial, Lucida, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 500 16px/1.7 var(--schrift); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; color: var(--dunkel); font-weight: 700; line-height: 1.2; }
h1 { font-size: 52px; } h2 { font-size: 44px; } h3 { font-size: 37px; } h4 { font-size: 31px; } h5 { font-size: 27px; } h6 { font-size: 24px; }
p { margin: 0; padding-bottom: 1em; }
p:last-child { padding-bottom: 0; }
strong { font-weight: 700; }

.section { position: relative; padding: 4% 0; }
.row { position: relative; width: 80%; max-width: 1440px; margin: 0 auto; padding: 2% 0; }
.zentriert { text-align: center; }

/* Hintergruende */
.bg-grau { background-color: var(--grau); background-image: linear-gradient(180deg, rgba(223,223,223,.63) 1%, #dfdfdf 100%), url(../img/hintergrund-luftschlangen.webp); background-size: contain; background-position: center; }
.bg-orange { background-color: var(--orange); overflow: hidden; }
.bg-orange-muster { background-color: var(--orange); background-image: linear-gradient(180deg, rgba(251,121,65,.84) 0%, #fb7941 100%), url(../img/hintergrund-luftschlangen.webp); background-size: cover; background-position: top; background-repeat: no-repeat; background-attachment: fixed; overflow: hidden; }

/* Buttons */
.btn-wrap { display: inline-block; transition: margin 300ms ease, transform 300ms ease; }
.btn { display: inline-block; font: 700 16px/1.7 'Roboto Flex', Helvetica, Arial, Lucida, sans-serif; letter-spacing: 1px; color: var(--dunkel); background: #fff; border: 2px solid var(--dunkel); padding: 10px 40px; box-shadow: 4px 4px 0 0 var(--dunkel); transition: all 300ms ease; }
.btn:hover { box-shadow: 0 0 0 0 var(--dunkel); transform: translate(4px, 4px); }
.btn-orange { background: var(--orange); }

/* ---------- Kopf ---------- */
.kopf-platz { position: relative; height: 208px; margin-bottom: -100px; background: var(--grau); }
.unterseite .kopf-platz { margin-bottom: 0; height: 209px; }
.kopf { position: absolute; top: 0; left: 0; right: 0; height: 208px; background: var(--grau); }
.kopf .kopf-row { position: relative; z-index: 3; width: 85%; max-width: 1440px; margin: 0 auto; }
.hauptnav ul { display: flex; justify-content: center; margin: -70px 0 0; padding: 0; list-style: none; transition: margin 300ms ease; }
.hauptnav li { display: flex; padding: 0 11px; }
.hauptnav li a { display: flex; align-items: center; font-size: 18px; font-weight: 500; line-height: 14px; color: var(--dunkel); padding: 31px 0; }
.hauptnav li.logo { width: 200px; max-width: 200px; padding-top: 100px; transition: max-width 300ms ease, padding 300ms ease; }
.hauptnav li.logo a { padding: 0; display: block; }
.hauptnav li.logo img { width: 178px; height: auto; }
.kopf.fest { position: fixed; z-index: 10000; height: 108px; }
.kopf.fest .hauptnav ul { margin-top: 0; }
.kopf.fest .hauptnav li.logo { max-width: 130px; padding-top: 0; }
.kopf.fest .hauptnav li.logo img { width: 108px; }

.kopf-mobil { display: none; }
.mobilmenu { display: none; }

/* ---------- Startseite ---------- */
.hero { position: relative; padding: 4% 0; }
.hero h1 { font-size: 72px; max-width: 550px; margin: 13px auto 0; text-align: center; }
.hero .btn-zeile { margin-top: 31px; text-align: center; }

.helau { padding: 20px 0 10px; }
.helau .row { padding: 0; }
.helau h3 { font-size: 37px; text-align: center; }

.ueber .row { display: flex; align-items: center; justify-content: space-between; }
.ueber .spalte { width: 47.25%; }
.ueber .bildbox { position: relative; height: 450px; }
.ueber .bildbox img { position: absolute; top: 0; left: 0; width: 500px; max-width: 100%; border-radius: 100%; animation: schweben 5s ease-in-out -3s infinite alternate; }
@keyframes schweben { 0% { transform: translateY(0); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0); } }
.ueber p { line-height: 1.8; }
.ueber h1 { margin-bottom: 10px; }
@media (min-width: 981px) { .ueber .row { align-items: flex-start; } .ueber .textspalte { margin-top: 58px; } }

.termine-sektion .row { padding: 0; }
.termine-sektion .kopfzeile { padding-bottom: calc(2.5% + 10px); text-align: center; }
.termin { border-top: 1px solid var(--orange-linie); padding: 25px 0 25px; }
.termin h3 { font-size: 32px; width: 75%; }
.termin p { font-size: 16px; font-weight: 700; line-height: 1.5; color: rgba(255,255,255,.75); width: 75%; margin-top: -1px; padding-bottom: 0; }

.aktive { padding: 4vw 0; }
.aktive h2 { text-align: center; padding-top: 1px; }
.karussell { position: relative; }
.karussell-fenster { overflow: hidden; transition: height 300ms ease; }
.karussell-spur { display: flex; align-items: flex-start; gap: 15px; transition: transform 300ms ease; }
.karte { flex: 0 0 calc((100% - 30px) / 3); background: #f7f9f8; padding: 20px; }
.karte h4 { font-size: 32px; }
.karte p { color: #3d3d3d; }
.karussell-pfeil { position: absolute; top: 50%; width: 60px; height: 60px; margin-top: -30px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--dunkel); }
.karussell-pfeil svg { width: 26px; height: 30px; fill: currentColor; }
.karussell-pfeil { opacity: .45; transition: opacity .2s; }
.karussell-pfeil:hover, .karussell-pfeil:focus-visible { opacity: .8; }
.karussell-pfeil.zurueck { left: -60px; }
.karussell-pfeil.weiter { right: -60px; }

.galerie-sektion { padding: 0 0 4vw; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding-bottom: 25px; }
.galerie a { display: block; position: relative; overflow: hidden; }
.galerie img { width: 100%; transition: transform 300ms ease; }
.galerie a::after { content: ""; position: absolute; inset: 0; background: var(--orange); opacity: 0; transition: opacity 300ms ease; }
.galerie a:hover img { transform: scale(1.1); }
.galerie a:hover::after { opacity: .3; }

.aktuelles .kopfzeile { padding-bottom: 10px; }
.aktuelles h1 { text-align: center; }
.code-box { background: #fff; padding: 5%; }
.ig-feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ig-post { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--grau); }
.ig-post img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 300ms ease; }
.ig-post::after { content: ""; position: absolute; inset: 0; background: var(--orange); opacity: 0; transition: opacity 300ms ease; }
.ig-post:hover img { transform: scale(1.1); }
.ig-post:hover::after { opacity: .3; }
.ig-datum { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 4px 10px; background: var(--orange); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; line-height: 1.4; }
.ig-leer { grid-column: 1 / -1; text-align: center; padding: 0; }
.ig-feed:has(.ig-vorschau) { grid-template-columns: repeat(3, 1fr); }
.ig-feed:has(.ig-vorschau) .ig-leer { padding-top: 15px; }
.ig-leer a { color: inherit; text-decoration: underline; }

.mitglied .row { padding: 0; }
.mitglied h1 { font-size: 62px; max-width: 500px; margin: 0 auto; text-align: center; }
.mitglied .btn-zeile { margin-top: 20px; text-align: center; }

/* ---------- Fuss ---------- */
.fuss { background: var(--footer); padding: 7vw 0; }
.fuss .row { padding: 0; display: flex; justify-content: space-between; }
.fuss .spalte { width: 31.3333%; }
.fuss .spalte-1 { padding-right: 20px; }
.fuss .spalte-2 { padding: 0 40px 0 127px; }
.fuss .spalte-3 { padding-left: 17px; }
.fuss-titel { font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--dunkel); padding: 0; margin-bottom: 20px; }
.fuss h3 { font-size: 24px; }
.fuss ul { list-style: none; margin: 0; padding: 0; line-height: 1.7; }
.fuss .fuss-text { margin-bottom: 16px; padding-bottom: 0; }
.fuss .nav-liste { margin-top: 9.2px; }
.fuss .nav-liste li:not(:last-child) { margin-bottom: 12px; }
.fuss .nav-liste a { color: #9e9e9e; }
.fuss .kontakt-liste { margin-top: 16.2px; margin-bottom: 20px; }
.fuss .kontakt-liste li:not(:last-child) { margin-bottom: 12px; }
.fuss .kontakt-liste a { color: var(--text); }
.fuss .nav-liste a:hover, .fuss .kontakt-liste a:hover { color: var(--orange); }
.social { display: flex; }
.social li + li { margin: 0 2px; }
.social a { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-right: 8px; border: 2px solid var(--dunkel); border-radius: 50%; box-shadow: 2px 2px 0 0 var(--dunkel); color: #010002; transition: border 300ms ease, box-shadow 300ms ease, color 300ms ease; }
.social li:last-child a { margin-right: 0; }
.social a.instagram { background: #fff; }
.social a.facebook { background: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social a:hover { border-color: #fc7942; box-shadow: none; color: #fc7942; }

.leiste { background: var(--orange); }
.leiste .row { display: flex; justify-content: space-between; align-items: flex-start; }
.leiste p { padding: 0; }
.leiste p, .leiste a { color: #000; }
.leiste .trenner { color: #c44b1f; }
.leiste .credit { display: block; color: var(--dunkel); margin-top: 4.2px; }

/* ---------- Unterseiten ---------- */
.inhalt-impressum { padding: 4% 0; }
.inhalt-impressum .row h2 { font-size: 44px; }
.inhalt-impressum p:last-of-type { padding-bottom: 0; }
.inhalt-datenschutz .row { padding: 58px 0 0; }
.inhalt-datenschutz h1 { margin-bottom: 20px; }
.inhalt-datenschutz ul { padding: 0 0 23px 16px; margin: 0; line-height: 26px; }
.inhalt-datenschutz .rechtstext { padding-bottom: 100px; }
.abstand-100 { height: 100px; }
.inhalt-datenschutz .rechtstext a, .inhalt-impressum a { color: var(--orange); }
.fehlerseite { padding: 4% 0 8%; }
.fehlerseite ul { padding-left: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(11,11,11,.8); display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); box-shadow: 0 0 8px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 44px/1 Arial, sans-serif; cursor: pointer; padding: 10px 18px; opacity: .65; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-zu { top: 0; right: 0; }
.lightbox .lb-zurueck { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox .lb-weiter { right: 0; top: 50%; transform: translateY(-50%); }

/* ---------- Tablet und Mobil ---------- */
@media (min-width: 1800px) {
  .section, .hero { padding: 72px 0; }
  .row { padding: 36px 0; }
}
@media (max-width: 980px) {
  .section, .hero { padding: 50px 0; }
  .helau { padding: 20px 0 10px; }
  .row { padding: 30px 0; }
  .kopf-platz, .unterseite .kopf-platz { height: 121px; margin-bottom: 0; }
  .kopf { display: none; }
  .kopf-mobil { display: block; position: absolute; top: 0; left: 0; right: 0; height: 121px; background: var(--grau); z-index: 99; }
  .kopf-mobil.fest { position: fixed; z-index: 10000; }
  .kopf-mobil .row { padding: 0; height: 121px; display: flex; align-items: center; justify-content: space-between; }
  .kopf-mobil .logo img { width: 120px; }
  .menu-knopf { width: 32px; height: 32px; margin-right: 6px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--orange); }
  .menu-knopf svg { width: 32px; height: 32px; fill: currentColor; }
  .mobilmenu { position: absolute; top: 100%; left: 10%; width: 80%; margin: 0; padding: 15px; list-style: none; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 2px 5px rgba(0,0,0,.1); }
  .mobilmenu.offen { display: block; }
  .mobilmenu a { display: block; padding: 10px 5%; font-size: 18px; line-height: 26px; color: var(--dunkel); border-bottom: 1px solid rgba(0,0,0,.03); }
  .hero h1 { margin-top: 0; }
  .hero .btn-zeile { margin-top: 30px; }
  .ueber .row { display: block; }
  .ueber .spalte { width: 100%; }
  .ueber .bildspalte { margin-bottom: 30px; }
  .ueber .textspalte { padding-top: 24px; }
  .ueber .bildbox { height: 500px; }
  .termine-sektion .kopfzeile { padding-bottom: 40px; }
  .termin { padding: 25px 0 5px; text-align: center; }
  .termin h3, .termin p { width: auto; }
  .aktive { padding: 4vw 0; }
  .karte { flex-basis: calc((100% - 15px) / 2); }
  .karussell-pfeil { width: 20px; height: 20px; margin-top: -10px; }
  .karussell-pfeil svg { width: 18px; height: 20px; }
  .karussell-pfeil.zurueck { left: -20px; }
  .karussell-pfeil.weiter { right: -20px; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .ig-feed, .ig-feed:has(.ig-vorschau) { grid-template-columns: repeat(2, 1fr); }
  .galerie-sektion { padding: 0 0 4vw; }
  .code-box { padding: 5%; }
  .fuss { padding: 7vw 0; }
  .fuss .row { display: block; }
  .fuss .spalte, .fuss .spalte-1, .fuss .spalte-2, .fuss .spalte-3 { width: 100%; padding: 0; }
  .fuss .spalte-1 { padding-right: 20px; }
  .fuss .spalte:not(:last-child) { margin-bottom: 30px; }
  .fuss .nav-liste, .fuss .kontakt-liste { margin-top: 30px; }
  .leiste .row { display: block; }
  .leiste .credit { text-align: center; }
  .inhalt-impressum { padding: 50px 0; }
}
@media (max-width: 767px) {
  h1, .ueber h1, .aktuelles h1, .mitglied h1 { font-size: 40px; }
  .hero h1 { font-size: 42px; }
  .ueber .bildbox { height: 300px; }
  .ueber .bildbox img { width: 300px; }
  .termin { padding: 15px 0; }
  .termin h3 { font-size: 24px; }
  .termin p { font-size: 15px; }
  .fuss .spalte-1 { padding-right: 0; }
  .karte { flex-basis: 100%; }
  .karussell-pfeil { width: 40px; height: 40px; margin-top: -20px; }
  .karussell-pfeil svg { width: 18px; height: 20px; }
  .karussell-pfeil.zurueck { left: -40px; }
  .karussell-pfeil.weiter { right: -40px; }
  .galerie { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ueber .bildbox img { animation: none; }
  html { scroll-behavior: auto; }
}
