/* ============================================================
   Autolackiererei Mangold — Main Stylesheet
   White / Light Professional Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Dancing+Script:wght@400;600;700&display=swap');

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-alt:      #f7f7f7;
  --bg-card:     #ffffff;
  --accent:      #c8102e;
  --accent-dark: #9e0c24;
  --accent-light:#fde8ec;
  --text:        #111111;
  --text-2:      #555555;
  --text-3:      #888888;
  --border:      #e2e2e2;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
  --shadow-md:   0 4px 18px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  .25s ease;
  --nav-h:       68px;
  --container:   1200px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ── Layout utilities ──────────────────────────────────── */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.overline {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.section-title span {
  color: var(--accent);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,16,46,.3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
}

/* ── Navigation ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

/* Hidden checkbox for hamburger toggle */
.nav-check { display: none; }

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand strong {
  font-weight: 800;
  color: var(--accent);
}

/* Spacer between brand and links */
.nav-spacer { flex: 1; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  padding: .45rem .85rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--text); }

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  margin-left: .5rem;
}
.nav-links .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg-alt); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}

/* Hamburger open state */
.nav-check:checked ~ .nav .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-check:checked ~ .nav .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-check:checked ~ .nav .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav menu */
.nav-check:checked ~ .nav .nav-links {
  display: flex;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0d0d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(200,16,46,.18) 0%, transparent 65%),
    linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

/* Decorative diagonal stripe */
.hero-bg::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg,
    transparent 40%,
    rgba(200,16,46,.04) 50%,
    transparent 60%
  );
  transform: skewX(-10deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-block: 6rem;
}

.hero-overline {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.3);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.35);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  transition: color var(--transition);
}
.hero-scroll:hover { color: rgba(255,255,255,.7); }
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
}

/* ── Stats bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--text);
  color: #fff;
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-item {
  padding: 1.6rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── Services ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
}

.service-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── About ─────────────────────────────────────────────── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-block .section-title { text-align: left; }

.about-body {
  color: var(--text-2);
  margin-block: 1.5rem;
  font-size: .95rem;
  line-height: 1.8;
}

.about-body p + p { margin-top: 1rem; }

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.about-card-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-card-label {
  font-size: .85rem;
  color: var(--text-2);
  margin-top: .3rem;
}

.about-card-row {
  display: flex;
  gap: 1.5rem;
}
.about-card-row .about-card { flex: 1; }

.about-check-list {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.about-check-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text-2);
}

.about-check-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Gallery ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-3);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  font-size: .9rem;
}

/* ── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-body h4 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .25rem;
}

.contact-info-body p,
.contact-info-body a {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
}
/* Only the hours/address fields need newline preservation */
.contact-info-body .contact-multiline { white-space: pre-line; }
.contact-info-body a:hover { color: var(--accent); }

/* Contact form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: .85rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: .7rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-msg {
  padding: .8rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  margin-bottom: 1rem;
}
.form-msg.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  padding-block: 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
}
.footer-brand strong { color: var(--accent); font-weight: 800; }

.footer-tagline {
  font-size: .8rem;
  margin-top: .2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: .78rem;
  margin-top: .4rem;
}

/* ── Flash notice (top of page after admin save) ──────── */
.flash-notice {
  background: #f0fdf4;
  color: #166534;
  border-bottom: 1px solid #bbf7d0;
  padding: .6rem 1.5rem;
  font-size: .85rem;
  text-align: center;
}

/* ── Responsive ────────────────────────────────────────── */

/* Nav collapses at 1150px */
@media (max-width: 1150px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.5rem 1.25rem;
    gap: .25rem;
    box-shadow: var(--shadow-md);
    z-index: 100;
  }

  .nav-links a {
    padding: .7rem 1rem;
    border-radius: 8px;
    font-size: .95rem;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: .25rem;
  }
}

/* Layout breakpoint */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding-block: 3.5rem; }
  .hero-content { padding-block: 4rem 5rem; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Tablet/mobile nav bar — hide brand */
@media (max-width: 768px) {
  .nav-brand { display: none; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-card-row { flex-direction: column; }
}

/* ============================================================
   Theme Switcher Component
   ============================================================ */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  gap: 0;
  flex-shrink: 0;
}

.ts-opt {
  padding: .28rem .72rem;
  border-radius: 16px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .03em;
  white-space: nowrap;
  line-height: 1.6;
}
.ts-opt:hover:not(.active) { color: var(--text); }
.ts-opt.active {
  background: var(--accent);
  color: #fff;
}

/* Theme switcher — icon only on narrow screens */
@media (max-width: 768px) {
  .theme-switcher { padding: 3px; }
  .ts-opt { font-size: 0; padding: 0; width: 28px; height: 24px; display: flex; align-items: center; justify-content: center; }
  .ts-opt:first-child::before { content: '☀'; font-size: .85rem; }
  .ts-opt:last-child::before  { content: '★'; font-size: .85rem; }
}

/* ============================================================
   Classic Theme — original autolackiererei-mangold.de palette
   Background: #fbf0d4 · Accent: #800000 · Font: Dancing Script
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
body.theme-classic {
  --bg:          #fbf0d4;
  --bg-alt:      #f5e6b8;
  --bg-card:     #fdf8ec;
  --accent:      #800000;
  --accent-dark: #5c0000;
  --accent-light:#f5e0e0;
  --text:        #1a0000;
  --text-2:      #5c2020;
  --text-3:      #9a6060;
  --border:      #d4b896;
  --shadow-sm:   0 1px 4px rgba(128,0,0,.08);
  --shadow-md:   0 4px 20px rgba(128,0,0,.12);
  --shadow-lg:   0 12px 40px rgba(128,0,0,.14);
}

/* ── Typography — Dancing Script for display headings ──── */
body.theme-classic .hero-title,
body.theme-classic .section-title,
body.theme-classic .service-title,
body.theme-classic .about-card-num,
body.theme-classic .stat-num {
  font-family: 'Dancing Script', cursive;
  letter-spacing: .01em;
}

body.theme-classic .hero-title  { font-weight: 700; line-height: 1.15; }
body.theme-classic .section-title { font-weight: 700; }

/* ── Navigation ─────────────────────────────────────────── */
body.theme-classic .site-header {
  background: rgba(251, 240, 212, .95);
  border-bottom-color: #c9a870;
}

body.theme-classic .nav-brand        { color: var(--text); }
body.theme-classic .nav-brand strong { color: var(--accent); }

body.theme-classic .nav-links a          { color: var(--text-2); }
body.theme-classic .nav-links a:hover    { background: rgba(128,0,0,.07); color: var(--accent); }
body.theme-classic .nav-links .nav-cta   { background: var(--accent); color: #fbf0d4; }
body.theme-classic .nav-links .nav-cta:hover { background: var(--accent-dark); color: #fbf0d4; }

body.theme-classic .hamburger span       { background: var(--accent); }

/* Mobile nav — classic dropdown */
@media (max-width: 1150px) {
  body.theme-classic .nav-check:checked ~ .nav .nav-links {
    background: rgba(253, 248, 236, .97);
    border-bottom-color: #c9a870;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
body.theme-classic .hero-bg {
  background:
    radial-gradient(ellipse 75% 60% at 62% 50%, rgba(128,0,0,.22) 0%, transparent 65%),
    linear-gradient(135deg, #2a0000 0%, #520000 60%, #2a0000 100%);
}

body.theme-classic .hero-overline { color: #f5b8b8; }
body.theme-classic .hero-subtitle { color: rgba(255,240,220,.75); }

body.theme-classic .hero-actions .btn-outline {
  color: rgba(255,230,200,.8);
  border-color: rgba(255,200,160,.35);
}
body.theme-classic .hero-actions .btn-outline:hover {
  background: rgba(255,200,160,.15);
  color: #ffe8cc;
  border-color: rgba(255,200,160,.65);
}

/* ── Stats bar ───────────────────────────────────────────── */
body.theme-classic .stats-bar { background: #520000; }

body.theme-classic .stat-item {
  border-right-color: rgba(255,220,180,.15);
}

/* ── Service cards ───────────────────────────────────────── */
body.theme-classic .service-card {
  background: var(--bg-card);
  border-color: #c9a870;
}
body.theme-classic .service-card:hover { border-color: var(--accent); }
body.theme-classic .service-card::before { background: var(--accent); }

/* ── About section ───────────────────────────────────────── */
body.theme-classic .about-card {
  background: var(--bg-card);
  border-color: #c9a870;
}
body.theme-classic .about-card[style*="background:var(--accent)"] {
  background: var(--accent) !important;
}

body.theme-classic .about-check-list li::before {
  background: rgba(128,0,0,.12);
  color: var(--accent);
}

/* ── Gallery ─────────────────────────────────────────────── */
body.theme-classic .gallery-item { border-color: #c9a870; }

body.theme-classic .gallery-empty {
  border-color: #c9a870;
  color: var(--text-3);
}

/* ── Contact section ─────────────────────────────────────── */
body.theme-classic .contact-info-icon {
  background: rgba(128,0,0,.1);
}

body.theme-classic .contact-form-card {
  background: var(--bg-card);
  border-color: #c9a870;
}

body.theme-classic .form-group input,
body.theme-classic .form-group textarea {
  background: #fdf8ec;
  border-color: #c9a870;
}
body.theme-classic .form-group input:focus,
body.theme-classic .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(128,0,0,.1);
  background: #fff;
}

/* ── Footer ──────────────────────────────────────────────── */
body.theme-classic .site-footer { background: #350000; }

/* ── Theme switcher in classic mode ─────────────────────── */
body.theme-classic .theme-switcher {
  background: rgba(245, 230, 184, .9);
  border-color: #c9a870;
}
body.theme-classic .ts-opt      { color: #9a6060; }
body.theme-classic .ts-opt.active { background: var(--accent); color: #fbf0d4; }

/* ── Flash notice ────────────────────────────────────────── */
body.theme-classic .flash-notice {
  background: #f5e6b8;
  color: #520000;
  border-bottom-color: #c9a870;
}

/* ── Buttons in classic mode ─────────────────────────────── */
body.theme-classic .btn-ghost {
  color: var(--text-2);
  border-color: #c9a870;
}
body.theme-classic .btn-ghost:hover { background: var(--bg-alt); }

/* ── Partners section ────────────────────────────────────── */
.partners-section {
  padding: 4rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
}
.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.partner-img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partner-img-wide { height: 70px; }
.partner-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Anfahrt section ─────────────────────────────────────── */
.anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}
.anfahrt-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.anfahrt-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.anfahrt-info p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }
.anfahrt-info a { color: var(--accent); }
.anfahrt-info a:hover { text-decoration: underline; }
.anfahrt-map {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.anfahrt-map iframe { display: block; }

@media (max-width: 1024px) {
  .anfahrt-grid { grid-template-columns: 1fr; }
  .anfahrt-map  { height: 300px; }
}

/* ── Partners section (classic theme) ───────────────────── */
body.theme-classic .partners-section {
  background: var(--bg-alt);
  border-color: #c9a870;
}
body.theme-classic .partner-card {
  background: var(--bg-card);
  border-color: #c9a870;
}
body.theme-classic .partner-card:hover { border-color: var(--accent); }

/* ── Anfahrt section (classic theme) ────────────────────── */
body.theme-classic .anfahrt-info { border-color: #c9a870; }
body.theme-classic .anfahrt-map  { border-color: #c9a870; }
