/* =========================================================================
   Embedded And More – Stylesheet
   Keine Frameworks. Farben und Abstände zentral als Variablen unten.
   ========================================================================= */

:root {
  --bg: #020617;          /* slate-950 */
  --bg-2: #0f172a;        /* slate-900 */
  --line: #1e293b;        /* slate-800 */
  --line-2: #334155;      /* slate-700 */
  --text: #f1f5f9;        /* slate-100 */
  --text-2: #e2e8f0;      /* slate-200 */
  --text-3: #cbd5e1;      /* slate-300 */
  --muted: #94a3b8;       /* slate-400 */
  --muted-2: #64748b;     /* slate-500 */
  --cyan: #22d3ee;        /* cyan-400 */
  --cyan-2: #06b6d4;      /* cyan-500 */
  --blue: #3b82f6;        /* blue-500 */
  --blue-2: #2563eb;      /* blue-600 */
  --purple: #9333ea;
  --yellow: #facc15;
  --red: #ef4444;
  --green: #16a34a;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue));
  --grad-btn: linear-gradient(90deg, var(--cyan-2), var(--blue-2));
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 72px;
  --max: 1280px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
/* Das Attribut hidden muss immer gewinnen, auch gegen display-Regeln wie bei img */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sprachumschaltung ---------- */
/* Lange Textblöcke stehen doppelt im HTML (.lang-de / .lang-en). */
html[lang="de"] .lang-en, html[lang="en"] .lang-de { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 25px -5px rgba(6,182,212,.3); }
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 10px 30px -5px rgba(6,182,212,.45); }
.btn-outline { border: 1px solid var(--line-2); color: var(--text-3); }
.btn-outline:hover { background: var(--line); color: var(--cyan); }
.btn-dark { background: var(--line); color: var(--text); }
.btn-dark:hover { background: var(--line-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.menu-open { background: rgba(2,6,23,.95); backdrop-filter: blur(12px); box-shadow: 0 10px 15px -3px rgba(6,182,212,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 768px) { .header-inner { height: 80px; } }

.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan-2), var(--blue-2)); color: #fff;
  box-shadow: 0 10px 15px -3px rgba(6,182,212,.3); transition: transform .2s;
}
.logo:hover .logo-mark { transform: scale(1.06); }
.logo-text { font-size: 1.25rem; font-weight: 700; }

.main-nav { display: none; align-items: center; gap: 32px; }
.main-nav a { color: var(--text-3); font-weight: 500; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--cyan); }
.nav-sep { width: 1px; height: 24px; background: var(--line); }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; color: var(--text-3); font-weight: 600; text-transform: uppercase; font-size: .875rem; }
.lang-btn:hover { color: var(--cyan); background: rgba(30,41,59,.5); }
.mobile-actions { display: flex; align-items: center; gap: 4px; }
.menu-btn { padding: 8px; color: var(--text-3); border-radius: 6px; }
.menu-btn:hover { color: var(--cyan); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: rgba(15,23,42,.98); padding: 12px 16px 16px; }
.site-header.menu-open .mobile-nav { display: block; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: 8px; color: var(--text-3); }
.mobile-nav a:hover { color: var(--cyan); background: rgba(30,41,59,.5); }
.logo-text, .main-nav a { white-space: nowrap; }
/* Desktop-Navigation erst ab 1024 px – darunter passt sie nicht in eine Zeile */
@media (min-width: 1024px) {
  .main-nav { display: flex; gap: 24px; }
  .mobile-actions, .mobile-nav, .site-header.menu-open .mobile-nav { display: none; }
}
@media (min-width: 1200px) { .main-nav { gap: 32px; } }

/* ---------- Sektionen allgemein ---------- */
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h1, .section-head h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }
.divider { height: 4px; width: 96px; margin: 0 auto 16px; border-radius: 99px; background: var(--grad-btn); }
.page { padding: 112px 0 80px; min-height: 100vh; position: relative; overflow: hidden; }

.bg-dots { background-image: radial-gradient(circle at 2px 2px, rgba(6,182,212,.05) 1px, transparent 0); background-size: 40px 40px; }
.bg-grid { background-image: linear-gradient(rgba(6,182,212,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,.03) 1px, transparent 1px); background-size: 50px 50px; }
.glow { position: absolute; width: 384px; height: 384px; border-radius: 50%; filter: blur(64px); pointer-events: none; z-index: 0; }
.glow-cyan { background: rgba(6,182,212,.10); }
.glow-blue { background: rgba(37,99,235,.10); }
.section > .container, .page > .container, .hero > .container { z-index: 1; }

.card {
  background: rgba(15,23,42,.5); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.3);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card-hover:hover { border-color: rgba(6,182,212,.5); box-shadow: 0 25px 50px -12px rgba(6,182,212,.12); transform: translateY(-5px); }

.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(6,182,212,.12), rgba(37,99,235,.12)); color: var(--cyan);
  transition: transform .3s;
}
.card:hover .icon-box { transform: scale(1.1); }

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 144px 0 80px; overflow: hidden; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,51,68,.2), var(--bg) 50%); }
.hero .glow { animation: pulse 4s ease-in-out infinite; }
.hero .glow-1 { top: 25%; left: 25%; }
.hero .glow-2 { bottom: 25%; right: 25%; animation-delay: .7s; background: rgba(59,130,246,.10); }
@keyframes pulse { 50% { opacity: .5; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px;
  background: rgba(6,182,212,.1); border: 1px solid rgba(6,182,212,.2); color: var(--cyan); font-size: .875rem; font-weight: 500;
}
.hero h1 { font-size: clamp(2.25rem, 7vw, 4.5rem); font-weight: 700; margin: 24px 0; }
.hero h1 .line-1 { background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .line-2 { color: var(--text-2); }
.hero-text { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 48rem; margin: 0 auto; }
.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 32px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-img { margin: 80px auto 0; max-width: 896px; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 25px 50px -12px rgba(6,182,212,.2); }

/* ---------- Leistungen ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.service { padding: 24px; display: flex; flex-direction: column; }
.service .icon-box { margin-bottom: 20px; }
.service h3 { font-size: 1.125rem; margin-bottom: 12px; color: var(--text); transition: color .3s; }
.service:hover h3 { color: var(--cyan); }
.service > p { color: var(--muted); font-size: .875rem; flex-grow: 1; margin-bottom: 24px; }
.feature-list { border-top: 1px solid rgba(30,41,59,.5); padding-top: 16px; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 8px; font-size: .78rem; color: var(--muted-2); line-height: 1.45; }
.feature-list li::before { content: ""; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 8px rgba(6,182,212,.5); flex-shrink: 0; }
.service:hover .feature-list li { color: var(--muted); }

/* ---------- Projekte ---------- */
.projects { background: linear-gradient(to bottom, var(--bg), var(--bg-2)); padding: 96px 0; }
.project { padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; border-radius: var(--radius-lg); }
.project .icon-box { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 24px; }
.project h3 { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; transition: color .3s; }
.project p { color: var(--muted); }
a.project:hover h3 { color: var(--cyan); }
.project .arrow { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; color: var(--cyan); }
a.project:hover .arrow { opacity: 1; transform: none; }
.project .more { margin-top: 20px; font-size: .875rem; font-weight: 600; color: var(--cyan); display: inline-flex; gap: 6px; align-items: center; }
.tone-yellow .icon-box { background: rgba(250,204,21,.1); color: var(--yellow); }
.tone-blue .icon-box { background: rgba(96,165,250,.1); color: #60a5fa; }
.tone-purple .icon-box { background: rgba(192,132,252,.1); color: #c084fc; }
.tone-yellow:hover { border-color: rgba(250,204,21,.5); }
.tone-blue:hover { border-color: rgba(96,165,250,.5); }
.tone-purple:hover { border-color: rgba(192,132,252,.5); }

/* ---------- Preise ---------- */
.plans { max-width: 72rem; margin: 0 auto; align-items: stretch; }
.plan { position: relative; padding: 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.plan .icon-box { width: 56px; height: 56px; margin-bottom: 16px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 8px; }
.plan .desc { color: var(--muted); font-size: .875rem; margin-bottom: 16px; }
.plan .price { font-size: 2.25rem; font-weight: 700; }
.plan .period { color: var(--muted-2); }
.plan .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.plan ul { display: grid; gap: 12px; margin-bottom: 32px; flex-grow: 1; }
.plan li { display: flex; gap: 12px; color: var(--muted); font-size: .875rem; }
.plan li .icon { width: 20px; height: 20px; color: var(--cyan); }
.plan-popular { border-color: rgba(6,182,212,.5); box-shadow: 0 20px 25px -5px rgba(6,182,212,.2); }
@media (min-width: 768px) { .plan-popular { transform: scale(1.05); } }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: 99px; background: var(--grad-btn); color: #fff; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.plans-note { margin-top: 48px; text-align: center; color: var(--muted); font-size: .875rem; }
.plans-note span { color: var(--cyan); }

/* ---------- Öffnungszeiten ---------- */
.hours-section { padding: 64px 0; background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.hours-card { max-width: 56rem; margin: 0 auto; padding: 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 32px; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .hours-card { flex-direction: row; } }
.hours-intro { display: flex; align-items: center; gap: 24px; }
.hours-intro .icon-box { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); }
.hours-intro h2 { font-size: 1.5rem; margin-bottom: 8px; }
.hours-intro p { color: var(--muted); font-size: .875rem; max-width: 24rem; }
.hours-box { background: rgba(2,6,23,.5); border: 1px solid rgba(30,41,59,.5); border-radius: var(--radius); padding: 24px; min-width: 280px; display: grid; gap: 12px; }
.hours-box .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hours-box .days { font-size: 1.125rem; color: var(--text-3); font-weight: 500; }
.hours-box .time { color: var(--cyan); font-weight: 700; font-size: 1.25rem; }
.hours-box .tz { font-family: ui-monospace, Consolas, monospace; font-size: .75rem; color: var(--muted-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 2px 8px; }
.hours-box .small { font-size: .875rem; color: var(--muted); }
.hours-box hr { border: 0; height: 1px; background: rgba(30,41,59,.5); margin: 4px 0; }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(to bottom, var(--bg-2), var(--bg)); }
.contact-grid { display: grid; gap: 48px; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-items { display: grid; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .label { color: var(--muted-2); font-size: .875rem; }
.contact-item a { color: var(--text-2); font-weight: 500; display: block; padding: 4px 0; transition: color .3s; }
.contact-item a:hover { color: var(--cyan); }
.office { padding: 24px; border-radius: 8px; }
.office h3 { font-size: 1.25rem; margin-bottom: 16px; }
.office .row { display: flex; justify-content: space-between; color: var(--muted); padding: 8px 0; border-bottom: 1px solid rgba(30,41,59,.5); }
.office .row:last-child { border-bottom: 0; }
.office .row span:last-child { color: var(--text-3); font-weight: 500; }

.form-card { padding: 24px; border-radius: 8px; background: rgba(15,23,42,.3); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form { display: grid; gap: 24px; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--text-3); }
.field .req { color: var(--cyan-2); }
.field input, .field textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px; font: inherit; color: var(--text);
  background: rgba(2,6,23,.5); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #475569; }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(6,182,212,.5); box-shadow: 0 0 0 3px rgba(6,182,212,.25); }
.field [aria-invalid="true"] { border-color: rgba(239,68,68,.7); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .78rem; color: var(--muted-2); }
.form-hint a { color: var(--cyan); }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { border-color: rgba(239,68,68,.8); box-shadow: 0 0 0 3px rgba(239,68,68,.25); }
.field-error { font-size: .8rem; color: #fca5a5; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.char-count { margin-left: auto; font-size: .75rem; color: var(--muted-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.char-count.near-limit { color: var(--yellow); }

/* Meldung über dem Absende-Knopf (z. B. Versand fehlgeschlagen) */
.form-status { padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(239,68,68,.45); background: rgba(127,29,29,.35); color: #fecaca; font-size: .875rem; }
.form-status a { color: #fff; text-decoration: underline; }

/* Ladezustand des Absende-Knopfs */
.btn.is-sending { position: relative; color: transparent; }
.btn.is-sending .icon { visibility: hidden; }
.btn.is-sending::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Erfolgsansicht nach dem Versand */
.form-success { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 32px 8px; outline: none; }
.form-success .icon-box { width: 64px; height: 64px; border-radius: 50%; background: rgba(22,163,74,.15); color: #4ade80; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); max-width: 28rem; }

/* ---------- Über mich / Zeitleiste ---------- */
.timeline { max-width: 72rem; margin: 0 auto; display: grid; gap: 40px; }
.tl-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; position: relative; }
.tl-item > .tl-dot { grid-column: 1; grid-row: 1; }
.tl-item > .tl-year { grid-column: 2; grid-row: 1; align-self: center; }
.tl-item > .tl-body { grid-column: 2; grid-row: 2; }
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -40px; width: 2px; background: linear-gradient(to bottom, var(--cyan-2), rgba(30,58,138,.3)); }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 2px solid var(--cyan-2); color: var(--cyan); box-shadow: 0 0 15px rgba(6,182,212,.5); position: relative; z-index: 1; }
.tl-dot .icon { width: 20px; height: 20px; }
.tl-year { font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--cyan); font-size: 1.25rem; letter-spacing: .05em; margin: 4px 0 12px; }
.tl-card { padding: 24px; background: rgba(15,23,42,.6); border-color: rgba(51,65,85,.5); }
.tl-card:hover { border-color: rgba(6,182,212,.3); }
.tl-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.tl-card h4 { color: var(--text-3); font-style: italic; font-weight: 600; margin-bottom: 16px; display: flex; gap: 8px; align-items: center; }
.tl-card h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-2); }
.tl-card p { color: var(--muted); font-size: .875rem; }
@media (min-width: 768px) {
  .timeline { gap: 64px; }
  .tl-item { grid-template-columns: 1fr 40px 2fr; gap: 32px; }
  .tl-item:not(:last-child)::before { left: calc((100% - 64px - 40px) / 3 + 32px + 19px); bottom: -64px; }
  .tl-item > .tl-year { grid-column: 1; grid-row: 1; align-self: start; text-align: right; margin: 4px 0 0; font-size: 1.5rem; }
  .tl-item > .tl-dot { grid-column: 2; grid-row: 1; }
  .tl-item > .tl-body { grid-column: 3; grid-row: 1; }
}

/* ---------- Produkte ---------- */
.product { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--bg-2); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); cursor: zoom-in; display: block; width: 100%; padding: 0; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-media img { transform: scale(1.1); }
.product-media .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; display: grid; place-items: center; transition: opacity .3s; }
.product-media .overlay span { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
.product-media:hover .overlay, .product-media:focus-visible .overlay { opacity: 1; }
.price-tag { position: absolute; top: 16px; right: 16px; background: rgba(6,182,212,.9); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 99px; box-shadow: 0 4px 6px rgba(0,0,0,.3); }
.product-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h2 { font-size: 1.25rem; margin-bottom: 12px; transition: color .3s; }
.product:hover h2 { color: var(--cyan); }
.product-body p { color: var(--muted); font-size: .875rem; flex-grow: 1; margin-bottom: 24px; }
.product-body .link { border-top: 1px solid var(--line); padding-top: 16px; color: var(--cyan); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.product-body .link:hover { color: #67e8f9; }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lb-stage { position: relative; max-width: 72rem; width: 100%; max-height: 85vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 85vh; object-fit: contain; transition: transform .5s; cursor: zoom-in; }
.lb-stage.zoomed img { transform: scale(1.5); cursor: zoom-out; }
.lb-btn { position: absolute; color: #fff; padding: 8px; border-radius: 8px; z-index: 2; }
.lb-btn:hover { color: var(--cyan); background: rgba(255,255,255,.1); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.5); padding: 4px 12px; border-radius: 99px; font-size: .875rem; }
.lightbox .icon { width: 40px; height: 40px; }
.lb-close .icon { width: 32px; height: 32px; }

/* ---------- Projekt-Detail ---------- */
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); margin-bottom: 32px; transition: color .2s; }
.back:hover { color: var(--cyan); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 99px; background: rgba(6,182,212,.1); color: var(--cyan); border: 1px solid rgba(6,182,212,.2); font-size: .875rem; font-weight: 500; margin-bottom: 16px; }
.detail-head { margin-bottom: 48px; }
.detail-head h1 { font-size: clamp(1.875rem, 5vw, 3rem); margin-bottom: 24px; }
.detail-head p { font-size: 1.25rem; color: var(--text-3); max-width: 48rem; }
.shot { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; cursor: zoom-in; width: 100%; transition: border-color .3s; }
.shot:hover { border-color: rgba(6,182,212,.5); }
.shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s; }
.shot:hover img { transform: scale(1.04); }
.detail-foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 56rem; margin: 0 auto; padding: 32px; border-radius: var(--radius-lg); }
@media (min-width: 640px) { .legal { padding: 48px; } }
.legal h1 { font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 32px; }
.legal section { margin-bottom: 32px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.legal h3 { font-weight: 600; color: var(--text-2); margin-bottom: 8px; font-size: 1rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-top: 8px; display: grid; gap: 4px; }
.legal .sub { padding-left: 16px; border-left: 1px solid var(--line); display: grid; gap: 24px; }
.legal a { color: var(--cyan); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px 16px 64px; }
.notfound .icon-box { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px; background: rgba(239,68,68,.1); color: var(--red); }
.notfound h1 { font-size: 1.5rem; margin-bottom: 16px; }
.notfound p { color: var(--muted); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--bg-2); padding: 48px 0; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-about p { color: var(--muted); font-size: .875rem; margin: 16px 0; max-width: 24rem; }
.footer-about p a { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.footer-about p a:hover { color: var(--cyan); }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.social a:hover { color: var(--cyan); border-color: rgba(6,182,212,.5); background: var(--line); }
.social .icon { width: 20px; height: 20px; }
.footer-col h3 { color: var(--text-2); font-weight: 600; margin-bottom: 16px; font-size: 1rem; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--bg-2); padding-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: .875rem; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-bottom nav a { color: var(--muted); }
.footer-bottom nav a:hover { color: var(--cyan); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
