@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,900;1,9..40,700&display=swap");

:root {
  --orange: #e7472b;
  --orange-hover: #cf3b22;
  --navy: #173559;
  --navy-deep: #10243c;
  --teal: #7ec8d3;
  --cream: #f6f0e6;
  --card: #f8f3ec;
  --bg: #ffffff;
  --text: #173559;
  --text-muted: #4a5d73;
  --border: #eadfd0;
  --header-bg: #ffffff;
  --footer-bg: #173559;
  --shadow: 0 16px 40px rgba(23,53,89,0.08);
}

[data-theme="dark"] {
  --orange: #ff6a4d;
  --orange-hover: #ff8168;
  --navy: #d6e4f5;
  --navy-deep: #0d1a2b;
  --teal: #7ec8d3;
  --cream: #152033;
  --card: #1b2a40;
  --bg: #0f1724;
  --text: #e8eef6;
  --text-muted: #a8b7c8;
  --border: #2a3d57;
  --header-bg: #121c2b;
  --footer-bg: #0b1522;
  --shadow: 0 16px 40px rgba(0,0,0,0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

header {
  background: var(--header-bg);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }
.logo-img-dark { display: none; }
[data-theme="dark"] .logo-img-light { display: none; }
[data-theme="dark"] .logo-img-dark { display: block; }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a {
  color: var(--text-muted); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
nav a:hover, nav a.active { color: var(--orange); }
.header-controls { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle {
  background: transparent; border: 1px solid var(--border); border-radius: 6px;
  width: 36px; height: 36px; cursor: pointer; font-size: 1rem; color: var(--text);
}
.ppc-logo img { height: 32px; width: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--orange); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 6px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
}
.btn:hover { background: var(--orange-hover); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn-white { background: #fff; color: var(--orange); }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }

.hero { background: linear-gradient(90deg, #f3ece1 0%, #d9eef2 55%, #bfe4ea 100%); overflow: hidden; }
[data-theme="dark"] .hero { background: linear-gradient(90deg, #1a2433 0%, #16333b 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; min-height: 420px; gap: 1rem;
}
.hero-visual img { width: 100%; object-fit: contain; max-height: 460px; }
.hero-img-dark { display: none; }
[data-theme="dark"] .hero-img-light { display: none; }
[data-theme="dark"] .hero-img-dark { display: block; }
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.1; color: #173559; margin-bottom: 0.75rem;
}
[data-theme="dark"] .hero-text h1 { color: #fff; }
.hero-text .kicker { font-size: 1.15rem; color: #173559; font-weight: 500; }
[data-theme="dark"] .hero-text .kicker { color: var(--teal); }

section { padding: 4.2rem 0; }
.eyebrow { color: var(--orange); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
h2 {
  font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.6rem;
}
.lead { color: var(--text-muted); margin-bottom: 2rem; }
.center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { background: var(--card); border-radius: 18px; padding: 1.6rem 1.4rem 1.3rem; min-height: 220px; }
.service-card .icon { font-size: 1.5rem; margin-bottom: 0.6rem; color: var(--orange); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; color: var(--navy); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.service-card .more { display: inline-block; margin-top: 1rem; font-weight: 700; color: var(--orange); text-decoration: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; color: var(--text-muted); }
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 360px; }
.about-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; text-align: right; }

.why-band { background: var(--navy-deep); color: #fff; padding: 3.2rem 0; margin-top: 3rem; }
.why-inner { text-align: center; }
.why-inner h2 { color: #fff; }
.hibiscus { font-size: 2.4rem; margin-bottom: 0.5rem; }
.why-box {
  background: #3a5070; color: #fff; border-radius: 14px;
  max-width: 820px; margin: 1.4rem auto 0; padding: 1.6rem 1.8rem;
}

.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem;
  max-width: 720px; margin: 0 auto;
}
.benefit { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; color: var(--navy); }
.benefit .ico { color: var(--orange); font-size: 1.2rem; }

.quote-band { background: var(--teal); color: #173559; text-align: center; padding: 3.5rem 0; }
[data-theme="dark"] .quote-band { color: #0f1724; }
.quote-band h2 { color: inherit; max-width: 720px; margin: 0 auto 1rem; }

.stepper { display: flex; justify-content: space-between; gap: 0.4rem; margin: 2rem 0 1.5rem; }
.step { flex: 1; text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.4rem; font-weight: 700; background: var(--bg);
}
.step.active .num, .step.done .num { background: var(--orange); color: #fff; border-color: var(--orange); }
.step.active { color: var(--orange); font-weight: 700; }

.quiz-card { background: var(--card); border-radius: 22px; padding: 1.8rem 1.6rem 1.5rem; box-shadow: var(--shadow); }
.quiz-meta { color: var(--orange); font-weight: 700; margin-bottom: 0.6rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin: 1.2rem 0 1.4rem; }
.choice {
  border: 1.5px solid var(--border); background: var(--bg); border-radius: 12px;
  padding: 1rem 0.6rem; text-align: center; cursor: pointer; color: var(--text); font-weight: 700;
}
.choice small { display: block; font-weight: 500; color: var(--text-muted); margin-top: 0.2rem; }
.choice:hover, .choice.selected { border-color: var(--orange); background: #fff3ef; color: var(--orange); }
[data-theme="dark"] .choice.selected { background: #3a221c; }
.quiz-actions { display: flex; justify-content: flex-end; gap: 0.6rem; }
.hint { background: var(--bg); border-radius: 10px; padding: 0.8rem 1rem; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.result-panel {
  display: none; background: var(--navy-deep); color: #fff; border-radius: 22px;
  padding: 2rem; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem;
}
.result-panel.visible { display: grid; }
.result-panel h2 { color: #fff; }
.result-panel .eyebrow { color: var(--orange); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0; }
.tag { background: #2b4568; border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.price-card { background: #fff; color: #173559; border-radius: 16px; padding: 1.5rem 1.2rem; text-align: center; }
.price-card .amount { font-size: 2rem; font-weight: 900; margin: 0.4rem 0; }

.fit-row {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  gap: 1rem; flex-wrap: nowrap; margin-top: 2rem;
  min-height: 200px;
}
.bubble-slider {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--teal);
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: left 0.22s ease, opacity 0.2s ease;
  opacity: 0.95;
}
.bubble {
  position: relative;
  z-index: 1;
  width: 150px; height: 150px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem; font-size: 0.88rem; color: var(--text-muted); box-shadow: var(--shadow);
  transition: color 0.2s ease, background 0.2s ease, font-weight 0.2s ease;
}
.bubble.active {
  background: transparent;
  color: #173559;
  font-weight: 700;
  box-shadow: none;
}

.cta-band {
  background: var(--orange); color: #fff; text-align: center;
  padding: 3.2rem 1.5rem 2.6rem; border-radius: 28px 28px 0 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { max-width: 640px; margin: 0 auto 1.2rem; }

.footer-hero { height: 180px; background: url("../images/beach.jpg") center/cover no-repeat; }
footer.site-footer { background: var(--footer-bg); color: rgba(255,255,255,0.88); padding: 2rem 0 1.4rem; }
footer.site-footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand img { height: 36px; margin-bottom: 0.6rem; }
.footer-contact { font-size: 0.9rem; line-height: 1.55; }
.footer-links { display: flex; gap: 1.2rem; font-size: 0.9rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.8rem; opacity: 0.75; }

.calc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 1.5rem 0 1.25rem; }
.calc-toolbar select, .calc-table .qty-input {
  padding: 0.45rem 0.6rem; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); color: var(--text);
}
.calc-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.calc-table th, .calc-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); }
.calc-table th { background: var(--navy-deep); color: #fff; }
.calc-table tbody tr.row-odd { background: var(--card); }
.calc-table .line-sum, .calc-table .price { text-align: right; }
.calc-table .qty-input { width: 5.5rem; text-align: right; }
.calc-table .qty-input.over-max { border-color: #dc2626; background: #fef2f2; color: #b91c1c; }
.max-hint { display: block; font-size: 0.75rem; color: var(--text-muted); }
.max-warning { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 6px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.calc-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; }
.impressum-block { margin-bottom: 1.6rem; }
.impressum-block h3 { margin-bottom: 0.4rem; }
.ref-placeholder { background: var(--card); border: 2px dashed var(--border); border-radius: 8px; padding: 2rem; text-align: center; color: var(--text-muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

@media (max-width: 900px) {
  .hero-inner, .about-grid, .grid-3, .result-panel.visible, .grid-2 { grid-template-columns: 1fr; }
  .about-copy { grid-template-columns: 1fr; }
  nav ul { gap: 0.75rem; flex-wrap: wrap; }
  .logo img { height: 40px; }
  .header-inner { flex-wrap: wrap; }
  .hero-text { padding: 2rem 0 1rem; }
}
