@import "fonts.css";
/* Startseite: Tannengrün und Gold, der Beispielkalender als „Adventfenster“ im Mittelpunkt */
:root {
  --tanne: #1f3527; --tanne-2: #2b4a36; --tanne-soft: #eef2ea;
  --gold: #eab74a; --gold-d: #b5822a; --holz: #3a2e1c;
  --ink: #2c2013; --mute: #6b5d4c; --paper: #fffdf8; --line: #dcd3c2;
  --display: "Nunito", "Segoe UI", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: .9em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: .35em; }
p { margin: 0 0 1em; }
a { color: var(--tanne-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; padding-block: clamp(56px, 9vw, 104px); }
.wrap.narrow { width: min(760px, 100% - 40px); }
.band { background: var(--tanne-soft); }
.band > .wrap { padding-block: clamp(56px, 9vw, 104px); }

/* So kommt er an: drei Handys, das mittlere etwas höher */
.show { display: grid; grid-template-columns: minmax(0, 21rem) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show-text p { color: var(--mute); font-size: 1.08rem; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); align-items: start; padding-top: 36px; }
.phone { margin: 0; }
.phone:nth-child(2) { margin-top: -36px; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 1125; object-fit: cover; object-position: top;
  border: 7px solid #1d2a21; border-radius: 30px; background: #1d2a21; box-shadow: 0 18px 36px rgba(31, 53, 39, .28); }
.phone figcaption { margin-top: 12px; text-align: center; font-family: var(--display); font-weight: 700; font-size: .98rem; }
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; }
  .show-text { text-align: center; max-width: 34rem; margin-inline: auto; }
  .phones { grid-template-columns: repeat(3, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px 20px 8px; margin-inline: -20px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { scroll-snap-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 999px; font-family: var(--display); font-weight: 800;
  text-decoration: none; color: var(--ink); border: 1.5px solid rgba(44, 32, 19, .35); background: #fff; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(44, 32, 19, .45), 0 6px 14px rgba(0, 0, 0, .12); transition: transform .08s, background-color .15s; }
.btn:active { transform: translateY(1px); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #f2c865; }
.btn.big { padding: 14px 28px; font-size: 1.1rem; }

/* Kopfzeile auf dem dunklen Hero */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(20px, 4vw, 48px); color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.logo i { width: 36px; height: 36px; background: url("ente.webp") center/contain no-repeat; }
.top-nav { display: flex; align-items: center; gap: 18px; }
.top-nav .link { color: #fff; font-weight: 700; text-decoration: none; }
.top-nav .link:hover { text-decoration: underline; }

/* Hero */
.hero { background: radial-gradient(ellipse at 75% 40%, #2f5139 0%, var(--tanne) 60%); color: #fff;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 8px clamp(28px, 5vw, 64px);
  padding: clamp(88px, 9vw, 116px) clamp(20px, 4vw, 48px) 24px; }
.hero-text { max-width: 34rem; justify-self: end; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-bottom: .45em; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 32rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.cta-note { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.cta-alt { margin: 18px 0 0; font-size: .98rem; }
.season { display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: rgba(234, 183, 74, .16); border: 1px solid rgba(234, 183, 74, .55); color: #fbe3ad; font-size: .95rem; }
.window figcaption a { color: var(--gold); text-underline-offset: 3px; white-space: nowrap; }
.cta-alt a { color: #fff; text-underline-offset: 3px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.cta-alt a:hover { color: var(--gold); }

/* Das Fenster mit dem Beispielkalender */
.window { margin: 0; justify-self: start; width: 100%; max-width: 760px; }
.window iframe { display: block; width: 100%; height: clamp(340px, calc(100vh - 300px), 600px); border: 0; border-radius: 10px;
  outline: 10px solid var(--holz); box-shadow: 0 0 0 12px var(--gold-d), 0 30px 60px rgba(0, 0, 0, .45); background: #241a12; }
.window figcaption { margin-top: 24px; text-align: center; color: rgba(255, 255, 255, .8); font-size: .95rem; }

/* Hinweis nach unten: zeigt, dass die Seite weitergeht */
.more { grid-column: 1 / -1; justify-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px;
  color: #fff; font-family: var(--display); font-weight: 700; text-decoration: none; opacity: .9; }
.more span { font-size: 1.6rem; line-height: 1; color: var(--gold); animation: nudge 1.8s ease-in-out infinite; }
.more:hover { opacity: 1; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .more span { animation: none; } }
#h-steps { scroll-margin-top: 24px; }

/* Schritte (echte Reihenfolge, daher nummeriert) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--gold-d); margin-bottom: 10px; }
.steps p { color: var(--mute); margin: 0; }

/* Funktionen: zwei Spalten, keine Kacheln */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 80px); }
.feat { border-top: 3px solid var(--gold); padding-top: 16px; }
.feat p { color: var(--mute); margin: 0; max-width: 36rem; }

/* Zielgruppen */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.who p { color: var(--mute); margin: 0; }

/* Preise */
.sub { color: var(--mute); margin-top: -.4em; margin-bottom: 32px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 24px 22px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.plan.free { border: 3px solid var(--gold); background: #fffaf0; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1.1; margin: .2em 0 .6em; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan li { padding: 6px 0 6px 24px; position: relative; border-top: 1px solid #eee6d8; font-size: .97rem; }
.plan li:first-child { border-top: 0; }
.plan li::before { content: "✦"; position: absolute; left: 0; top: 6px; color: var(--gold-d); font-size: .85rem; }
.plan .btn { align-self: flex-start; }
.fine { margin-top: 24px; color: var(--mute); font-size: .95rem; }
.service { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 28px; padding: 22px 24px; border: 1.5px dashed var(--gold-d); border-radius: 14px; background: #fff; }
.service h3 { margin: 0 0 6px; }
.service > div { flex: 1 1 360px; }
.service > div p { margin: 0; }
.service-price { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
.service-price strong { font-size: 1.6rem; line-height: 1; }
.service-price span { color: var(--mute); font-size: .9rem; }

/* Fragen */
.faq details { border-bottom: 1.5px solid #cfd8c9; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--tanne-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--mute); padding-bottom: 12px; }

/* Abschluss */
.closing { text-align: center; }
.closing h2 { margin-bottom: .4em; }
.closing p { color: var(--mute); margin-bottom: 28px; }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 28px 20px 36px; background: var(--tanne); color: rgba(255, 255, 255, .75); font-size: .95rem; }
.foot a { color: #fff; }

/* Tablet und Handy */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; row-gap: 36px; }
  .more { margin-top: -12px; }
  .hero-text, .window { justify-self: center; }
  .hero-text { text-align: center; }
  .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .steps, .who, .feats { grid-template-columns: 1fr; }
  .top-nav { gap: 12px; }
  .window iframe { height: 560px; outline-width: 7px; box-shadow: 0 0 0 9px var(--gold-d), 0 20px 40px rgba(0, 0, 0, .4); }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .top .btn { padding: 8px 14px; font-size: .95rem; }
  .logo { font-size: 1rem; }
  .logo i { width: 30px; height: 30px; }
}
@media (max-width: 440px) {
  .top-nav .btn { display: none; } /* Der große Button im Hero ist direkt darunter */
  .top-nav .link { display: inline; }
}
/* Niedrige Bildschirme (Laptops): Hero kompakter, damit der Hinweis nach unten sichtbar bleibt */
@media (min-width: 981px) and (max-height: 780px) {
  .hero { padding-top: 88px; }
  .hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
  .lead { font-size: 1.05rem; }
  .cta { margin-top: 18px; }
  .window figcaption { margin-top: 18px; }
}
