:root {
  --black: #0a0a0a;
  --white: #fff;
  --paper: #f5f7f6;
  --line: #dce3e2;
  --petrol: #0d5c63;
  --petrol-dark: #061f22;
  --turquoise: #19c6cf;
  --red: #d92f35;
  --muted: #596667;
  --background: #fff;
  --foreground: #0a0a0a;
  --card: #fff;
  --card-foreground: #0a0a0a;
  --primary: #0d5c63;
  --primary-foreground: #fff;
  --secondary: #f5f7f6;
  --secondary-foreground: #0a0a0a;
  --muted-foreground: #596667;
  --accent: #19c6cf;
  --accent-foreground: #0a0a0a;
  --border: #dce3e2;
  --input: #dce3e2;
  --ring: #19c6cf;
  --radius: 8px;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-muted-foreground: var(--muted-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-lg: var(--radius);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}
a { color: inherit; }

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header-main {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(48px, calc((100vw - 1180px) / 2));
}
.brand-link { display: block; text-decoration: none; }
.brand-logo { display: block; width: 145px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--petrol); }
.site-header .home-link { padding: 15px 20px; background: var(--black); color: var(--white); }
.site-header .home-link:hover { background: var(--petrol); color: var(--white); }
.community-counter {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px max(24px, calc((100vw - 1180px) / 2));
  background: var(--petrol-dark);
  color: white;
  text-align: center;
}
.community-counter-label {
  color: var(--turquoise);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.community-counter > strong {
  color: #ff5960;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.community-counter-detail {
  color: rgba(255,255,255,.74);
  font-size: 13px;
}
.community-counter-detail i { padding: 0 7px; color: rgba(255,255,255,.38); font-style: normal; }
.community-counter-detail b { color: white; font-weight: 750; }
.community-counter-note { color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.3; }

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 78px max(48px, calc((100vw - 1180px) / 2));
  background: #e9efee url('assets/teuer-steuer-hero.png') center / cover no-repeat;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,247,246,.99) 0%, rgba(245,247,246,.95) 39%, rgba(245,247,246,.45) 63%, rgba(6,31,34,.1) 100%);
}
.hero-copy { position: relative; z-index: 2; width: min(720px, 64vw); }
.eyebrow {
  margin: 0 0 20px;
  color: var(--petrol);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6.1vw, 84px);
  line-height: 1.03;
  letter-spacing: -.043em;
  font-weight: 800;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 650px; margin: 30px 0 32px; color: #364243; font-size: 21px; line-height: 1.55; }
.primary-cta {
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(13,92,99,.16);
}
.primary-cta:hover { background: #11adb5; }
.hero-note { margin: 15px 0 0; color: #596667; font-size: 13px; }
.rate-note {
  position: absolute;
  z-index: 3;
  right: max(48px, calc((100vw - 1180px) / 2));
  bottom: 45px;
  width: 360px;
  padding: 18px 22px;
  background: rgba(6,31,34,.92);
  color: white;
  border-left: 5px solid var(--turquoise);
  backdrop-filter: blur(8px);
}
.rate-note span, .rate-note small { display: block; }
.rate-note span { color: var(--turquoise); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rate-note strong { display: block; margin: 6px 0 4px; font-size: 25px; }
.rate-note small { color: rgba(255,255,255,.72); font-size: 12px; }

.calculator-section {
  padding: 96px max(48px, calc((100vw - 1180px) / 2)) 110px;
  background: var(--paper);
  scroll-margin-top: 20px;
}
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  align-items: end;
  gap: 80px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--black);
}
.section-intro h2, .result-copy h2, .method-section h2 {
  margin: 0;
  font-size: clamp(39px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 800;
}
.section-intro > p { margin: 0 0 5px; color: #465253; font-size: 18px; line-height: 1.55; }
.household-callout {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #cbd5d3;
  color: #344142;
}
.household-callout strong { color: var(--petrol); font-size: 17px; }
.household-callout span { line-height: 1.5; }

.drink-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.drink-row {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(6,31,34,.04);
}
.drink-name { display: flex; align-items: center; gap: 13px; min-width: 0; font-size: 15px; font-weight: 750; line-height: 1.28; }
.drink-name > span:last-child { min-width: 0; }
.drink-name small { display: block; margin-top: 6px; color: #667273; font-size: 11px; font-weight: 650; }
.drink-photo-wrap {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  display: block;
  overflow: hidden;
  border: 1px solid #e5e0d6;
  border-radius: 10px;
  background: #efe7d9;
}
.drink-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.stepper {
  display: grid;
  grid-template-columns: 44px 78px 44px;
  align-items: stretch;
  height: 50px;
  border: 1px solid #8ca4a5;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(13,92,99,.08);
}
.stepper button { display: grid; place-items: center; min-width: 44px; border: 0; background: #e9f1f0; color: var(--petrol); }
.stepper button:first-child { border-right: 1px solid #cbd9d8; }
.stepper button:last-child { border-left: 1px solid var(--petrol); background: var(--petrol); color: #fff; }
.stepper button:hover:not(:disabled) { background: #d5e6e4; }
.stepper button:last-child:hover:not(:disabled) { background: #084c52; }
.stepper button:disabled { opacity: 1; color: #819394; background: #f1f4f3; cursor: not-allowed; }
.stepper button:last-child:disabled { color: rgba(255,255,255,.72); background: #6f9295; }
.stepper button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.stepper output { display: flex; flex-direction: column; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; line-height: 1; }
.stepper output strong { font-size: 18px; }
.stepper output small { margin-top: 3px; color: #687475; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.calculator-help { max-width: 900px; margin: 25px 0 0; color: #667273; font-size: 13px; line-height: 1.55; }

.counter-option { margin-top: 20px; }
.counter-option label {
  display: inline-flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid #c7d4d2;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.counter-option label:hover { border-color: var(--petrol); }
.counter-option input { width: 19px; height: 19px; flex: 0 0 19px; margin: 1px 0 0; accent-color: var(--petrol); }
.counter-option strong, .counter-option small { display: block; }
.counter-option strong { font-size: 13px; line-height: 1.35; }
.counter-option small { margin-top: 3px; color: #687475; font-size: 10px; line-height: 1.4; }
.privacy-status { min-height: 16px; margin: 6px 0 0; color: var(--petrol); font-size: 11px; font-weight: 700; }

.result-section {
  display: grid;
  grid-template-columns: minmax(305px, .9fr) minmax(390px, 520px) minmax(260px, 300px);
  align-items: center;
  gap: clamp(32px, 4vw, 70px);
  padding: 95px max(48px, calc((100vw - 1560px) / 2));
  background: var(--petrol-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.result-section::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -86px;
  width: 600px;
  height: 270px;
  background: url('assets/sugar-cubes-bottom.png') left bottom / contain no-repeat;
  opacity: .11;
  pointer-events: none;
}
.result-copy, .share-card-column, .result-share { position: relative; z-index: 1; }
.result-copy .eyebrow, .result-share .eyebrow { color: var(--turquoise); }
.result-copy h2 { max-width: 610px; }
.result-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 44px 0 25px;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.result-values > div { padding: 24px 24px 24px 0; }
.result-values > div + div { padding-left: 27px; border-left: 1px solid rgba(255,255,255,.28); }
.result-values strong, .result-values span { display: block; }
.result-values strong { font-size: clamp(42px, 4.3vw, 64px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-values > div:last-child strong { color: #ff575c; }
.result-values span { margin-top: 7px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.result-copy > p:last-child { max-width: 620px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.share-card-column { width: 100%; }
.share-card-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1122 / 1402;
  background: #102326;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}
.result-share { align-self: center; }
.result-share-intro { margin: -5px 0 24px; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }
.share-button {
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  text-align: left;
  margin-bottom: 13px;
  padding: 13px 15px 13px 12px;
  border: 1px solid #dce3e2;
  border-radius: 16px;
  background: white;
  color: var(--black);
  box-shadow: 0 7px 22px rgba(0,0,0,.13);
}
.share-button:hover:not(:disabled) { transform: translateY(-1px); border-color: #a9bcbb; }
.share-button:disabled { opacity: .48; cursor: not-allowed; }
.share-button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; }
.share-button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.3; }
.share-button img { display: block; width: 27px; height: 27px; object-fit: contain; }
.share-button--download > span { background: var(--red); color: white; }
.share-button--whatsapp > span { background: #25d366; }
.share-button--x > span { background: #000; }
.share-button b { align-self: end; font-size: 16px; }
.share-button small { align-self: start; margin-top: 3px; color: #6a7475; font-size: 11px; line-height: 1.3; }
.share-notice { min-height: 40px; margin: 16px 0 0; color: #a9e8eb; font-size: 12px; font-weight: 700; line-height: 1.45; }

.method-section { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; padding: 92px max(48px, calc((100vw - 1180px) / 2)) 105px; background: white; }
.method-section article { padding-top: 25px; border-top: 3px solid var(--black); }
.method-section article:last-child { border-top-color: var(--red); }
.method-section h2 { font-size: clamp(32px, 3.4vw, 48px); }
.method-section article > p:not(.eyebrow) { color: #465253; line-height: 1.65; }
.method-section details { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; }
.method-section summary { cursor: pointer; color: var(--petrol); font-weight: 750; }
.method-section ul { list-style: none; margin: 16px 0 0; padding: 0; }
.method-section li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.method-section li span:last-child { color: #667273; text-align: right; }
.sources { font-size: 13px; }
.sources a { color: var(--petrol); font-weight: 750; }

.freiraum-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; padding: 72px max(48px, calc((100vw - 1180px) / 2)); background: #e9f0ef; }
.freiraum-cta h2 { max-width: 850px; margin: 0; font-size: clamp(29px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.freiraum-cta > a { min-height: 55px; display: inline-flex; align-items: center; padding: 0 26px; border: 2px solid var(--petrol); border-radius: 999px; color: var(--petrol); font-weight: 800; text-decoration: none; }
.freiraum-cta > a:hover { background: var(--petrol); color: white; }
.site-footer { min-height: 145px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; padding: 30px max(48px, calc((100vw - 1180px) / 2)); background: var(--petrol-dark); color: white; }
.site-footer .brand-logo { width: 142px; }
.site-footer > div { display: flex; gap: 25px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer p { color: rgba(255,255,255,.58); font-size: 13px; }

@media (max-width: 1260px) {
  .result-section { grid-template-columns: minmax(300px, .8fr) minmax(390px, 520px); }
  .result-share { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
  .result-share .eyebrow, .result-share-intro, .share-notice { grid-column: 1 / -1; }
  .result-share-intro { margin-bottom: 5px; }
  .share-button { margin: 0; }
}

@media (max-width: 980px) {
  .site-header nav a:not(.home-link) { display: none; }
  .community-counter { flex-wrap: wrap; gap: 4px 12px; padding-top: 10px; padding-bottom: 11px; }
  .community-counter-label, .community-counter-note { flex-basis: 100%; }
  .hero-copy { width: min(720px, 78vw); }
  .rate-note { right: 28px; }
  .drink-grid { grid-template-columns: 1fr; }
  .result-section, .method-section { grid-template-columns: 1fr; }
  .share-card-column { width: min(100%, 610px); }
  .result-share { grid-column: auto; grid-template-columns: repeat(3, 1fr); }
  .freiraum-cta { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .result-share { display: block; }
  .share-button { margin-bottom: 12px; }
}

@media (max-width: 640px) {
  .site-header-main { height: 84px; padding: 0 20px; }
  .brand-logo { width: 116px; }
  .site-header .home-link { padding: 11px 12px; font-size: 11px; }
  .community-counter { min-height: 76px; flex-wrap: wrap; gap: 4px 10px; padding: 10px 20px 12px; }
  .community-counter-label { flex-basis: 100%; }
  .community-counter > strong { font-size: 23px; }
  .community-counter-detail { flex-basis: 100%; font-size: 12px; }
  .community-counter-note { font-size: 9px; }
  .hero, .calculator-section, .result-section, .method-section, .freiraum-cta { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: 650px; align-items: flex-start; padding-top: 58px; background-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(245,247,246,.98) 0%, rgba(245,247,246,.9) 56%, rgba(6,31,34,.38) 100%); }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(45px, 12.7vw, 62px); }
  .hero-lead { font-size: 17px; }
  .primary-cta { width: 100%; font-size: 15px; }
  .rate-note { left: 20px; right: 20px; bottom: 22px; width: auto; }
  .calculator-section { padding-top: 68px; padding-bottom: 75px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-intro h2 { font-size: 43px; }
  .section-intro > p { font-size: 16px; }
  .household-callout { display: block; }
  .household-callout span { display: block; margin-top: 6px; }
  .drink-row { min-height: 104px; }
  .drink-photo-wrap { width: 68px; height: 68px; flex-basis: 68px; }
  .stepper { grid-template-columns: 44px 70px 44px; }
  .counter-option label { width: 100%; }
  .result-section { padding-top: 70px; padding-bottom: 75px; gap: 42px; }
  .result-values { grid-template-columns: 1fr; }
  .result-values > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .share-card-column { width: 100%; }
  .method-section { padding-top: 68px; padding-bottom: 74px; gap: 60px; }
  .method-section li { flex-direction: column; gap: 3px; }
  .method-section li span:last-child { text-align: left; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; padding: 36px 20px; }
}

@media (max-width: 480px) {
  .drink-row { grid-template-columns: 1fr; gap: 11px; padding: 12px; }
  .stepper { width: 100%; grid-template-columns: 52px 1fr 52px; height: 54px; }
  .drink-name { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .share-button:hover:not(:disabled) { transform: none; }
}
