/* ==========================================================================
   Ein Glas? – Website-Stylesheet (v1.2 „Feierabendlicht“)
   System Font Stack (SF Pro on Apple devices), Cookie-free, Light & Dark Mode
   ========================================================================== */

/* Feierabendlicht (Design 1.2): Glasblau → Indigo, Abendlicht-Akzent, runde Schrift */
:root {
  --brand-blue: #0C82FE;
  --brand-indigo: #433CD8;
  --brand-ink: #1F5FE0;
  --brand-gradient: linear-gradient(90deg, #0C82FE 0%, #433CD8 100%);
  --brand-gradient-diag: linear-gradient(135deg, #0C82FE 0%, #433CD8 100%);
  --himmel: linear-gradient(165deg, #1F6BF2 0%, #3B4FE0 60%, #433CD8 100%);
  --abendlicht: #FF9F5A;
  --abendlicht-text: #A84C08;
  --abendlicht-flaeche: #FFF0E0;
  --bg: #F4F6FC;
  --surface: #FFFFFF;
  --surface-alt: #F1F3FA;
  --ink: #1A1F36;
  --muted: #5A6280;
  --line: #E1E5F2;
  --soft: #EEF1FA;
  --ok: #197A4B;
  --ok-bg: #E3F6EC;
  --shadow-sm: 0 1px 2px rgba(26, 31, 54, 0.04), 0 8px 24px -10px rgba(26, 31, 54, 0.14);
  --shadow-md: 0 2px 4px rgba(26, 31, 54, 0.05), 0 14px 32px -12px rgba(26, 31, 54, 0.28);
  --shadow-phone: 0 28px 64px -18px rgba(13, 18, 48, 0.42);
  --radius-card: 22px;
  --font-rund: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #8FB2FF;
    --himmel: linear-gradient(165deg, #1E3A8F 0%, #262C7E 60%, #2A2470 100%);
    --abendlicht: #FFB061;
    --abendlicht-text: #FFB061;
    --abendlicht-flaeche: #3A2512;
    --bg: #0B0E1B;
    --surface: #161B30;
    --surface-alt: #1E2440;
    --ink: #EEF1FF;
    --muted: #A3ABC9;
    --line: #252C47;
    --soft: #1E2440;
    --ok: #5CE09B;
    --ok-bg: #133326;
    --shadow-sm: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 14px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 28px 64px -18px rgba(0, 0, 0, 0.72);
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.narrow {
  max-width: 780px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-rund);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { margin: 0; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-rund);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(67, 60, 216, 0.3);
}
nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}
nav.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-inner > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
nav.primary-nav a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Buttons & Chips
   ========================================================================== */
.btn {
  font-family: var(--font-rund);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(67, 60, 216, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -8px rgba(67, 60, 216, 0.62);
  text-decoration: none;
}
.btn-sm {
  font-size: 14px;
  padding: 9px 18px;
}
.btn-white {
  background: #FFFFFF;
  color: #2F4FE0;
  box-shadow: 0 12px 32px -10px rgba(8, 12, 40, 0.38);
}
.btn-white:hover {
  background: #FFF7EE;
  color: #2340C0;
  box-shadow: 0 16px 36px -10px rgba(8, 12, 40, 0.48);
}
.btn-outline-white {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Hero Section (Brand Gradient Full-Bleed)
   ========================================================================== */
.hero-band {
  background: var(--himmel);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 68px 0 80px;
}
.hero-band::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -160px;
  height: 320px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 159, 90, 0.55) 0%, rgba(255, 159, 90, 0) 68%);
  pointer-events: none;
}
.hero-band::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  top: -120px;
  right: -120px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-chip {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}
.hero-band h1 {
  font-size: clamp(44px, 6.2vw, 68px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 50ch;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.hero-subnote {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 52ch;
}
.hero-subnote strong { color: #FFFFFF; }
.hero-subnote a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* iPhone Hardware Mockup Frame */
.phone-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}
.iphone-mockup {
  width: min(100%, 316px);
  border-radius: 42px;
  padding: 10px;
  background: #101426;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-phone);
}
.iphone-mockup img {
  width: 100%;
  border-radius: 32px;
  display: block;
  background: #FFFFFF;
}

/* ==========================================================================
   Sections & Layout Grids
   ========================================================================== */
section.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}
section.section-alt {
  background: var(--surface);
}
.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 10px;
}
.section h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-intro {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
}

/* 3 Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  align-content: start;
}
.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-badge {
  font-family: var(--font-rund);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card h3 {
  font-size: 21px;
  font-weight: 700;
}
.step-card p {
  color: var(--muted);
  font-size: 16px;
}
.step-phone-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--bg);
  border-radius: 18px;
  padding: 20px 16px 0;
  max-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.step-phone-wrap .iphone-mockup {
  width: 224px;
  border-radius: 30px 30px 0 0;
  padding: 7px 7px 0;
  box-shadow: 0 12px 32px rgba(13, 18, 48, 0.22);
}
.step-phone-wrap .iphone-mockup img {
  border-radius: 23px 23px 0 0;
}

/* Split Sections (Privat & Spontan) */
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.split-grid.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.section:not(.section-alt) .feature-card {
  background: var(--surface);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
}
.feature-card p {
  font-size: 15.5px;
  color: var(--muted);
}

/* Target Groups Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: var(--shadow-sm);
}
.audience-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-ink);
}
.audience-card h3 { font-size: 18px; }
.audience-card p { font-size: 15px; color: var(--muted); }

/* Comparison Table (Abgrenzung) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}
table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 16px;
}
.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--soft);
}
.compare-table th.highlight-col {
  color: var(--brand-ink);
  font-size: 14px;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td.yes-cell {
  font-weight: 700;
  color: var(--ok);
}

/* Stammtisch & Haltung Dual Highlight */
.dual-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 14px;
  align-content: start;
}
.highlight-box h2 {
  font-size: clamp(26px, 3.2vw, 34px);
}
.highlight-box p {
  color: var(--muted);
  font-size: 17px;
}

/* Authentic Drink Orientation Pills (from Brand Guide Ch. 9) */
.drink-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.drink-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
}
.drink-bier { background: #FFF1D6; color: #8F5300; border-color: #F6DBA5; }
.drink-wein { background: #FCE7F1; color: #9C2A63; border-color: #F4C3DA; }
.drink-spritz { background: #FFEADF; color: #B83D0A; border-color: #FBCBB2; }
.drink-cafe { background: #F4EAE2; color: #7A4E33; border-color: #E3D0C0; }
.drink-alkoholfrei { background: #DFF5EE; color: #0B7A61; border-color: #B5E6D8; }

@media (prefers-color-scheme: dark) {
  .drink-bier { background: #3A2A10; color: #FFC46B; border-color: #5C4218; }
  .drink-wein { background: #3A1828; color: #FF9BCB; border-color: #5E2842; }
  .drink-spritz { background: #3D2014; color: #FF9E6E; border-color: #623420; }
  .drink-cafe { background: #30251D; color: #E3BC9A; border-color: #4A3728; }
  .drink-alkoholfrei { background: #12332A; color: #62E3C2; border-color: #1B5446; }
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  transition: border-color 0.15s ease;
}
details.faq-item[open] {
  border-color: var(--brand-blue);
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 500;
  color: var(--brand-ink);
  line-height: 1;
}
details.faq-item[open] summary::after {
  content: "−";
}
details.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 66ch;
}

/* Closing CTA Banner */
.closing-cta {
  background: var(--himmel);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  border-radius: 28px;
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
  justify-items: center;
}
.closing-cta h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  color: #FFFFFF;
}
.closing-cta p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
}
.closing-meta {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.closing-meta a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Footer */
footer.site-footer {
  background: var(--surface);
  padding: 56px 0 64px;
  color: var(--muted);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 600;
}

/* Legal Subpages (/impressum, /datenschutz, /nutzungsbedingungen) */
main.legal {
  padding: 56px 0 88px;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}
.legal h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 8px;
}
.legal p,
.legal li,
.legal address {
  font-size: 16.5px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.65;
}
.legal p + p { margin-top: 10px; }
.legal ul {
  margin: 8px 0 0;
  padding-left: 1.25em;
  display: grid;
  gap: 8px;
}
.legal .muted {
  color: var(--muted);
  margin-top: 24px;
}

/* Neu in 1.2: Hinweis-Chip (Abendlicht) und dezenter Kaffee-Link */
.new-tag {
  display: inline-block;
  font: 700 11px/1 var(--font-rund);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--abendlicht-flaeche);
  color: var(--abendlicht-text);
}
.feature-card .new-tag { margin-left: auto; }
.coffee-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.coffee-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.coffee-note a:hover { color: var(--ink); }

/* Responsive Breakpoints */
@media (max-width: 960px) {
  nav.primary-nav { display: none; }
  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .dual-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-grid.reverse .phone-showcase {
    order: 2;
  }
}

@media (max-width: 640px) {
  nav.primary-nav { display: none; }
  .feature-cards,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  section.section { padding: 64px 0; }
  .legal-card { padding: 28px 22px; }
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .hero-band { padding: 48px 0 60px; }
  .btn { white-space: normal; text-align: center; }
  .closing-cta { padding: 40px 22px; }
}
