/* CRE8 Website: Farben und Schrift wie in der App (mobile/src/theme.ts). Schrift liegt lokal, keine Verbindung zu Google. */
/* Schrift als WOFF (halb so groß wie TTF), erzeugt mit tools/website/schrift.mjs */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/Inter_400Regular.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/Inter_500Medium.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-weight: 600 700; font-display: swap; src: url('fonts/Inter_600SemiBold.woff') format('woff'); }

:root {
  --creme: #fbf3ec;
  --sand: #f2e5da;
  --line: #ead3c6;
  --card: #fffaf6;
  --text: #3b2316;
  --body: #5b4033;
  --muted: #7d6457;
  --accent: #b4502c;
  --accent-dark: #8f3519;
  --accent-soft: #f8e3d8;
  --peach: #f5d6c4;
  --outline-text: #5a1a12;
  --gradient: linear-gradient(90deg, #ca5630, #b43e1a 55%, #9c2e0b);
  --ease: cubic-bezier(0.33, 1, 0.68, 1); /* wie in der App: sanft abbremsen */
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { transition: none !important; }
}

/* Kopf: Logo links, Menü als Pille in der Mitte, Knopf rechts */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 243, 236, 0.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: block; line-height: 0; justify-self: start; }
.wordmark img { height: 22px; width: auto; }
@media (max-width: 760px) { header.site .wrap { height: 64px; } }

/* Knöpfe */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--gradient); color: #fffdfa; text-decoration: none;
  font-weight: 500; font-size: 16px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(138, 46, 20, 0.22);
  transition: filter 0.2s ease;
}
.button:hover { filter: brightness(1.06); }
.button.small { height: 40px; padding: 0 18px; font-size: 14.5px; }
.button.soft { background: var(--accent-soft); color: var(--accent-dark); box-shadow: none; }
.button.soft:hover { filter: brightness(0.97); }

/* Hero: alles mittig, Handy unten angeschnitten */
.hero { padding: 4px 12px 0; }
.hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1280px; margin: 0 auto; padding: 56px 24px 0;
  border-radius: 36px; text-align: center;
  background:
    radial-gradient(46% 42% at 50% 100%, rgba(226, 103, 52, 0.32), rgba(226, 103, 52, 0) 72%),
    linear-gradient(180deg, var(--card) 0%, var(--accent-soft) 62%, var(--peach) 100%);
}
/* feines Korn wie auf der Willkommensseite der App */
.hero-card::after, .cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero h1 {
  font-weight: 600; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 11.5em; margin: 30px auto 0; text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
/* Am Handy etwas kleiner, damit beide Überschriften in zwei Zeilen passen („Erlebe die / exklusivsten Hotels“) */
@media (max-width: 640px) { .hero h1 { font-size: clamp(26px, 8.1vw, 40px); } }
.hero .line { font-size: 19px; color: var(--body); max-width: 36em; margin: 22px auto 0; text-wrap: balance; }
@media (max-width: 640px) { .hero .line br { display: none; } } /* am Handy fließt der Text einfach weiter */
.hero .actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.hero .soon { margin: 0; font-size: 14px; color: var(--body); }
/* So hoch, dass die Hotelkarte unten im Handy ganz zu sehen ist, die Menüleiste aber nicht */
.hero-phone { display: flex; justify-content: center; height: calc(min(320px, 76vw) * 2.03); margin-top: 48px; }
.swap { transition: opacity 0.25s ease; }
.swap.fading { opacity: 0; }
@media (max-width: 640px) {
  .hero { padding: 0 8px; }
  .hero-card { padding: 44px 18px 0; border-radius: 28px; }
  .hero h1 { margin-top: 26px; }
  .hero .line { font-size: 17.5px; }
  .hero-phone { margin-top: 40px; }
}

/* Umschalter Creator | Hotels: die farbige Fläche gleitet (wie useSlider in der App) */
.seg {
  position: relative; display: inline-flex; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 250, 246, 0.8);
}
.seg button {
  position: relative; z-index: 1; height: 38px; padding: 0 18px; border: 0; border-radius: 999px;
  background: none; cursor: pointer; font: 500 14.5px/1 'Inter', sans-serif; color: var(--outline-text);
}
.seg button[aria-pressed='true'] { color: #fff; }
.seg:not(.ready) button[aria-pressed='true'] { background: var(--gradient); }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--gradient); box-shadow: 0 4px 12px rgba(138, 46, 20, 0.22);
}
.seg.anim button { transition: color 0.26s var(--ease); }
.seg.anim .seg-thumb { transition: transform 0.26s var(--ease), width 0.26s var(--ease); }

/* Handy-Rahmen um die App-Screens */
.phone {
  flex: none; width: 320px; max-width: 76vw;
  aspect-ratio: 402 / 874; align-self: flex-start;
  padding: 9px; border-radius: 52px;
  background: #241812;
  box-shadow: 0 30px 60px -20px rgba(90, 40, 15, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.phone { container-type: inline-size; }
/* Bildschirm wie beim iPhone: oben Statusleiste mit Uhrzeit und Dynamic Island, darunter der App-Screen.
   So rutscht nichts in die runden Ecken (Maße wie iPhone 17: 402 × 874 pt, Statusleiste 54 pt). */
.phone .screen { position: relative; height: 100%; overflow: hidden; border-radius: 13.6cqw; background: #fbf3ec; padding-top: 13.43%; }
.phone .screen::before {
  content: '9:41'; position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 402 / 54;
  display: flex; align-items: center; padding: 0.6cqw 0 0 13.4cqw; box-sizing: border-box;
  font: 600 4.2cqw/1 -apple-system, 'SF Pro Text', 'Inter', sans-serif; color: #111; letter-spacing: -0.01em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='75' height='13' viewBox='0 0 75 13'%3E%3Cg fill='%23111'%3E%3Crect x='0' y='9' width='3.2' height='4' rx='1'/%3E%3Crect x='5' y='6.5' width='3.2' height='6.5' rx='1'/%3E%3Crect x='10' y='4' width='3.2' height='9' rx='1'/%3E%3Crect x='15' y='1' width='3.2' height='12' rx='1'/%3E%3Cpath transform='translate(25 .5)' d='M8.5 2.2c2.5 0 4.8 1 6.5 2.6l1.3-1.3C14.2 1.5 11.5.3 8.5.3S2.8 1.5.7 3.5L2 4.8c1.7-1.6 4-2.6 6.5-2.6zm0 3.7c1.5 0 2.9.6 3.9 1.5l1.3-1.3C12.4 4.9 10.5 4 8.5 4S4.6 4.9 3.3 6.1l1.3 1.3c1-.9 2.4-1.5 3.9-1.5zm0 3.6c-.6 0-1.2.2-1.6.6L8.5 11.7l1.6-1.6c-.4-.4-1-.6-1.6-.6z'/%3E%3Crect x='48' y='2' width='20' height='9' rx='2.5'/%3E%3Cpath d='M71 5.5v4c.8-.3 1.3-1.1 1.3-2s-.5-1.7-1.3-2z' opacity='.45'/%3E%3C/g%3E%3Crect x='46.5' y='.5' width='23' height='12' rx='3.8' fill='none' stroke='%23111' opacity='.4'/%3E%3C/svg%3E") no-repeat right 8.5cqw center / 18.7cqw auto;
}
.phone .screen::after {
  content: ''; position: absolute; top: 2.7cqw; left: 50%; transform: translateX(-50%);
  width: 30.8cqw; height: 9cqw; border-radius: 5cqw; background: #000;
}
.phone img { width: 100%; height: auto; }

/* Abschnitte */
/* Gleicher Abstand zwischen allen Abschnitten: 112 px am Computer, 80 px am Handy.
   Jeder Abschnitt hat oben und unten die Hälfte, der erste nach dem Hero und der letzte vor dem Fuß die volle Höhe. */
section.block { padding: 56px 0; }
.hero ~ section.block[data-for] { padding-top: 112px; } /* Creator- oder Hotel-Teil direkt nach dem Hero */
main > section.block:last-child { padding-bottom: 112px; }
.head { text-align: center; max-width: 40em; margin: 0 auto; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase;
}
h2 { font-weight: 600; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.03em; margin: 18px auto 0; text-wrap: balance; }
.lead { color: var(--body); font-size: 18px; margin: 16px auto 0; text-wrap: balance; }
@media (max-width: 640px) {
  section.block { padding: 40px 0; }
  .hero ~ section.block[data-for] { padding-top: 80px; }
  main > section.block:last-child { padding-bottom: 80px; }
}

/* Drei Schritte: oben der Screen, unten der Text */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.step .shot {
  display: flex; justify-content: center; height: 330px; padding-top: 34px; overflow: hidden;
  background: linear-gradient(180deg, var(--accent-soft), var(--peach));
}
.step .phone { width: 228px; padding: 7px; border-radius: 38px; }
.step .text { padding: 24px 26px 30px; border-top: 1px solid var(--line); text-align: center; }
.step h3 { font-weight: 600; font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; margin: 12px 0 6px; }
.step .num {
  width: 30px; height: 30px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 600;
}
.step p { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: 24em; }
.step .num svg { width: 14px; height: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* Qualität: geprüfte Creator und 4- und 5-Sterne-Hotels, bewusst ohne App-Screens */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 56px auto 0; }
.trust-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; text-align: center; }
.trust-art {
  height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(60% 70% at 50% 35%, rgba(226, 103, 52, 0.18), rgba(226, 103, 52, 0) 70%), linear-gradient(180deg, var(--accent-soft), var(--peach));
}
/* Creator: Profilbilder nebeneinander, in der Mitte eines mit Ring und Verifiziert-Haken */
.trust-art .avatars { display: flex; align-items: center; }
.trust-art .avatars img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); margin: 0 -9px; box-shadow: 0 4px 12px rgba(90, 40, 15, 0.18); }
.trust-art .avatars img:nth-child(1), .trust-art .avatars img:nth-child(5) { width: 56px; height: 56px; }
.trust-art .avatars .main { position: relative; z-index: 1; margin: 0 -2px; padding: 3px; border-radius: 50%; background: var(--gradient); box-shadow: 0 10px 24px rgba(138, 46, 20, 0.28); }
.trust-art .avatars .main img { display: block; width: 104px; height: 104px; margin: 0; border-width: 3px; box-shadow: none; opacity: 1; }
.trust-art .verified {
  position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; border: 3px solid var(--card);
}
.trust-art .verified svg { width: 13px; height: 13px; }
.trust-art .stars { display: flex; gap: 6px; color: var(--accent); filter: drop-shadow(0 6px 12px rgba(138, 46, 20, 0.22)); }
.trust-art .stars svg { width: 40px; height: 40px; display: block; }
.trust-art .stars .fifth { opacity: 0.45; }
.trust-art .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 20px; }
.trust-art .pills span {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 250, 246, 0.85); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--outline-text);
}
.trust-art .pills svg { width: 13px; height: 13px; color: var(--accent); }
.trust-card h3 { font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin: 26px 0 8px; }
.trust-card p { color: var(--muted); font-size: 16px; margin: 0 auto; padding: 0 28px 32px; max-width: 26em; }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; max-width: 460px; }
  .trust-art .avatars img { width: 58px; height: 58px; }
  .trust-art .avatars img:nth-child(1), .trust-art .avatars img:nth-child(5) { width: 50px; height: 50px; }
  .trust-art .avatars .main img { width: 96px; height: 96px; }
  .trust-art .pills { gap: 6px; padding: 0 12px; }
  .trust-art .pills span { padding: 6px 10px; font-size: 13px; }
  .trust-card p { padding: 0 22px 28px; }
}

/* Warum CRE8 */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; text-align: center; }
.fact .icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
}
.fact .icon svg { width: 24px; height: 24px; }
.fact h3 { font-weight: 600; font-size: 19px; margin: 18px 0 6px; }
.fact p { color: var(--muted); margin: 0 auto; font-size: 16px; max-width: 20em; text-wrap: pretty; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; gap: 36px; } }

/* App laden */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 36px; padding: 80px 24px; text-align: center;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(226, 103, 52, 0.22), rgba(226, 103, 52, 0) 72%),
    linear-gradient(180deg, var(--accent-soft), var(--peach));
}
.cta .lead { max-width: 30em; }
.cta .stores { justify-content: center; margin-top: 32px; }
@media (max-width: 640px) { .cta { padding: 56px 18px; border-radius: 28px; } }

/* Store-Knöpfe: offizielle Plaketten von Apple und Google (img/stores), nicht verändern.
   Die Google-Plakette hat ringsum durchsichtigen Rand (41 von 250 px), der wird weggeschnitten,
   damit beide Plaketten gleich hoch aussehen. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store { display: block; line-height: 0; border-radius: 9px; transition: transform 0.2s var(--ease); }
.store:hover { transform: translateY(-1px); }
.store img { height: 54px; width: auto; }
.store.google { height: 54px; overflow: hidden; }
.store.google img { height: 80.4px; margin: -13.2px; }
@media (max-width: 640px) {
  .store img, .store.google { height: 46px; }
  .store.google img { height: 68.5px; margin: -11.2px; }
}

/* Fuß */
footer.site { padding: 56px 0 36px; border-top: 1px solid var(--line); text-align: center; }
footer.site .wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
footer.site .wordmark { display: inline-block; }
footer.site .about p { color: var(--muted); font-size: 15px; margin: 10px auto 0; max-width: 24em; text-wrap: balance; }
footer.site .copy .nb { white-space: nowrap; }
footer.site h4 { display: none; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
footer.site a { text-decoration: none; color: var(--text); }
footer.site a:hover { color: var(--accent-dark); }
footer.site .kontakt ul { gap: 10px; }
footer.site .kontakt a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 500;
}
footer.site .kontakt svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
footer.site .recht ul { gap: 8px 24px; font-size: 14.5px; }
footer.site .recht a { color: var(--body); }
footer.site .copy {
  width: 100%; margin: 0; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 13px; line-height: 1.5;
}
@media (max-width: 640px) { footer.site { padding: 44px 0 30px; } footer.site .wrap { gap: 24px; } footer.site .copy { font-size: 12.5px; } }

/* Rechtstexte */
.legal main { padding: 64px 0 88px; }
.legal main .wrap { max-width: 760px; }
.legal h1 { font-weight: 600; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 18px 0 6px; }
.legal .stand { color: var(--muted); margin: 0 0 24px; }
.legal h2 { font-size: 20px; letter-spacing: -0.01em; margin: 34px 0 8px; text-wrap: wrap; }
.legal main p { margin: 0 0 12px; color: #4d3428; }
.legal main a { color: var(--accent-dark); }

/* ===== Entwurf: neue Abschnitte ===== */

/* Creator- und Hotel-Teil wechseln weich mit dem Umschalter oben */
[data-for] { transition: opacity 0.25s ease; }
[data-for].fading { opacity: 0; }

/* Für Hotels: Vorteile */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.benefit { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 30px; text-align: center; }
.benefit .icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); }
.benefit .icon svg { width: 24px; height: 24px; }
.benefit h3 { font-weight: 600; font-size: 19px; margin: 16px 0 6px; }
.benefit p { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: 22em; }
.hotel-cta { text-align: center; margin: 36px 0 0; color: var(--body); font-size: 17px; }
.hotel-cta a { color: var(--accent-dark); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* Warum CRE8: vier Punkte */
.facts.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .facts.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .facts.four { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: -6px 0 0; padding: 0 24px 22px; color: var(--body); font-size: 16px; }
.faq details p a { color: var(--accent-dark); font-weight: 500; }
