/* Gemeinsames Stylesheet der Unterseiten (Impressum, Datenschutz, Im Aufbau) —
   Header/Navbar und Footer entsprechen der Startseite (index.html), der Header
   ist hier dauerhaft dunkel und klebt oben (kein Hero darunter). */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font-family: 'Manrope', system-ui, sans-serif; background: #FBF8F4; color: #1a1a1a; -webkit-font-smoothing: antialiased; min-height: 100svh; display: flex; flex-direction: column; }
img { max-width: 100%; }
a { color: #A3560C; }
a:hover { color: #7A3F07; }
a:focus-visible, button:focus-visible { outline: 3px solid #F7932E; outline-offset: 3px; border-radius: 6px; }
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #F7932E; color: #1a1a1a; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header (wie Startseite, dauerhaft dunkel, klebt oben) ---------- */
header { position: sticky; top: 0; z-index: 50; background: rgba(34,24,15,0.96); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.nav-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; min-height: 44px; }
.brand img { height: 56px; width: auto; display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 15px; font-weight: 800; }
.brand-txt span { font-size: 12.5px; color: rgba(255,255,255,0.75); }
.nav-desk { display: none; align-items: center; gap: 2px; }
.nav-desk > a, .dd-btn { padding: 10px 11px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.9); text-decoration: none; background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.nav-desk > a:hover, .dd-btn:hover { color: #F7932E; }
.nav-desk > a.nav-cta { margin-left: 8px; padding: 10px 18px; font-weight: 700; color: #1a1a1a; background: #F7932E; border-radius: 10px; }
.nav-desk > a.nav-cta:hover { background: #FFA94D; color: #1a1a1a; }
.dd-wrap { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; }
.dd-pane { position: absolute; top: 100%; left: 0; padding-top: 8px; display: none; }
.dd-wrap.open .dd-pane { display: block; }
.dd-menu { min-width: 240px; padding: 8px; background: rgba(34,24,15,0.97); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); display: flex; flex-direction: column; }
.dd-menu a { display: block; padding: 11px 16px; font-size: 14.5px; font-weight: 500; color: #fff; text-decoration: none; border-radius: 8px; }
.dd-menu a:hover { background: rgba(255,255,255,0.08); color: #F7932E; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
#mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,0.1); padding: 8px 20px 20px; flex-direction: column; gap: 2px; max-height: calc(100vh - 70px); overflow-y: auto; }
header.menu-open #mobile-menu { display: flex; }
header.menu-open { background: rgba(34,24,15,0.97); }
#mobile-menu > a { padding: 14px 4px; font-size: 17px; font-weight: 500; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
.m-sub-wrap { border-bottom: 1px solid rgba(255,255,255,0.08); }
.m-sub-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font: inherit; font-size: 17px; font-weight: 500; color: #fff; background: transparent; border: 0; cursor: pointer; text-align: left; }
.m-sub-btn svg { transition: transform 0.2s; }
.m-sub-wrap.open .m-sub-btn svg { transform: rotate(180deg); }
#m-sub-schule { display: none; flex-direction: column; padding-bottom: 8px; border-left: 2px solid #F7932E; margin: 0 0 6px 4px; }
.m-sub-wrap.open #m-sub-schule { display: flex; }
#m-sub-schule a { padding: 12px 4px 12px 18px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.85); text-decoration: none; }
.m-cta { margin-top: 14px; padding: 14px 18px !important; font-size: 17px; font-weight: 700 !important; color: #1a1a1a !important; background: #F7932E; border-radius: 12px; text-align: center; border-bottom: 0 !important; }

/* ---------- Inhalt (Rechtsseiten) ---------- */
main { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 48px 20px 72px; }
main h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.intro { font-size: 15px; color: #6b6259; margin-bottom: 36px; }
main h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 12px; }
main h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
main p, main address, main li { font-size: 16px; line-height: 1.7; color: #3a3530; }
main p + p { margin-top: 10px; }
main ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
main address { font-style: normal; }
.card { background: #fff; border: 1px solid #EDE5DB; border-radius: 16px; padding: 22px 24px; margin: 12px 0; }

/* ---------- Inhalt (Seite im Aufbau) ---------- */
main.aufbau { max-width: none; display: flex; align-items: center; justify-content: center; padding: 56px 20px; }
.aufbau-box { max-width: 560px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.aufbau-box svg { color: #F7932E; }
.aufbau-box h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 0; }
.aufbau-box p { font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 14px 24px; min-height: 48px; border-radius: 12px; background: #F7932E; color: #1a1a1a; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn:hover { background: #FFA94D; color: #1a1a1a; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Footer (wie Startseite) ---------- */
footer { position: relative; z-index: 2; background: #22180F; color: rgba(255,255,255,0.82); }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 56px 20px 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.foot-grid h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #F7932E; margin: 0 0 6px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 220px; height: auto; }
footer address { font-style: normal; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
footer address a { color: #fff; text-decoration: underline; text-decoration-color: rgba(247,147,46,0.7); text-underline-offset: 4px; }
.foot-siegel { width: 200px; max-width: 100%; padding: 10px 12px; background: #fff; border-radius: 12px; }
.foot-siegel img { display: block; width: 100%; height: auto; }
.foot-legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; font-size: 14px; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-legal nav a { color: rgba(255,255,255,0.88); padding: 6px 0; text-decoration: none; }
.foot-legal nav a:hover { color: #F7932E; }
.foot-legal .foot-credit a { color: rgba(255,255,255,0.88); text-decoration: none; }
.foot-legal .foot-credit a:hover { color: #F7932E; }
.foot-legal nav a[aria-current="page"] { font-weight: 700; color: #F7932E; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .nav-in { padding: 12px 40px; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .nav-in { padding: 10px 16px; }
  .brand img { height: 44px; }
  .foot-in { padding: 44px 16px 24px; }
  .foot-grid { gap: 32px; }
  .foot-grid > * { align-items: center !important; text-align: center; }
  .foot-brand { align-items: center; }
  footer address a { justify-content: center; }
  .foot-legal { justify-content: center; text-align: center; flex-direction: column; }
  .foot-siegel { margin: 0 auto; }
}
@media (min-width: 1100px) {
  .nav-desk { display: flex; }
  .burger { display: none; }
}
