/* ============================================================
   Copy & Druckcenter Bochum — Hauptstylesheet
   Modern · Animated · Accessible · Mobile-first
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand — Rot (wie Logo) */
  --brand-50:  #fff1f2;
  --brand-100: #ffe1e3;
  --brand-200: #ffc4c8;
  --brand-400: #ff5d6d;
  --brand-500: #e30613;   /* Hauptrot des Logos */
  --brand-600: #c30410;
  --brand-700: #a3030d;
  --brand-800: #82020a;
  --brand-900: #520105;

  --accent-500: #111111;  /* Schwarz wie Logo-„&"-Kreis */
  --accent-600: #000000;
  --accent-700: #000000;

  --warn:    #f59e0b;
  --success: #10b981;
  --danger:  #ef4444;

  /* Neutrals — Warme Creme/Grau Palette */
  --ink-900: #1c1917;
  --ink-800: #292524;
  --ink-700: #44403c;
  --ink-600: #57534e;
  --ink-500: #78716c;
  --ink-400: #a8a29e;
  --ink-300: #d6d3d1;
  --ink-200: #e7e5e4;
  --ink-100: #f5f5f4;
  --ink-50:  #fafaf9;
  --cream:   #fcfaf7;
  --paper:   #ffffff;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 2px 6px rgba(11,18,32,.04);
  --shadow:    0 6px 24px -8px rgba(11,18,32,.18), 0 2px 8px rgba(11,18,32,.06);
  --shadow-lg: 0 24px 60px -20px rgba(0,51,170,.32), 0 6px 18px rgba(11,18,32,.08);
  --shadow-glow: 0 10px 40px -8px rgba(0,102,255,.45);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 160ms;
  --dur:      280ms;
  --dur-slow: 520ms;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--brand-800); }
button { font-family: inherit; cursor: pointer; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p  { margin: 0 0 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Theme: Background style (Admin-gesteuert via body.bg-{gradient|glass|solid}) ── */
body.bg-gradient {
  background:
    radial-gradient(1200px 700px at 0% 0%, color-mix(in srgb, var(--brand-500) 10%, transparent), transparent 60%),
    radial-gradient(1000px 600px at 100% 100%, color-mix(in srgb, var(--accent-500) 10%, transparent), transparent 60%),
    linear-gradient(180deg, #fdfdff 0%, #fafaff 100%);
  background-attachment: fixed;
}
body.bg-glass {
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--brand-500) 14%, transparent), transparent 50%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--accent-500) 14%, transparent), transparent 50%),
    #f5f7fb;
  background-attachment: fixed;
}
body.bg-glass .card,
body.bg-glass .hero-combo,
body.bg-glass .lm-home-section,
body.bg-glass .student-badge-section {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.bg-glass .card {
  background: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.5);
}
body.bg-solid { background: #ffffff; }

/* ── Theme: Header style (Admin-gesteuert via body.hdr-{glass|solid|dark}) ── */
body.hdr-glass .brand-bar {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.5);
}
body.hdr-glass .main-nav-strip {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.hdr-glass .topbar { background: rgba(11,18,32,.92); backdrop-filter: blur(8px); }

body.hdr-solid .brand-bar { background: var(--header-bg); }
body.hdr-solid .main-nav-strip { background: var(--header-bg); }

body.hdr-dark .topbar { background: linear-gradient(90deg, #000 0%, #111 100%); }
body.hdr-dark .brand-bar {
  background: linear-gradient(135deg, #0b1220 0%, #1a2438 100%);
  color: #fff;
}
body.hdr-dark .brand-bar .header-search-wrap {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: none;
}
body.hdr-dark .brand-bar .header-search-wrap > svg { color: rgba(255,255,255,.7); }
body.hdr-dark .brand-bar .header-search-wrap input { color: #fff !important; }
body.hdr-dark .brand-bar .header-search-wrap input::placeholder { color: rgba(255,255,255,.55); }
body.hdr-dark .brand-bar .head-icon { color: #fff; background: rgba(255,255,255,.08); }
body.hdr-dark .brand-bar .head-icon:hover { background: rgba(255,255,255,.16); }
body.hdr-dark .brand-bar .menu-toggle { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
body.hdr-dark .main-nav-strip { background: #0b1220; border-color: rgba(255,255,255,.06); }
body.hdr-dark .main-nav-strip a { color: rgba(255,255,255,.78); }
body.hdr-dark .main-nav-strip a:hover { color: #fff; }
body.hdr-dark .main-nav-strip a.active { color: #fff; border-bottom-color: var(--brand-500); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.06); }

/* ── Pastel brand bar ─────────────────────────────────── */
.brand-bar {
  background: var(--header-bg, #b6d8e0);
  padding: 16px 0;
}
.brand-bar-inner {
  display: flex; align-items: center; gap: 24px;
}
.brand-bar .brand img { height: 56px; width: auto; max-width: 280px; display: block; }
.header-search-wrap {
  flex: 1; max-width: 600px; min-width: 0;
  background: #fff; border-radius: 99px;
  padding: 0 18px; height: 46px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s var(--ease);
}
.header-search-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(255,255,255,.6), 0 4px 14px rgba(0,0,0,.1);
}
.header-search-wrap > svg { color: #6b7383; flex-shrink: 0; }
.header-search-wrap input,
.header-search-wrap input[type="search"],
.header-search-wrap input[type="text"] {
  flex: 1 1 auto;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: .96rem;
  color: var(--ink-900);
  padding: 0;
  margin: 0;
  min-width: 0;
  height: auto;
  line-height: 1.4;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 0;
  font-family: inherit;
}
.header-search-wrap input:focus,
.header-search-wrap input:hover,
.header-search-wrap input:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Webkit / Mozilla / Edge: alle nativen Such-Decorationen verbergen */
.header-search-wrap input::-webkit-search-cancel-button,
.header-search-wrap input::-webkit-search-decoration,
.header-search-wrap input::-webkit-search-results-button,
.header-search-wrap input::-webkit-search-results-decoration { display: none !important; -webkit-appearance: none !important; }
.header-search-wrap input::-ms-clear,
.header-search-wrap input::-ms-reveal { display: none !important; width: 0; height: 0; }
.header-search-wrap input::-moz-focus-inner { border: 0; padding: 0; }
/* Native search-input X / decoration deaktivieren — sieht im runden Pill störend aus */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
  display: none; width: 0; height: 0;
}
.brand-actions {
  display: flex; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.head-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: background .15s var(--ease);
  text-decoration: none;
}
.head-icon:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ── Main horizontal nav strip ────────────────────────── */
.main-nav-strip {
  background: var(--header-bg, #b6d8e0);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.main-nav-strip ul {
  display: flex; gap: 0; list-style: none;
  margin: 0; padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav-strip ul::-webkit-scrollbar { display: none; }
.main-nav-strip li { flex-shrink: 0; }
.main-nav-strip a {
  display: block; padding: 14px 20px;
  color: var(--ink-700); font-weight: 600; font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all .15s var(--ease);
  border-bottom: 2px solid transparent;
}
.main-nav-strip a:hover { color: var(--brand-700); }
.main-nav-strip a.active {
  color: var(--brand-700); border-bottom-color: var(--brand-500);
}
.main-nav-strip a.cta-link { color: var(--brand-700); font-weight: 700; }
.main-nav-strip a.cta-link.active, .main-nav-strip a.cta-link:hover { color: var(--brand-800); }

/* Topbar separators + responsive */
.topbar { font-size: .82rem; }
.topbar .sep { opacity: .45; padding: 0 4px; }
.topbar-pill { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .brand-bar-inner { gap: 12px; }
  .brand-bar .brand img { height: 44px; max-width: 180px; }
  .header-search-wrap { height: 40px; padding: 0 14px; }
  .brand-actions .head-icon { width: 36px; height: 36px; }
}
@media (max-width: 540px) {
  .header-search-wrap input::placeholder { font-size: .85rem; }
  .header-search-wrap input { font-size: .9rem; }
}

/* ── Search results panel anchored below header ──────── */
.search-results-panel {
  position: sticky; top: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--ink-200);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.18);
  animation: searchDrop .18s var(--ease-out);
}
.search-results-panel .container { padding-top: 8px; padding-bottom: 12px; }

.topbar {
  background: linear-gradient(90deg, #111 0%, #1a1a1a 100%);
  color: #fff; font-size: .82rem; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.92); opacity: .9; transition: opacity .15s; text-decoration: none; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar-pill { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 720px) {
  .topbar { font-size: .75rem; padding: 6px 0; }
  .topbar > .container > div + div { display: none; } /* hide email block on mobile */
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img, .brand svg { height: 56px; width: auto; max-width: 320px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--ink-700); font-weight: 500; padding: 10px 14px;
  border-radius: var(--radius-sm); transition: all var(--dur-fast) var(--ease);
  position: relative;
}
.main-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a.active { color: var(--brand-700); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--brand-500); border-radius: 2px;
}

.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Mobile-Hamburger: Standard versteckt, ab 880px erscheint er */
.menu-toggle {
  display: none;
  background: rgba(0,0,0,.04);
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.menu-toggle:hover { background: var(--brand-50); border-color: var(--brand-300, var(--brand-500)); color: var(--brand-700); }
.menu-toggle.is-open { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
}

/* Mobile Drawer (slide from right) */
@media (max-width: 880px) {
  .main-nav-strip {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 1000;
    box-shadow: -16px 0 50px -10px rgba(0,0,0,.25);
    border: 0;
    overflow-y: auto;
  }
  .main-nav-strip.is-open { transform: translateX(0); }
  .main-nav-strip .container { padding: 70px 0 24px; }
  .main-nav-strip ul {
    flex-direction: column;
    gap: 4px;
    overflow: visible;
  }
  .main-nav-strip li { width: 100%; }
  .main-nav-strip a {
    display: flex; align-items: center;
    padding: 16px 26px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
  }
  .main-nav-strip a.active {
    background: var(--brand-50);
    border-left-color: var(--brand-500);
    color: var(--brand-800);
  }
  .main-nav-strip a.cta-link {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff !important;
    margin: 12px 20px;
    border-radius: 12px;
    border-left: 0;
    text-align: center;
    justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(29,141,181,.5);
  }
  /* Drawer overlay (Klick außerhalb schließt) */
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(11,18,32,.55);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
  }
  .nav-overlay.is-open { opacity: 1; pointer-events: auto; }
  /* Close button im Drawer */
  .nav-close {
    position: absolute; top: 14px; right: 14px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink-100); border: 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ink-700);
    z-index: 1;
  }
  .nav-close:hover { background: var(--brand-50); color: var(--brand-700); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 881px) {
  .nav-overlay, .nav-close { display: none; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: .96rem; line-height: 1; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
  color: #fff; box-shadow: 0 6px 20px -6px rgba(227,6,19,.6);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(227,6,19,.7);
  color: #fff;
}
.btn--accent {
  background: linear-gradient(180deg, var(--accent-500), var(--accent-700));
  color: #fff;
}
.btn--accent:hover { transform: translateY(-1px); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--ink-700); border-color: var(--ink-200);
}
.btn--ghost:hover { background: var(--ink-50); border-color: var(--ink-300); }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; border-radius: var(--radius); }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Icon-only button */
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--ink-200); color: var(--ink-700);
  cursor: pointer; transition: all .15s var(--ease);
}
.icon-btn:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }

/* ── Schlanke Suche unter Header ────────────────────── */
.search-panel-flat {
  position: sticky; top: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--ink-200);
  box-shadow: 0 12px 32px -16px rgba(0,0,0,.18);
  animation: searchDrop .18s var(--ease-out);
}
@keyframes searchDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.search-panel-flat .container { padding-top: 14px; padding-bottom: 14px; }
.search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 0;
  color: var(--ink-500);
}
.search-input-wrap input {
  flex: 1; border: 0; background: var(--ink-50);
  border-radius: 99px; padding: 12px 18px;
  font-size: 1rem; outline: none;
  color: var(--ink-900);
  transition: background .15s, box-shadow .15s;
}
.search-input-wrap input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px var(--brand-50), 0 0 0 4px var(--brand-200);
}
.search-input-wrap > svg { flex-shrink: 0; color: var(--brand-600); }
.search-input-wrap button {
  background: var(--ink-100); color: var(--ink-700);
  border: 0; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  flex-shrink: 0;
}
.search-input-wrap button:hover { background: var(--ink-200); }
.search-results { max-height: 60vh; overflow-y: auto; margin-top: 10px; }
.search-empty { padding: 24px; text-align: center; color: var(--ink-500); }
.search-hit {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: background .12s;
}
.search-hit:hover { background: var(--brand-50); color: inherit; }
.search-tag {
  font-size: .68rem; font-weight: 700;
  color: #fff; padding: 3px 8px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .03em;
  flex-shrink: 0;
}
.search-hit-text { flex: 1; min-width: 0; }
.search-hit-text strong { display: block; font-size: .95rem; font-weight: 600; }
.search-hit-text small { display: block; color: var(--ink-500); font-size: .8rem; margin-top: 2px; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(800px circle at 92% -10%, var(--brand-100), transparent 55%),
    radial-gradient(600px circle at -5% 110%, var(--brand-50), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero-grid { gap: 48px; }

/* ── Glass card holder for hero text ─────────────────── */
.hero-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-xl);
  padding: 32px 34px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.15);
  position: relative;
  z-index: 2;
  min-width: 0;   /* prevents content from pushing grid */
}
.hero-card h1 { word-wrap: break-word; overflow-wrap: break-word; }
.hero-card .lead { word-wrap: break-word; }
.hero-card::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(255,255,255,.6), transparent 50%);
  pointer-events: none; border-radius: inherit;
}

/* ── Animated photo collage on right ─────────────────── */
.hero-collage {
  position: relative; aspect-ratio: 1/1;
  max-width: 480px; margin-left: auto;
  display: grid; grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1.3fr; gap: 12px;
}
.hero-collage > div {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.25);
  position: relative;
}
.hero-collage > div:nth-child(1) { grid-row: span 2; }
.hero-collage > div img,
.hero-collage > div svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-collage > div { transition: transform .4s var(--ease); }
.hero-collage > div:nth-child(1) { animation: hcollage1 9s var(--ease) infinite alternate; }
.hero-collage > div:nth-child(2) { animation: hcollage2 8s var(--ease) infinite alternate; animation-delay: -1s; }
.hero-collage > div:nth-child(3) { animation: hcollage3 10s var(--ease) infinite alternate; animation-delay: -2s; }
.hero-collage > div:hover { transform: translateY(-6px) scale(1.02); z-index: 2; }
@keyframes hcollage1 { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-6px) rotate(0.5deg); } }
@keyframes hcollage2 { from { transform: translateY(-4px) rotate(1deg); } to { transform: translateY(2px) rotate(-1deg); } }
@keyframes hcollage3 { from { transform: translateY(2px) rotate(-1deg); } to { transform: translateY(-4px) rotate(1.5deg); } }

@media (max-width: 920px) {
  .hero-collage {
    max-width: 100%; aspect-ratio: 4/3;
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  }
  .hero-collage > div:nth-child(1) { grid-row: span 2; }
}
@media (max-width: 600px) {
  .hero-card { padding: 24px 22px; }
  .hero-grid { grid-template-columns: 1fr; }
}

/* ── Promo banner slideshow ───────────────────────────── */
.promo-banner {
  background: var(--header-bg, #b6d8e0);
  position: relative;
  overflow: hidden;
}
.promo-slides {
  position: relative;
  min-height: 420px;
}
.promo-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .6s var(--ease);
  display: flex; align-items: center;
  padding: 40px 0 60px;
}
.promo-slide.is-active { opacity: 1; pointer-events: auto; }
.promo-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 36px; align-items: center;
}
.promo-text { min-width: 0; }
.promo-eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 99px;
  background: rgba(255,255,255,.5); color: var(--brand-800);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 18px;
}
.promo-text h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 18px;
  color: var(--ink-900);
  line-height: 1.15;
}
.promo-list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.promo-list li {
  position: relative; padding-left: 28px;
  margin-bottom: 8px; font-size: 1.02rem;
  color: var(--ink-800);
}
.promo-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--brand-700);
  font-size: 1.1rem;
}
.promo-art {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.18);
  background: #fff;
}
.promo-art img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }

.promo-dots {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.promo-dots button {
  width: 32px; height: 4px;
  border: 0; border-radius: 99px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.promo-dots button:hover { background: rgba(255,255,255,.7); }
.promo-dots button.is-active { background: var(--brand-700); width: 56px; }

@media (max-width: 880px) {
  .promo-slides { min-height: auto; }
  .promo-slide { position: relative; padding: 32px 0 56px; }
  .promo-slide:not(.is-active) { display: none; }
  .promo-grid { grid-template-columns: 1fr; gap: 22px; }
  .promo-art { order: -1; }
}

/* ── Tiles grid — Glasmorphismus, größere Bilder, zentriert ──── */
.tiles-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);  /* 4 pro Reihe → 12 Tiles = 3 saubere Reihen */
  justify-content: center;
}
@media (max-width: 1080px) { .tiles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px)  { .tiles-grid { grid-template-columns: 1fr; } }

/* Letzte ungerade Karte: zentriert in der neuen Reihe (gleiche Größe wie andere) */
/* 4-Spalten: 13., 17., ... allein? → über volle Reihe zentrieren */
.tiles-grid > .tile:nth-child(4n+1):nth-last-child(1) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 22px * 3) / 4);  /* Breite = 1 Spalte */
}
.tiles-grid > .tile:nth-child(4n+2):nth-last-child(1) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 22px * 3) / 4);
}
/* 3-Spalten Tablet */
@media (max-width: 1080px) {
  .tiles-grid > .tile:nth-child(4n+1):nth-last-child(1),
  .tiles-grid > .tile:nth-child(4n+2):nth-last-child(1) { width: auto; }
  .tiles-grid > .tile:nth-child(3n+1):nth-last-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 22px * 2) / 3);
  }
  .tiles-grid > .tile:nth-child(3n+2):nth-last-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 22px * 2) / 3);
  }
}
/* 2-Spalten mobil — odd item bleibt einfach auf eigener Zeile, aber zentriert mit gleicher Breite */
@media (max-width: 760px) {
  .tiles-grid > .tile:nth-child(3n+1):nth-last-child(1),
  .tiles-grid > .tile:nth-child(3n+2):nth-last-child(1) { width: auto; }
  .tiles-grid > .tile:nth-child(2n+1):nth-last-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 14px) / 2);
  }
}
@media (max-width: 420px) {
  .tiles-grid > .tile:nth-child(2n+1):nth-last-child(1) {
    grid-column: 1; width: 100%;
  }
}

.tile {
  text-decoration: none; color: inherit; display: block;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 20px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow:
    0 4px 14px -4px rgba(11,18,32,.08),
    0 1px 0 rgba(255,255,255,.85) inset;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand-500) 8%, transparent) 0%,
    transparent 50%,
    color-mix(in srgb, var(--accent-500) 6%, transparent) 100%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
  border-radius: inherit;
}
.tile:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--brand-500) 30%, transparent);
  background: rgba(255,255,255,.78);
  box-shadow:
    0 28px 50px -16px color-mix(in srgb, var(--brand-500) 28%, transparent),
    0 10px 20px -8px rgba(11,18,32,.12),
    0 1px 0 rgba(255,255,255,.95) inset;
}
.tile:hover::before { opacity: 1; }

.tile-img {
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--brand-500) 16%, transparent) 0%,
      color-mix(in srgb, var(--accent-500) 12%, transparent) 100%);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 -3px 0 rgba(11,18,32,.04);
}
.tile-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--brand-700) 14%, transparent), transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}
.tile-img img, .tile-img svg {
  width: 75%; height: 75%; max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px color-mix(in srgb, var(--brand-700) 35%, transparent));
  transition: transform .5s var(--ease);
  position: relative; z-index: 1;
}
.tile:hover .tile-img img, .tile:hover .tile-img svg {
  transform: scale(1.10) translateY(-3px) rotate(-2deg);
}
.tile-label {
  text-align: center; font-weight: 700; font-size: 1rem;
  letter-spacing: -.005em;
  color: var(--ink-900);
  margin-bottom: 4px;
  position: relative;
}
.tile-label::after {
  content: '→';
  display: inline-block; margin-left: 6px;
  opacity: 0; transform: translateX(-6px);
  transition: all .25s ease;
  color: var(--brand-700);
}
.tile:hover .tile-label::after { opacity: 1; transform: translateX(0); }
.tile:hover .tile-label { color: var(--brand-700); }

@media (max-width: 640px) {
  .tile { padding: 14px 12px 14px; border-radius: 16px; }
  .tile-img { margin-bottom: 12px; border-radius: 11px; }
  .tile-img img, .tile-img svg { width: 72%; height: 72%; }
  .tile-label { font-size: .92rem; }
}

/* ── Service card with image ──────────────────────────── */
.service-card {
  position: relative; padding: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--radius); display: block;
  transition: all .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.18);
}
.service-card .service-img {
  aspect-ratio: 16/10; overflow: hidden; position: relative;
}
.service-card .service-img img,
.service-card .service-img svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .service-img img,
.service-card:hover .service-img svg { transform: scale(1.05); }
.service-card .service-body { padding: 22px 24px 24px; }
.service-card .service-body .icon {
  position: absolute; top: -28px; left: 22px;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px var(--brand-500);
  z-index: 2;
}
.service-card .service-body .icon svg { width: 28px; height: 28px; }
.service-card .service-body h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.service-card .service-body p { color: var(--ink-600); margin: 0 0 12px; min-height: 2.5em; font-size: .92rem; }
.service-card .arrow { color: var(--brand-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.service-card .arrow::after { content: '→'; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .arrow::after { transform: translateX(4px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--ink-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-200) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .25;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px;
  align-items: center;
}
@media (max-width: 1100px) { .hero-grid { gap: 36px; } }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(0,102,255,.08); color: var(--brand-700);
  font-weight: 600; font-size: .85rem; margin-bottom: 22px;
  border: 1px solid rgba(0,102,255,.18);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 99px; background: var(--success);
  box-shadow: 0 0 0 0 rgba(16,185,129,.5);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand-700), var(--accent-500));
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.15rem; color: var(--ink-600); max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 540px; }
.hero-stat {
  background: rgba(255,255,255,.6); border: 1px solid var(--ink-200);
  border-radius: var(--radius); padding: 14px 16px;
  backdrop-filter: blur(6px);
}
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--brand-800); font-weight: 800; }
.hero-stat span { font-size: .85rem; color: var(--ink-500); }

/* Hero illustration */
.hero-art {
  position: relative; min-height: 460px; max-width: 520px; margin-left: auto;
  display: block;
}
.hero-art .floater {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px;
  animation: float 6s var(--ease) infinite;
  border: 1px solid var(--ink-200);
}
.hero-art .floater--1 { top: 30px;  left: 0;     width: 280px; animation-delay: -1s; }
.hero-art .floater--2 { top: 180px; right: 0;    width: 220px; animation-delay: -3s; }
.hero-art .floater--3 { top: 320px; left: 60px;  width: 280px; animation-delay: -5s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(0.5deg); }
}
@media (max-width: 920px) {
  .hero-art { min-height: 360px; max-width: 100%; margin: 0 auto; }
  .hero-art .floater--1 { left: 0; width: 64%; }
  .hero-art .floater--2 { right: 0; width: 50%; top: 140px; }
  .hero-art .floater--3 { left: 20%; width: 60%; top: 260px; }
}
.hero-image-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; max-width: 540px; margin-left: auto;
}

/* ── Section spacing & headings ─────────────────────── */
section { padding: 80px 0; }
section.tight { padding: 48px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; padding: 4px 14px; border-radius: 99px;
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 600; font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 14px;
}

/* ── Service grid ────────────────────────────────────── */
.service-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.service-card {
  position: relative; background: #fff;
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  padding: 28px; overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse at top, rgba(0,102,255,.08), transparent 60%);
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px); border-color: var(--brand-200);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--ink-600); margin-bottom: 16px; min-height: 3em; }
.service-card .arrow { color: var(--brand-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-card .arrow::after { content: '→'; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .arrow::after { transform: translateX(4px); }

/* ── Feature strip ───────────────────────────────────── */
.feature-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius);
  background: var(--ink-50);
}
.feature .icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: #fff; color: var(--brand-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature h4 { margin: 0 0 4px; font-size: 1rem; }
.feature p { margin: 0; font-size: .9rem; color: var(--ink-600); }

/* ── Pricing tables ─────────────────────────────────── */
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.price-table th, .price-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.price-table th {
  background: var(--brand-50); color: var(--brand-800);
  font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr.highlight td {
  background: linear-gradient(90deg, rgba(255,211,58,.18), rgba(255,211,58,.05));
  font-weight: 600;
}
.price-table .price-cell { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brand-800); white-space: nowrap; }
.price-table .unit { font-size: .85rem; color: var(--ink-500); white-space: nowrap; }
.price-table tr:hover td { background: var(--brand-50); }
.price-table tr.highlight:hover td { background: linear-gradient(90deg, rgba(255,211,58,.28), rgba(255,211,58,.10)); }

/* ── Forms ──────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label {
  display: block; font-weight: 600; font-size: .9rem;
  margin-bottom: 6px; color: var(--ink-700);
}
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=search], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  background: #fff; transition: all var(--dur-fast) var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: 0; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(0,102,255,.15);
}
textarea { resize: vertical; min-height: 100px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.help { font-size: .85rem; color: var(--ink-500); margin-top: 4px; }

/* ── File upload ────────────────────────────────────── */
.dropzone {
  border: 2px dashed var(--ink-300); border-radius: var(--radius);
  padding: 36px 24px; text-align: center; background: var(--ink-50);
  transition: all var(--dur-fast) var(--ease); cursor: pointer;
}
.dropzone.is-over { border-color: var(--brand-500); background: var(--brand-50); }
.dropzone .icon { color: var(--brand-600); margin: 0 auto 10px; }
.dropzone strong { display: block; color: var(--ink-800); margin-bottom: 4px; }
.dropzone span { color: var(--ink-500); font-size: .9rem; }
.file-list { list-style: none; padding: 0; margin: 18px 0 0; }
.file-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm); margin-bottom: 8px; font-size: .9rem;
}
.file-list .x { margin-left: auto; cursor: pointer; color: var(--ink-500); border: 0; background: 0; }
.file-list .x:hover { color: var(--danger); }

/* ── Calculator ─────────────────────────────────────── */
.calc-wrap {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px;
  align-items: start;
}
@media (max-width: 920px) { .calc-wrap { grid-template-columns: 1fr; } }

.calc-summary {
  position: sticky; top: 110px;
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
  color: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg);
}
.calc-summary h3 { color: #fff; margin-bottom: 18px; }
.calc-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .94rem;
}
.calc-row:last-of-type { border-bottom: 0; }
.calc-row .lbl { opacity: .8; }
.calc-row .val { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-total {
  margin-top: 18px; padding-top: 18px; border-top: 2px solid rgba(255,255,255,.18);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.4rem; font-weight: 800;
}
.calc-total .val { color: #ffd33a; font-size: 2rem; }

/* ── Flash & Alerts ─────────────────────────────────── */
.flash {
  padding: 14px 18px; border-radius: var(--radius-sm);
  margin-bottom: 16px; border: 1px solid; font-weight: 500;
}
.flash--ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.flash--err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.flash--warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ── Modern 3D Öffnungszeiten Card ──────────────────── */
.hours-3d {
  position: relative;
  padding: 0; margin: 0 0 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.16);
  overflow: hidden;
  transform: perspective(1000px) rotateX(0deg);
  transition: transform .4s var(--ease);
}
.hours-3d::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,.15), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(255,255,255,.05), transparent 50%);
  pointer-events: none;
}
.hours-3d::after {
  content: ''; position: absolute; left: -50%; top: -50%;
  width: 200%; height: 60%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  pointer-events: none;
  animation: hoursShine 8s linear infinite;
}
@keyframes hoursShine {
  0% { transform: translateY(-30%) rotate(8deg); }
  100% { transform: translateY(170%) rotate(8deg); }
}
.hours-3d:hover { transform: perspective(1000px) rotateX(2deg) translateY(-2px); }
.hours-3d-inner {
  position: relative; z-index: 1;
  padding: 26px 28px;
  color: #fff;
}
.hours-head {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); padding: 5px 12px; border-radius: 99px;
  font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700;
}
.hours-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7);
  animation: hoursPing 2s var(--ease) infinite;
}
@keyframes hoursPing {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hours-row:last-of-type { border-bottom: 0; }
.hours-row span { opacity: .75; font-size: .92rem; }
.hours-row b { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.hours-divider {
  height: 1px; background: rgba(255,255,255,.18);
  margin: 16px 0;
  position: relative;
}
.hours-divider::before {
  content: ''; position: absolute; left: 50%; top: -3px; width: 32px; height: 7px;
  background: var(--accent-500); border-radius: 99px; transform: translateX(-50%);
  box-shadow: 0 0 16px var(--accent-500);
}
.hours-lastm strong {
  display: block; color: #fbbf24; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase;
}
.hours-lastm p { margin: 6px 0 8px; font-size: .9rem; line-height: 1.6; opacity: .92; }
.hours-lastm a { color: #fbbf24; font-weight: 700; font-size: 1.05rem; }

/* ── Footer contact list (clean alignment) ───────────── */
.footer-contact {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: .92rem; line-height: 1.4;
}
.footer-contact li {
  display: grid; grid-template-columns: 28px 1fr; gap: 8px;
  align-items: start;
}
.footer-contact .ic {
  display: inline-flex; justify-content: center;
  font-size: 1.05rem; line-height: 1.4;
}
.footer-contact a { color: rgba(255,255,255,.92); word-break: break-word; }
.footer-contact a:hover { color: #fff; }

/* ── Footer (harmonized with pastel header) ──────────── */
.site-footer {
  background:
    radial-gradient(800px 400px at 0% 0%, color-mix(in srgb, var(--brand-500) 30%, transparent), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, color-mix(in srgb, var(--accent-500) 25%, transparent), transparent 60%),
    linear-gradient(180deg, var(--brand-700) 0%, color-mix(in srgb, var(--brand-700) 60%, #0b1220) 100%);
  color: rgba(255,255,255,.88);
  padding: 56px 0 24px; margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-500) 0%, var(--accent-500) 100%);
}
.site-footer h4 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.10); }
section + .site-footer { margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: var(--ink-300); display: block; padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-brand img, .footer-brand svg {
  height: 58px; width: auto; display: block;
  background: transparent;
  /* Logo bleibt in seinen Originalfarben — leichter Schatten für Lesbarkeit */
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.30));
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  margin-top: 48px; display: flex; gap: 18px; flex-wrap: wrap;
  justify-content: space-between; font-size: .85rem;
}

/* ── Cookie banner ─────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 200; background: #fff; color: var(--ink-800);
  border-radius: var(--radius-lg); padding: 22px 26px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.35);
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--ink-200);
  transform: translateY(30px); opacity: 0;
  transition: all var(--dur-slow) var(--ease);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: .92rem; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Map placeholder ────────────────────────────────── */
.map-wrap { aspect-ratio: 16/9; background: var(--ink-100); border-radius: var(--radius); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 32px; text-align: center; gap: 16px;
}

/* ── Reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Minimal WhatsApp FAB (clean, single icon) ────────── */
.fab-wa-min {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.12);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab-wa-min:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,211,102,.5), 0 2px 6px rgba(0,0,0,.12);
}

/* ── Scroll-to-top FAB ────────────────────────────────── */
.fab-up {
  position: fixed; right: 18px; bottom: 80px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-700, #1d8db5); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(29,141,181,.35), 0 2px 6px rgba(0,0,0,.12);
  border: 0; cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .15s;
}
.fab-up.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-up:hover { background: var(--brand-800, #0d6e91); transform: translateY(-2px); }

@media (max-width: 540px) {
  .fab-wa-min { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .fab-wa-min svg { width: 22px; height: 22px; }
  .fab-up { width: 40px; height: 40px; right: 14px; bottom: 70px; }
  .fab-up svg { width: 18px; height: 18px; }
}

/* Tiny login lock in footer (clickable, accessible) */
.footer-lock {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-left: 10px;
  border-radius: 6px;
  opacity: .55;
  vertical-align: middle;
  color: #ffffff !important;
  background: rgba(255,255,255,.08);
  transition: opacity .2s, background .2s, transform .15s;
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
}
.footer-lock svg { width: 14px; height: 14px; pointer-events: none; }
.footer-lock:hover { opacity: 1; color: #fff !important; background: rgba(255,255,255,.22); transform: scale(1.08); }
.footer-lock:active { transform: scale(.95); }
.footer-lock svg { display: block; }

/* Mitarbeiter-Login als richtiger Link in der Rechtliches-Spalte */
.footer-staff-link {
  display: inline-flex !important;
  align-items: center;
  margin-top: 16px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .2s ease;
  border: 1px solid rgba(255,255,255,.12);
}
.footer-staff-link:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* ── Utility ───────────────────────────────────────── */
.text-center { text-align: center; }
.muted { color: var(--ink-500); }
.divider { height: 1px; background: var(--ink-200); margin: 36px 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: .75rem; }
.tag--accent { background: #fee; color: var(--accent-700); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Anti-Copy / Selection Protection ──────────────── */
body.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
/* Eingaben dürfen weiterhin ausgewählt werden */
body.no-select input,
body.no-select textarea,
body.no-select [contenteditable="true"],
body.no-select pre,
body.no-select code {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
/* Bilder schützen */
body.no-select img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

/* ── Splash Loading ────────────────────────────────────── */
body.has-splash { overflow: hidden; }
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .55s var(--ease);
  cursor: pointer;
  /* CSS-only failsafe: nach 4s automatisch ausblenden */
  animation: splashAutoHide 0s 4s forwards;
}
@keyframes splashAutoHide {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
#splash.done { opacity: 0; pointer-events: none; }
#splash::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--brand-100), transparent 50%),
    radial-gradient(circle at 70% 70%, var(--brand-50), transparent 50%);
  animation: splashBg 4s var(--ease) infinite alternate;
}
@keyframes splashBg {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.15) rotate(8deg); }
}
.splash-inner {
  position: relative; text-align: center;
  animation: splashIn 1s var(--ease-out);
}
.splash-inner img {
  max-width: 320px; max-height: 120px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.10));
  animation: logoFloat 2.5s var(--ease) infinite alternate;
}
@keyframes logoFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-8px) scale(1.04); }
}
@keyframes splashIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.splash-bar {
  width: 220px; height: 3px; margin: 24px auto 0;
  background: rgba(0,0,0,.06); border-radius: 99px; overflow: hidden;
}
.splash-bar > div {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  border-radius: 99px;
  animation: splashFill 1.4s var(--ease-out) forwards;
}
@keyframes splashFill { from { width: 0; } to { width: 100%; } }

/* ── Hero parallax with shop image ─────────────────── */
.hero-bg-photo {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.hero-bg-photo img {
  width: 100%; height: 110%; object-fit: cover;
  transform: translateY(-5%);
  filter: brightness(0.55) saturate(110%);
}
.hero-bg-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 80%, #fff 100%),
    linear-gradient(90deg, var(--brand-700)40 0%, transparent 60%);
}
.hero.with-photo { background: transparent; padding: 90px 0 100px; }
.hero.with-photo h1, .hero.with-photo p.lead { text-shadow: 0 2px 12px rgba(0,0,0,.35); color: #fff; }
.hero.with-photo h1 .accent { color: #ffd33a; -webkit-text-fill-color: #ffd33a; background: none; }
.hero.with-photo p.lead { color: rgba(255,255,255,.92); }
.hero.with-photo .hero-eyebrow { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }
.hero.with-photo .hero-stat { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(12px); }
.hero.with-photo .hero-stat strong { color: #fff; }
.hero.with-photo .hero-stat span { color: rgba(255,255,255,.85); }

/* ── Typewriter / Fill-in text ─────────────────────── */
.tw-line {
  overflow: hidden; display: inline-block;
  border-right: 3px solid; padding-right: 4px;
  white-space: nowrap;
  animation: tw-type 2.4s steps(28, end) .8s both, tw-cursor 1s step-end infinite alternate;
}
.tw-line.tw-2 { animation-delay: 3.4s, 4s; }
@keyframes tw-type { from { max-width: 0; } to { max-width: 100%; } }
@keyframes tw-cursor { 50% { border-color: transparent; } }
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp .9s var(--ease-out) forwards;
}
.fade-up.d1 { animation-delay: 6s; }
.fade-up.d2 { animation-delay: 6.4s; }
.fade-up.d3 { animation-delay: 6.8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── Glassmorphism utility ──────────────────────────── */
.glass {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 32px rgba(31,38,135,.10);
}

/* ── 3D card hover ──────────────────────────────────── */
.card-3d, .service-card { transform-style: preserve-3d; perspective: 800px; }
.card-3d:hover, .service-card:hover { transform: translateY(-4px); }

/* ── WhatsApp FAB ───────────────────────────────────── */
.fab-wa {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.fab-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; opacity: .6;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ── FAQ accordion ──────────────────────────────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: rgba(255,255,255,.7); backdrop-filter: blur(14px);
  overflow: hidden; transition: all .2s var(--ease);
}
.faq-item[open] { border-color: var(--brand-300, var(--brand-500)); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--brand-500);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 18px; margin: 0; color: var(--ink-600); line-height: 1.7; }

/* ── Print styles for invoices ──────────────────────── */
@media print {
  .site-header, .site-footer, .fab, .cookie-banner, .no-print { display: none !important; }
  body { background: #fff; }
  .print-page { padding: 0; max-width: 100%; }
}
