/* ── FliesenXpert Design System ── */
:root {
  --c-primary:   #656263;
  --c-petrol:    #1B7A8A;
  --c-petrol-d:  #155f6d;
  --c-anthrazit: #2C3035;
  --c-accent:    #C4963A;
  --c-accent-l:  #daa94a;
  --c-white:     #FFFFFF;
  --c-light:     #F7F5F3;
  --c-border:    #E2DFDD;

  --bg:          var(--c-white);
  --bg-surface:  var(--c-light);
  --text:        #1A1818;
  --text-muted:  #6B6869;
  --border:      var(--c-border);
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.14);
  --radius:      10px;
  --header-h:    72px;
  --transition:  .3s ease;
}

[data-theme="dark"] {
  --bg:         #111315;
  --bg-surface: #1C1F22;
  --text:       #E8E5E2;
  --text-muted: #9B9799;
  --border:     #2E3135;
  --shadow:     0 4px 24px rgba(0,0,0,.3);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; transition: background var(--transition), color var(--transition); }
img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── Typografie ── */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
.section-label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--c-accent); margin-bottom: 12px; }
.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin-bottom: 56px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; transition: all var(--transition); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-l); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(196,150,58,.35); }
.btn-outline { border: 2px solid var(--c-accent); color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-dark { background: var(--c-anthrazit); color: #fff; }
.btn-dark:hover { background: #3d4450; transform: translateY(-2px); }
.btn-petrol { background: var(--c-petrol); color: #fff; }
.btn-petrol:hover { background: var(--c-petrol-d); transform: translateY(-2px); }

/* ── Scroll-Animationen ── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── Header ── */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); height: var(--header-h); transition: background var(--transition), border-color var(--transition); }
[data-theme="dark"] #header { background: rgba(17,19,21,.96); }
#header nav { display: flex; align-items: center; gap: 32px; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo img { height: 110px; width: auto; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 6px; font-size: .95rem; color: var(--text); font-weight: 500; transition: background var(--transition), color var(--transition); }
.nav-links a:hover { background: var(--bg-surface); color: var(--c-accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
#darkmode-toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-surface); color: var(--text); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
#darkmode-toggle:hover { background: var(--c-accent); color: #fff; }
.hamburger { display: none; font-size: 1.4rem; padding: 8px; color: var(--text); }
#mobile-menu { display: none; }

/* ── Hero ── */
#hero { min-height: 100vh; background: linear-gradient(135deg, var(--c-anthrazit) 0%, #3d424a 50%, var(--c-petrol) 100%); display: grid; align-items: center; position: relative; overflow: hidden; padding-top: var(--header-h); }
#hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { color: #fff; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(196,150,58,.2); border: 1px solid rgba(196,150,58,.4); color: var(--c-accent); padding: 6px 16px; border-radius: 100px; font-size: .85rem; font-weight: 600; margin-bottom: 24px; letter-spacing: .06em; text-transform: uppercase; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 span { color: var(--c-accent); }
.hero-text p { font-size: 1.15rem; opacity: .85; margin-bottom: 36px; max-width: 500px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stat span:first-child { display: block; font-size: 2rem; font-weight: 700; color: var(--c-accent); }
.hero-stat span:last-child { font-size: .85rem; opacity: .7; }
.hero-visual { position: relative; }
.hero-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-img-card { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.hero-img-card:first-child { grid-column: span 2; aspect-ratio: 2/1; font-size: 4rem; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: bounce 2s infinite; }
.hero-scroll::after { content: '↓'; font-size: 1.2rem; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ── Leistungen ── */
#leistungen { background: var(--bg-surface); }
.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.leistung-card { background: var(--bg); border-radius: 14px; padding: 32px 28px; border: 1px solid var(--border); transition: all var(--transition); position: relative; overflow: hidden; background-size: cover; background-position: center; }
.leistung-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-accent), var(--c-petrol)); transform: scaleX(0); transition: transform var(--transition); transform-origin: left; z-index: 2; }
/* Dimming overlay wenn Hintergrundbild gesetzt */
.leistung-card.has-bg::after { content: ''; position: absolute; inset: 0; background: rgba(28,32,36,.58); z-index: 1; }
.leistung-card.has-bg { border-color: transparent; }
.leistung-card.has-bg h3,
.leistung-card.has-bg p { color: #fff; position: relative; z-index: 2; }
.leistung-card.has-bg p { color: rgba(255,255,255,.8); }
.leistung-card.has-bg .leistung-icon { background: rgba(255,255,255,.18); position: relative; z-index: 2; }
.leistung-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-accent); }
.leistung-card.has-bg:hover { border-color: var(--c-accent); }
.leistung-card:hover::before { transform: scaleX(1); }
.leistung-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-l)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.leistung-card h3 { margin-bottom: 10px; }
.leistung-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ── Über Uns ── */
.ueber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ueber-visual { position: relative; }
.ueber-img-main { border-radius: 16px; background: linear-gradient(135deg, var(--c-petrol), var(--c-anthrazit)); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.ueber-badge-card { position: absolute; bottom: -24px; right: -24px; background: var(--c-accent); color: #fff; padding: 20px 24px; border-radius: 12px; box-shadow: var(--shadow-lg); text-align: center; }
.ueber-badge-card span:first-child { display: block; font-size: 2rem; font-weight: 700; }
.ueber-badge-card span:last-child { font-size: .85rem; opacity: .9; }
.ueber-werte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.wert-item { display: flex; align-items: flex-start; gap: 12px; }
.wert-icon { color: var(--c-accent); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.wert-item h4 { font-size: .95rem; margin-bottom: 2px; }
.wert-item p { font-size: .85rem; color: var(--text-muted); }
.timeline { margin-top: 32px; }
.timeline-item { display: flex; gap: 16px; margin-bottom: 20px; }
.timeline-year { font-size: .85rem; font-weight: 700; color: var(--c-accent); min-width: 48px; padding-top: 2px; }
.timeline-content h4 { font-size: .95rem; margin-bottom: 2px; }
.timeline-content p { font-size: .85rem; color: var(--text-muted); }

/* ── Showroom ── */
#showroom { background: var(--bg-surface); }
.showroom-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border-radius: 100px; border: 1.5px solid var(--border); color: var(--text-muted); font-size: .9rem; font-weight: 500; transition: all var(--transition); background: var(--bg); }
.filter-btn:hover, .filter-btn.active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.showroom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.showroom-card { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--c-anthrazit); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.showroom-card:hover .showroom-overlay { opacity: 1; }
.showroom-placeholder { font-size: 3rem; color: rgba(255,255,255,.3); }
.showroom-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: 8px; }
.showroom-overlay span { font-weight: 600; }
.showroom-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.showroom-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); grid-column: 1/-1; }

/* ── Konfigurator CTA ── */
#konfigurator-cta { background: linear-gradient(135deg, var(--c-anthrazit) 0%, var(--c-petrol) 100%); color: #fff; text-align: center; }
#konfigurator-cta h2 { color: #fff; margin-bottom: 16px; }
#konfigurator-cta p { opacity: .85; font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }
.konfigurator-steps { display: flex; justify-content: center; gap: 48px; margin-bottom: 48px; flex-wrap: wrap; }
.konfig-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.konfig-step-num { width: 40px; height: 40px; border-radius: 50%; background: rgba(196,150,58,.25); border: 2px solid var(--c-accent); color: var(--c-accent); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.konfig-step span:last-child { font-size: .85rem; opacity: .8; }

/* ── USPs ── */
.usps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.usp-card { text-align: center; padding: 40px 24px; border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border); transition: all var(--transition); }
.usp-card:hover { border-color: var(--c-accent); transform: translateY(-4px); }
.usp-icon { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--c-accent), var(--c-accent-l)); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.usp-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.usp-card p { font-size: .9rem; color: var(--text-muted); }

/* ── Bewertungen ── */
#bewertungen { background: var(--bg-surface); }
.bewertungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bewertung-card { background: var(--bg); border-radius: 14px; padding: 28px; border: 1px solid var(--border); transition: all var(--transition); }
.bewertung-card:hover { box-shadow: var(--shadow); }
.stars { color: var(--c-accent); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.bewertung-text { color: var(--text-muted); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.bewertung-autor { display: flex; align-items: center; gap: 12px; }
.autor-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-petrol), var(--c-accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; }
.autor-name { font-weight: 600; font-size: .95rem; }
.autor-quelle { font-size: .8rem; color: var(--text-muted); }
.google-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; font-size: .9rem; font-weight: 600; margin-top: 40px; }
.bewertungen-footer { text-align: center; }

/* ── Kontakt ── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.kontakt-info h2 { margin-bottom: 16px; }
.kontakt-info p { color: var(--text-muted); margin-bottom: 32px; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.kontakt-detail-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(196,150,58,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.kontakt-detail h4 { font-size: .85rem; color: var(--text-muted); margin-bottom: 2px; }
.kontakt-detail p { font-size: .95rem; font-weight: 500; }
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-muted); transition: all var(--transition); }
.social-link:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.kontakt-form { background: var(--bg-surface); border-radius: 16px; padding: 40px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font-size: .95rem; transition: border-color var(--transition); font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--c-accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.file-upload { border: 2px dashed var(--border); border-radius: 8px; padding: 24px; text-align: center; cursor: pointer; transition: all var(--transition); }
.file-upload:hover { border-color: var(--c-accent); background: rgba(196,150,58,.05); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { width: auto; margin-top: 3px; accent-color: var(--c-accent); }
.form-checkbox label { font-size: .85rem; color: var(--text-muted); }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 12px; }

/* ── Footer ── */
footer { background: var(--c-anthrazit); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 110px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; opacity: .7; max-width: 280px; line-height: 1.7; }
.footer-col h4 { color: var(--c-accent); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; opacity: .6; }

/* ── Cookie Banner ── */
#cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 560px; background: var(--c-anthrazit); color: #fff; border-radius: 14px; padding: 24px 28px; box-shadow: var(--shadow-lg); z-index: 200; display: none; }
[data-cookie-visible="true"] #cookie-banner { display: block; }
.cookie-inner { display: flex; gap: 20px; align-items: flex-end; }
.cookie-text p { font-size: .9rem; opacity: .85; margin-top: 6px; line-height: 1.6; }
.cookie-text a { color: var(--c-accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button { padding: 10px 18px; border-radius: 8px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
#cookie-accept { background: var(--c-accent); color: #fff; }
#cookie-deny { border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8); }

/* ── Konfigurator-Seite ── */
.konfig-page { min-height: 100vh; background: var(--bg-surface); padding-top: calc(var(--header-h) + 48px); padding-bottom: 80px; }
.konfig-container { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.konfig-header { text-align: center; margin-bottom: 48px; }
.progress-bar { background: var(--border); border-radius: 100px; height: 6px; margin-bottom: 32px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-petrol)); border-radius: 100px; transition: width .4s ease; }
.step-card { background: var(--bg); border-radius: 16px; padding: 40px; border: 1px solid var(--border); box-shadow: var(--shadow); display: none; }
.step-card.active { display: block; }
.step-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step-card > p { color: var(--text-muted); margin-bottom: 28px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option-btn { padding: 16px 14px; border: 2px solid var(--border); border-radius: 10px; background: var(--bg-surface); color: var(--text); font-size: .95rem; font-weight: 500; text-align: left; display: flex; align-items: center; gap: 10px; transition: all var(--transition); cursor: pointer; }
.option-btn:hover, .option-btn.selected { border-color: var(--c-accent); background: rgba(196,150,58,.08); color: var(--c-accent); }
.option-btn .option-icon { font-size: 1.4rem; flex-shrink: 0; }
.option-btn-full { grid-column: span 2; }
.flaeche-input-group { display: flex; align-items: center; gap: 16px; }
.flaeche-input-group input[type=number] { width: 120px; padding: 14px 16px; border: 2px solid var(--border); border-radius: 10px; font-size: 1.1rem; font-weight: 600; background: var(--bg); color: var(--text); }
.flaeche-input-group input[type=range] { flex: 1; accent-color: var(--c-accent); }
.flaeche-unit { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.step-indicator { font-size: .9rem; color: var(--text-muted); }

/* ── Admin Login ── */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-surface); padding: 24px; }
.login-card { background: var(--bg); border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-align: center; }
.login-logo { height: 48px; margin: 0 auto 24px; }
.login-card h2 { margin-bottom: 8px; }
.login-card p { color: var(--text-muted); margin-bottom: 32px; }
.login-error { background: #fee; color: #c00; border-radius: 8px; padding: 12px 16px; font-size: .9rem; margin-bottom: 16px; display: none; }

/* ── Admin Panel ── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--c-anthrazit); padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-header img { height: 36px; filter: brightness(0) invert(1); }
.sidebar-nav { padding: 16px 0; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,.7); font-size: .95rem; transition: all var(--transition); border-left: 3px solid transparent; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,.08); color: #fff; border-left-color: var(--c-accent); }
.sidebar-nav a span { font-size: 1.1rem; }
.admin-content { padding: 32px; background: var(--bg-surface); }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-topbar h1 { font-size: 1.6rem; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--bg); border-radius: 12px; padding: 24px; border: 1px solid var(--border); }
.stat-card .stat-num { font-size: 2rem; font-weight: 700; }
.stat-card .stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.stat-card.accent .stat-num { color: var(--c-accent); }
.stat-card.petrol .stat-num { color: var(--c-petrol); }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 24px; background: var(--bg); border-radius: 10px; padding: 4px; border: 1px solid var(--border); width: fit-content; }
.admin-tab { padding: 8px 20px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: all var(--transition); cursor: pointer; }
.admin-tab.active { background: var(--c-accent); color: #fff; }
.admin-table-wrap { background: var(--bg); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--bg-surface); padding: 12px 16px; text-align: left; font-size: .85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: .9rem; }
tr:hover td { background: var(--bg-surface); }
.status-badge { display: inline-flex; padding: 4px 10px; border-radius: 100px; font-size: .78rem; font-weight: 600; }
.status-neu { background: #dbeafe; color: #1d4ed8; }
.status-in-bearbeitung { background: #fef9c3; color: #854d0e; }
.status-angebot { background: #dcfce7; color: #166534; }
.status-abgeschlossen { background: #f1f5f9; color: #475569; }
[data-theme="dark"] .status-neu { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .status-in-bearbeitung { background: #3d2f00; color: #fde68a; }
[data-theme="dark"] .status-angebot { background: #14391f; color: #86efac; }
[data-theme="dark"] .status-abgeschlossen { background: #1e2530; color: #94a3b8; }
.action-btn { padding: 6px 14px; border-radius: 6px; font-size: .82rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); }
.action-btn-primary { background: var(--c-accent); color: #fff; }
.action-btn-danger { background: #fee2e2; color: #dc2626; }
[data-theme="dark"] .action-btn-danger { background: #3d1515; color: #f87171; }

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--bg); border-radius: 16px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.2rem; }
.modal-close { font-size: 1.4rem; color: var(--text-muted); padding: 4px 8px; border-radius: 6px; }
.modal-close:hover { background: var(--bg-surface); }
.modal-body { padding: 28px; }
.detail-row { display: flex; gap: 8px; margin-bottom: 10px; font-size: .9rem; }
.detail-label { font-weight: 600; min-width: 120px; color: var(--text-muted); }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }

/* ── Showroom Admin ── */
.showroom-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.showroom-admin-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.showroom-admin-img { aspect-ratio: 4/3; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-muted); }
.showroom-admin-img img { width: 100%; height: 100%; object-fit: cover; }
.showroom-admin-meta { padding: 10px 12px; }
.showroom-admin-meta p { font-size: .82rem; color: var(--text-muted); margin-bottom: 6px; }
.upload-zone { border: 2px dashed var(--border); border-radius: 12px; padding: 40px 24px; text-align: center; cursor: pointer; transition: all var(--transition); }
.upload-zone:hover { border-color: var(--c-accent); background: rgba(196,150,58,.04); }
.upload-zone p { color: var(--text-muted); font-size: .9rem; margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 200px 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #mobile-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; z-index: 99; }
  #mobile-menu.open { display: block; }
  #mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 500; }
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-badge-card { right: 0; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .usps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { height: auto; position: static; }
  .cookie-inner { flex-direction: column; }
  .option-grid { grid-template-columns: 1fr; }
  .option-btn-full { grid-column: span 1; }
}
@media (max-width: 480px) {
  .usps-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}
