/*
Theme Name: Hopserwelt
Theme URI: https://hopserwelt.de/
Author: Ch. Behrens
Author URI: https://hopserwelt.de/
Description: Custom Theme für Hopserwelt — Hüpfburg-Verleih in Peine, Ilsede und Umgebung.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopserwelt
*/

/* ============================================
   Hopserwelt — Stylesheet
   ============================================ */

/* Self-hosted Webfonts (Fredoka & Nunito, OFL) */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('css/fonts/fredoka-v17-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('css/fonts/fredoka-v17-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('css/fonts/fredoka-v17-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('css/fonts/fredoka-v17-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('css/fonts/nunito-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('css/fonts/nunito-v32-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('css/fonts/nunito-v32-latin-700.woff2') format('woff2');
}

:root {
  --c-yellow: #FFD42A;
  --c-yellow-dark: #F5C200;
  --c-cyan: #4FC3F7;
  --c-cyan-dark: #29B6F6;
  --c-red: #EF3E36;
  --c-orange: #F7A325;
  --c-green: #7CB342;
  --c-purple: #8E44AD;

  --c-text: #1E3A8A;
  --c-text-soft: #4B5A8C;
  --c-muted: #6B7280;
  --c-bg: #FFFFFF;
  --c-bg-soft: #FFF8E7;
  --c-bg-alt: #F0FAFE;
  --c-border: #E5E7EB;

  --shadow-sm: 0 2px 6px rgba(30, 58, 138, 0.08);
  --shadow-md: 0 6px 20px rgba(30, 58, 138, 0.12);
  --shadow-lg: 0 12px 40px rgba(30, 58, 138, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin-bottom: .8em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

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

section { padding: 80px 0; }
section.alt { background: var(--c-bg-soft); }
section.cyan-soft { background: var(--c-bg-alt); }

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
  color: var(--c-text-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-yellow);
  color: var(--c-text);
  box-shadow: 0 4px 0 var(--c-yellow-dark), var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--c-yellow-dark), var(--shadow-md); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 0 var(--c-yellow-dark); }

.magnetic {
  will-change: transform;
  transition: transform .5s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-primary.magnetic,
.btn-primary.magnetic:hover,
.btn-primary.magnetic:active { box-shadow: none; }
.btn-primary.magnetic:hover,
.btn-primary.magnetic:active { transform: var(--magnetic-transform, translate(0,0)); }

.btn-secondary {
  background: var(--c-cyan);
  color: #fff;
  box-shadow: 0 4px 0 var(--c-cyan-dark), var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--c-cyan-dark), var(--shadow-md); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 0 #1DA851, var(--shadow-sm);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 7px 0 #1DA851, var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 2px solid var(--c-border);
}
.btn-ghost:hover { background: var(--c-bg-soft); border-color: var(--c-yellow); }

/* ---------- Anfrage-Button (animierter Pill mit wanderndem Icon) ---------- */
.btn-anfrage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 48px;
  padding: 4px 56px 4px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--c-yellow);
  color: var(--c-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
  transition: padding .5s ease, background .2s ease;
}
.btn-anfrage:hover {
  padding: 4px 24px 4px 56px;
  background: var(--c-yellow);
}
.btn-anfrage-text { position: relative; z-index: 1; transition: all .5s ease; }
.btn-anfrage-icon {
  position: absolute;
  right: 4px;
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--c-text);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: right .5s ease, transform .5s ease;
}
.btn-anfrage:hover .btn-anfrage-icon {
  right: calc(100% - 44px);
  transform: rotate(45deg);
}

a.btn-anfrage { text-decoration: none !important; }
.btn-anfrage-whatsapp {
  background: #25D366;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.btn-anfrage-whatsapp:hover { background: #25D366; }
.btn-anfrage-whatsapp .btn-anfrage-icon { color: #25D366; }

.btn-anfrage-cyan {
  background: var(--c-cyan);
  color: #fff;
}
.btn-anfrage-cyan:hover { background: var(--c-cyan); }
.btn-anfrage-cyan .btn-anfrage-icon { color: var(--c-cyan-dark); }

.btn-anfrage.inline {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.btn-anfrage-ghost {
  background: transparent;
  color: var(--c-text);
  border: 2px solid var(--c-border);
}
.btn-anfrage-ghost:hover {
  background: var(--c-bg-soft);
  border-color: var(--c-yellow);
}
.btn-anfrage-ghost .btn-anfrage-icon {
  background: var(--c-text);
  color: var(--c-yellow);
}

.nav-cta.btn-anfrage {
  margin-left: 8px;
  height: 40px;
  padding: 0 20px;
  font-size: .95rem;
  transition: none;
}
.nav-cta.btn-anfrage:hover { filter: brightness(1.05); }
.nav-cta.btn-anfrage .btn-anfrage-icon { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.logo img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--c-text);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
  text-decoration: none !important;
}
.main-nav a:hover { background: var(--c-bg-soft); color: var(--c-red); }
.nav-cta { margin-left: 8px; padding: 10px 20px !important; font-size: .95rem !important; }

.nav-toggle {
  display: none;
  background: none;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-cyan-dark) 100%);
  color: #fff;
  padding: 100px 0 140px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,212,42,.35) 0, transparent 4%),
    radial-gradient(circle at 85% 30%, rgba(239,62,54,.3) 0, transparent 5%),
    radial-gradient(circle at 70% 75%, rgba(255,212,42,.3) 0, transparent 4%),
    radial-gradient(circle at 20% 80%, rgba(247,163,37,.3) 0, transparent 5%),
    radial-gradient(circle at 50% 10%, rgba(142,68,173,.25) 0, transparent 3%);
  pointer-events: none;
}
.hero h1 { color: #fff; text-shadow: 0 3px 0 rgba(30,58,138,.25); }
.hero p.lead {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  max-width: 760px;
  margin: 0 auto 36px;
  color: #fff;
  opacity: .95;
  line-height: 1.4;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ---------- Cards Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.card-image {
  aspect-ratio: 4 / 3;
  background: #fff;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 8px; }
.card-price {
  font-family: var(--font-head);
  margin: auto 0 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.card-price .price-main { font-size: 1.5rem; color: var(--c-red); }
.card-price .price-main small { color: var(--c-muted); font-size: .85rem; font-weight: normal; margin-left: 4px; }
.card-price .price-extra { font-size: .95rem; color: var(--c-text-soft); font-weight: 500; }

/* Warum-Sektion: 3 Spalten erzwingen */
#warum .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { #warum .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { #warum .grid { grid-template-columns: 1fr; } }

/* ---------- Benefits (Spotlight) ---------- */
.benefit {
  --hue: 195;
  --spotlight: 280px;
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  background:
    radial-gradient(
      var(--spotlight) var(--spotlight) at
      calc(var(--x, 0) * 1px)
      calc(var(--y, 0) * 1px),
      hsla(var(--hue), 95%, 65%, 0.05),
      transparent 70%
    ),
    #fff;
  background-attachment: fixed, scroll;
  background-size: 100% 100%, 100% 100%;
  border: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
}
.benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    calc(var(--spotlight) * 0.6) calc(var(--spotlight) * 0.6) at
    calc(var(--x, 0) * 1px)
    calc(var(--y, 0) * 1px),
    hsla(var(--hue), 95%, 55%, 0.9),
    transparent 70%
  );
  background-attachment: fixed;
  background-size: 100% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: brightness(1.3);
  pointer-events: none;
  z-index: 1;
}
.benefit > * { position: relative; z-index: 2; }
.benefit-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
  display: inline-block;
  filter: drop-shadow(0 3px 4px rgba(30,58,138,.15));
}
.benefit h3 { color: var(--c-cyan-dark); margin-bottom: 8px; font-size: 1.2rem; }
.benefit p { color: var(--c-text-soft); font-size: .98rem; margin: 0; }

/* ---------- Bungee-Trampolin ---------- */
.bungee-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .bungee-layout { grid-template-columns: 1fr; gap: 30px; } }
.bungee-media .product-gallery { margin-top: 12px; }
.bungee-badge {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--c-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.bungee-text h2 { text-align: left; margin-bottom: 6px; }
.bungee-tagline {
  font-family: var(--font-head);
  color: var(--c-cyan-dark);
  font-size: 1.3rem;
  margin: 0 0 18px;
}
.bungee-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
  font-size: .95rem;
  color: var(--c-text-soft);
}
.bungee-meta > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
}
.bungee-meta strong {
  color: var(--c-cyan-dark);
  font-family: var(--font-head);
  font-weight: 500;
}
.bungee-note {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
  font-size: .88rem;
  font-style: italic;
  color: var(--c-text-soft);
}
.bungee-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Liefergebiet ---------- */
.region-block { margin-bottom: 32px; }
.region-block h3 {
  font-size: 1.15rem;
  color: var(--c-cyan-dark);
  margin-bottom: 12px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: #fff;
  color: var(--c-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease;
}
.tag:hover { background: var(--c-yellow); }
.region-note {
  text-align: left;
  margin-top: 24px;
  color: var(--c-muted);
  font-style: italic;
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--c-cyan-dark);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-answer > p, .faq-answer > div {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 24px;
  color: var(--c-text-soft);
  transition: padding .35s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p, .faq-item.open .faq-answer > div { padding-bottom: 20px; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--c-yellow);
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}
.testimonial p { font-style: italic; color: var(--c-text-soft); margin-bottom: 14px; }
.testimonial-author {
  font-family: var(--font-head);
  color: var(--c-cyan-dark);
  font-weight: 600;
}
.stars { color: var(--c-yellow); font-size: 1.1rem; margin-bottom: 8px; }

/* ---------- Kontakt ---------- */
.contact-single {
  max-width: 640px;
  margin: 0 auto;
}
.contact-whatsapp { margin: 0 auto; }
.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
  color: var(--c-muted);
  font-family: var(--font-head);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .25em;
}
.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

.form { display: flex; flex-direction: column; gap: 16px; }
.form[hidden] { display: none; }

/* Contact Form 7 Styling */
.wpcf7 form.form,
.wpcf7-form { display: flex; flex-direction: column; gap: 16px; }
.wpcf7-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--c-text);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color .15s ease;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
}
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .wpcf7-form .form-row { grid-template-columns: 1fr; } }

.wpcf7-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--c-text-soft);
}
.wpcf7-form .form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-cyan);
  cursor: pointer;
}
.wpcf7-form .form-check label {
  font-family: var(--font-body);
  font-weight: 400;
  margin: 0;
  cursor: pointer;
  color: var(--c-text-soft);
}
.wpcf7-form .form-check a { color: var(--c-cyan-dark); }

.wpcf7-response-output {
  border-radius: var(--radius-sm) !important;
  padding: 14px 18px !important;
  font-weight: 600;
  margin: 0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #DCFCE7;
  color: #15803D;
  border-color: #86EFAC !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #FEE2E2;
  color: #B91C1C;
  border-color: #FCA5A5 !important;
}

/* Fallback für die alte Native-Form (falls noch benutzt) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--c-text);
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-text);
  background: #fff;
}
.form textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--c-text-soft);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--c-cyan); cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  background: linear-gradient(to bottom, #1E3A8A 0%, #142960 100%);
  color: #fff;
}
.footer-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo {
  height: 88px;
  width: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
}
.footer-tagline {
  max-width: 640px;
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--c-yellow); }
.footer-legal-links {
  display: block;
  margin-top: 6px;
  font-size: .9rem;
}

/* ---------- Detailseiten ---------- */
.subpage-hero {
  background: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-orange) 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.subpage-hero h1 { margin-bottom: 6px; }
.subpage-hero p { color: var(--c-text); opacity: .8; margin: 0; }

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

.product-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-yellow) 100%);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  outline: 3px solid transparent;
  transition: outline-color .2s ease;
}
.gallery-thumb.active { outline-color: var(--c-cyan-dark); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.specs {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}
.specs h3 { margin-top: 0; color: var(--c-cyan-dark); }
.specs dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.specs dt { font-weight: 700; color: var(--c-text); }
.specs dd { margin: 0; color: var(--c-text-soft); }

.price-box {
  background: var(--c-yellow);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 6px 0 var(--c-yellow-dark);
}
.price-box .price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1;
}
.price-box .price-unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-text-soft);
}
.price-box .price-secondary {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--c-text);
  margin-bottom: 10px;
}
.price-box .price-note {
  font-size: .9rem;
  color: var(--c-text-soft);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.legal-content h1 { margin-bottom: .6em; }
.legal-content h2 { text-align: left; margin-top: 32px; font-size: 1.5rem; }
.legal-content h3 { font-size: 1.15rem; margin-top: 24px; }

/* ---------- Mobile Nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform .3s ease;
    align-items: stretch;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-cta { margin: 8px 0 0 !important; text-align: center; }
}

/* Kontaktformular: Erfolgsmeldung (falls Custom-Form gebraucht) */
.contact-success {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
}
.contact-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #BBF7D0;
}
.contact-success-icon svg { width: 36px; height: 36px; }
.contact-success h3 { color: var(--c-text); font-size: 1.4rem; margin: 0 0 8px; }
.contact-success p { color: var(--c-text-soft); font-size: 1rem; margin: 0 auto 24px; max-width: 420px; }

/* WP-Admin-Bar Ausrichtung */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
