/* Aidera Website: gemeinsame Styles fuer Unterseiten (Impressum, Datenschutz, AVV, General Terms). */
[hidden] { display: none !important; }
html { scroll-padding-top: 72px; }

.container { max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: clamp(20px, 5vw, 40px); padding-right: clamp(20px, 5vw, 40px); }

.page-head { background: #FFFFFF; border-bottom: 1px solid #E8EAED; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-head .kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #2E6B7F; }
.page-head h1 { margin: 0; max-width: 16em; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; color: #031E3F; text-wrap: balance; }
.page-head .lead { margin: 16px 0 0; max-width: 40em; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: #5B6472; }

.legal { max-width: 760px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(72px, 9vw, 120px); font-size: 16px; line-height: 1.65; color: #5B6472; overflow-wrap: anywhere; }
.legal section { margin-top: 44px; }
.legal section:first-child { margin-top: 0; }
.legal h2 { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #031E3F; }
.legal h3 { margin: 22px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7480; }
.legal h4 { margin: 18px 0 8px; font-size: 16px; font-weight: 600; color: #031E3F; }
.legal .h-annex { margin: 0 0 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; text-transform: none; color: #031E3F; }
.legal .h-annex.small { font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { list-style: none; margin: 0 0 14px; padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal .strong { color: #031E3F; font-weight: 500; }
.legal .muted { color: #6B7480; }
.legal .sub { margin: 22px 0 8px; font-weight: 600; color: #031E3F; }
.legal .lines { margin: 0 0 14px; color: #031E3F; }
.legal .lines p { margin: 0; }
.legal .notice { font-size: 13.5px; line-height: 1.8; color: #6B7480; }
.legal .note { font-size: 14px; font-style: italic; color: #6B7480; }
.legal .small { font-size: 13px; }
.legal .indent { padding-left: 24px; }
.legal a { color: #2E6B7F; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46, 107, 127, 0.4); }
.legal a:hover { color: #031E3F; text-decoration-color: currentColor; }
.legal .link { word-break: break-all; }
.legal .divider-top { border-top: 1px solid #E8EAED; padding-top: 36px; margin-top: 48px; }
.legal .card-row { border-bottom: 1px solid #E8EAED; padding-bottom: 20px; margin-bottom: 20px; font-size: 15px; }
.legal .grid-2 { display: grid; gap: 10px 24px; margin-bottom: 8px; }
@media (min-width: 640px) { .legal .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.legal .table-wrap { overflow-x: auto; margin: 0 0 14px; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; border: 1px solid #E8EAED; }
.legal th, .legal td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #E8EAED; }
.legal th { background: #F6F7F9; color: #031E3F; font-weight: 600; }
.legal .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #E8EAED; font-size: 13.5px; color: #6B7480; }
.legal .meta p { margin: 0; }
.legal .meta a { color: #6B7480; text-decoration: none; }
.legal .meta a:hover { color: #031E3F; }
.legal .download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid #D5D9DF; background: #FFFFFF; color: #031E3F; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.legal .download:hover { border-color: #031E3F; color: #031E3F; }

/* ---- Footer (alle Seiten) ---- */
.site-footer { background: #FFFFFF; border-top: 1px solid #E8EAED; color: #5B6472; font-size: 14px; line-height: 1.55; }
.site-footer-inner { max-width: 1160px; margin: 0 auto; padding: clamp(40px, 5vw, 56px) clamp(20px, 5vw, 40px) 24px; }
.site-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 48px; }
.site-footer-brand { flex: 1 1 240px; max-width: 320px; }
.site-footer-logo { display: block; width: 90px; height: 23px; }
.site-footer-claim { margin: 16px 0 0; color: #031E3F; font-weight: 500; }
.site-footer-address { margin: 10px 0 0; font-size: 13px; color: #6B7480; }
.site-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; flex: 2 1 480px; }
@media (min-width: 720px) { .site-footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer-heading { margin: 0 0 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7480; }
.site-footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer-col li { margin: 0 0 8px; }
.site-footer-col a { color: #5B6472; text-decoration: none; overflow-wrap: anywhere; }
.site-footer-col a:hover { color: #031E3F; }
.site-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #E8EAED; font-size: 13.5px; color: #6B7480; }
.site-footer-bottom p { margin: 0; }
.site-footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.site-footer-bottom nav a { display: inline-flex; align-items: center; min-height: 36px; color: #6B7480; text-decoration: none; }
.site-footer-bottom nav a:hover, .site-footer-cookie:hover { color: #031E3F; }
.site-footer-cookie { display: inline-flex; align-items: center; min-height: 36px; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: #6B7480; cursor: pointer; }

/* ---- Cookie-Hinweis ---- */
.cookie-banner { font-family: Geist, "Aidera Body", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 100; max-width: 400px; margin-left: auto; padding: 18px 18px 16px; border-radius: 14px; border: 1px solid #E8EAED; background: #FFFFFF; box-shadow: 0 24px 48px -20px rgba(3, 30, 63, 0.35); font-size: 13.5px; line-height: 1.55; color: #5B6472; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: #031E3F; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-banner button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 9px; font: inherit; font-weight: 600; cursor: pointer; }
.cookie-banner .cookie-accept { border: 1px solid #031E3F; background: #031E3F; color: #FFFFFF; }
.cookie-banner .cookie-essential { border: 1px solid #D5D9DF; background: #FFFFFF; color: #031E3F; }
.cookie-banner .cookie-accept:hover { background: #134A7A; border-color: #134A7A; }
.cookie-banner .cookie-essential:hover { border-color: #031E3F; }

/* ---- YouTube-Embed mit Einwilligung ---- */
.yt-embed { position: absolute; inset: 0; }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #FFFFFF; }
.yt-consent p { margin: 0; max-width: 32em; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.yt-consent-accept { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: #FFFFFF; color: #031E3F; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.yt-consent-accept:hover { background: #F6F7F9; }
.yt-consent a { font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.yt-consent a:hover { color: #FFFFFF; }

/* ---- Header (alle Seiten) ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #E8EAED; }
.site-header-inner { max-width: 1160px; margin: 0 auto; padding: 10px clamp(20px, 5vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header-logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header-logo svg { display: block; width: 90px; height: 23px; fill: #031E3F; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #5B6472; text-decoration: none; }
.site-nav a:hover { color: #031E3F; }
.site-nav .site-lang-mobile { display: none; }
.site-header-actions { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-lang { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid #D5D9DF; background: #FFFFFF; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; color: #031E3F; text-decoration: none; }
.site-lang:hover { border-color: #031E3F; color: #031E3F; }
.site-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; box-sizing: border-box; padding: 0 22px; border-radius: 10px; background: #031E3F; color: #FFFFFF; font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.site-cta:hover { background: #134A7A; color: #FFFFFF; }
.site-menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: 10px; background: none; color: #031E3F; cursor: pointer; }
.site-menu-toggle .icon-close { display: none; }
.site-menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.site-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px clamp(20px, 5vw, 40px) 14px; background: #FFFFFF; border-bottom: 1px solid #E8EAED; box-shadow: 0 24px 40px -24px rgba(3, 30, 63, 0.3); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 50px; font-size: 16px; border-top: 1px solid #F0F2F5; }
  .site-nav a:first-child { border-top: 0; }
  .site-nav .site-lang-mobile { display: inline-flex; justify-content: flex-start; min-height: 50px; min-width: 0; padding: 0; border: 0; border-top: 1px solid #F0F2F5; border-radius: 0; font-size: 16px; font-weight: 400; letter-spacing: 0; color: #5B6472; }
  .site-header-actions .site-lang { display: none; }
  .site-menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .site-cta { padding: 0 14px; font-size: 14px; }
}

/* ---- Reveal beim Scrollen (nur mit JS und ohne Reduced Motion) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
}
