/* Grußfreude – Webseite. Farben wie in der App (Theme.swift), große Schrift für ältere Menschen. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Dancing Script";
  src: url("/fonts/dancing-script-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7f3ee;
  --surface-2: #fbf8f4;
  --line: #e8e0d6;
  --text: #1f1a17;
  --muted: #5b524b;
  --accent: #b0501a;
  --accent-dark: #8e3e12;
  --accent-soft: #f6e2d3;
  --gold: #83600f;
  --gold-soft: #f5eac6;
  --send: #167a46;
  --free: #2b684a;
  --free-soft: #dbeee2;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(60, 35, 15, .06), 0 8px 24px rgba(60, 35, 15, .08);
  --shadow-lg: 0 2px 6px rgba(60, 35, 15, .08), 0 24px 60px rgba(60, 35, 15, .16);

  --header-h: 76px;
  --btn-h: 58px;
  --wrap: 1160px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 850; letter-spacing: -.015em; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 1rem; font-weight: 800; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 999px; padding: .35em 1em; margin-bottom: 1.1rem;
}
.script { font-family: "Dancing Script", cursive; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--surface); }
.section--warm { background: linear-gradient(180deg, var(--surface-2), var(--accent-soft)); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.25rem; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--text); color: #fff; padding: 12px 18px; border-radius: 12px; z-index: 100; font-weight: 800; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--btn-h); padding: 0 1.6em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1.15rem; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(176, 80, 26, .28); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn--dark { background: var(--text); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: 1rem; color: var(--muted); margin-top: 14px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 900; font-size: 1.5rem; letter-spacing: -.01em; flex: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 2px 8px rgba(176, 80, 26, .25); }
.brand:hover { color: var(--text); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; height: 48px; padding: 0 14px; border-radius: 12px;
  color: var(--text); text-decoration: none; font-weight: 750; font-size: 1.08rem;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--accent-dark); }
.nav .btn { min-height: 50px; margin-left: 8px; padding: 0 1.3em; font-size: 1.05rem; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px;
  border: 2px solid var(--line); border-radius: 999px; font-weight: 800; cursor: pointer; background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { border-color: var(--accent); color: var(--accent-dark); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; gap: 4px;
}
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 800; }
.menu-panel a:not(.btn):hover, .menu-panel a[aria-current="page"] { background: var(--surface); color: var(--accent-dark); }
.menu-panel .btn { margin-top: 6px; width: 100%; }

/* ---------- Startbereich ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 104px); background: radial-gradient(1200px 600px at 80% 0%, var(--accent-soft), transparent 60%), var(--bg); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .script { display: block; color: var(--accent); font-size: 1.12em; line-height: 1.1; margin-top: .08em; letter-spacing: 0; }
.hero .lead { max-width: 34em; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 1.02rem; font-weight: 700; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 22px; height: 22px; color: var(--free); flex: none; }

/* Handy-Ansicht wie in der App */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before { content: ""; position: absolute; inset: 8% -10% 0; background: radial-gradient(closest-side, rgba(176, 80, 26, .18), transparent); filter: blur(8px); z-index: 0; }
.phone {
  position: relative; z-index: 1; width: min(360px, 100%);
  background: #111; border-radius: 52px; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #333;
}
.phone-screen { background: #fff; border-radius: 41px; overflow: hidden; display: flex; flex-direction: column; padding: 18px 16px 16px; }
.phone-status { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 800; padding: 0 10px 8px; }
.phone-island { width: 96px; height: 28px; background: #111; border-radius: 20px; }
.phone-date { font-size: .78rem; font-weight: 800; color: var(--accent); margin: 6px 4px 0; }
.phone-title { font-size: 1.6rem; font-weight: 900; margin: 0 4px 10px; line-height: 1.1; }
.phone-card { background: #f3f3f6; border-radius: 20px; padding-bottom: 12px; overflow: hidden; }
.phone-card .card-art { border-radius: 0; }
.phone-meta { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 8px; font-weight: 800; font-size: .9rem; }
.phone-meta span:last-child { color: var(--accent); }
.phone-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px; }
.phone-buttons span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 999px; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.phone-buttons span:first-child { background: var(--send); color: #fff; }
.phone-buttons span:last-child { background: #fff; border: 1.5px solid #ddd; }
.phone-buttons svg { width: 16px; height: 16px; }
.phone-row-title { font-weight: 900; font-size: .95rem; margin: 14px 4px 8px; }
.phone-row { display: grid; grid-template-columns: repeat(4, 31%); gap: 8px; overflow: hidden; margin-right: -16px; }
.phone-row img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.phone-home { width: 38%; height: 5px; border-radius: 3px; background: #111; margin: 16px auto 0; flex: none; }

/* ---------- Grußkarte mit Namensband (wie GreetingCardView) ---------- */
.card-art { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); container-type: inline-size; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.ribbon {
  position: absolute; left: 50%; bottom: 9.5%; transform: translateX(-50%);
  max-width: 80%; padding: .06em .75em .1em;
  background: rgba(255, 251, 243, .92); border-radius: 999px; box-shadow: 0 1.2cqw 2.4cqw rgba(0, 0, 0, .18);
  font-family: "Dancing Script", cursive; font-weight: 700; line-height: 1.25;
  font-size: 22px; font-size: 7.8cqw;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
}
.ribbon--top { bottom: auto; top: 4%; }

/* ---------- Name ausprobieren ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.demo-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.demo-form h3 { margin-bottom: .3em; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field label { font-weight: 800; font-size: 1.05rem; }
.field input, .field select {
  width: 100%; height: var(--btn-h); padding: 0 18px; border-radius: 16px; border: 2px solid var(--line);
  font: inherit; font-size: 1.2rem; color: var(--text); background: #fff; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235b524b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.demo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.demo-cards figure { margin: 0; }
.demo-cards .card-art { box-shadow: var(--shadow); }

/* ---------- Schritte, Vorteile, Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; height: 100%; display: flex; flex-direction: column; }
.section--tint .tile { border-color: transparent; box-shadow: var(--shadow); }
.tile h3 { margin-top: 4px; }
.tile p { color: var(--muted); margin-bottom: 0; }
.tile-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 18px; flex: none; }
.tile-icon svg { width: 30px; height: 30px; }
.step-no { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; margin-bottom: 18px; flex: none; }

/* Anlässe */
.occasions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.occasion { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.occasion:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.occasion img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.occasion-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.occasion-title { font-weight: 850; font-size: 1.2rem; line-height: 1.25; }
.occasion-count { color: var(--muted); font-size: 1rem; font-weight: 700; margin-top: auto; padding-top: 4px; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Stil-Streifen */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.strip img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.price { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px; display: flex; flex-direction: column; height: 100%; }
.price--best { border-color: var(--gold); background: linear-gradient(180deg, #fffdf6, #fff); box-shadow: var(--shadow-lg); }
.price-badge { position: absolute; top: -16px; left: 28px; background: var(--gold); color: #fff; font-weight: 850; font-size: .95rem; border-radius: 999px; padding: 4px 14px; white-space: nowrap; }
.price h3 { margin-bottom: 6px; }
.price-amount { font-size: 2.6rem; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.price-unit { color: var(--muted); font-weight: 750; min-height: 1.6em; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; }
.price li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.price li svg { width: 24px; height: 24px; color: var(--free); margin-top: 3px; }
.price--best li svg { color: var(--gold); }
.price .note { margin-top: auto; font-size: 1rem; color: var(--muted); }
.fair { margin-top: 32px; background: var(--free-soft); border-radius: var(--radius); padding: 24px 28px; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; }
.fair svg { width: 44px; height: 44px; color: var(--free); }
.fair p { margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.section--tint .faq details { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center; padding: 20px 24px; min-height: 68px; font-weight: 850; font-size: 1.2rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238e3e12' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M9 3v12M3 9h12'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Abschluss */
.cta-box { background: var(--text); color: #fff; border-radius: 32px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 154, 94, .45), transparent); }
.cta-box h2 { color: #fff; margin-bottom: .3em; }
.cta-box p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 1.2rem; }
.cta-box .btn { position: relative; z-index: 1; }
.cta-box .btn--primary { box-shadow: none; }

/* ---------- Bilder-Seiten ---------- */
.page-head { padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 3vw, 40px); background: linear-gradient(180deg, var(--surface-2), #fff); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { max-width: 40em; margin-bottom: 0; }
.crumbs { font-size: 1rem; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #b8aca0; }
.crumbs a { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery button { all: unset; display: block; cursor: zoom-in; border-radius: var(--radius-sm); }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); transition: transform .18s ease; background: var(--surface); }
.gallery button:hover img { transform: scale(1.02); }
.info-box { margin-top: 40px; background: var(--accent-soft); border-radius: var(--radius); padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.info-box h2 { font-size: 1.6rem; margin-bottom: .25em; }
.info-box p { margin: 0; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-weight: 800; }
.chips a:hover { border-color: var(--accent); color: var(--accent-dark); }
.overview { display: grid; gap: 22px; }
.overview-item { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.overview-item h2 { font-size: 1.6rem; margin-bottom: .2em; }
.overview-item p { color: var(--muted); margin-bottom: 14px; }
.overview-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.overview-thumbs img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.overview-lead { display: flex; flex-direction: column; }
.overview-lead .btn { align-self: flex-start; }

/* Großansicht */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100vw - 32px)); width: 100%; }
.viewer::backdrop { background: rgba(20, 14, 10, .78); }
.viewer-inner { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.viewer img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.viewer-body { padding: 20px 22px 22px; display: grid; gap: 14px; }
.viewer-title { font-weight: 850; font-size: 1.25rem; margin: 0; }
.viewer-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.viewer-close { min-height: var(--btn-h); }

/* ---------- Textseiten ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.65rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .todo { background: #fff3cd; border-radius: 6px; padding: 0 .3em; font-weight: 800; }
.contact-card { margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 26px 28px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--surface); padding: 56px 0 36px; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); text-decoration: none; font-weight: 700; }
.footer-grid a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-grid p { color: var(--muted); font-size: 1.05rem; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 1rem; }

/* ---------- Anpassung an Bildschirmgröße ---------- */
@media (max-width: 1080px) {
  .occasions, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .trust { justify-content: center; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-form { position: static; }
  .prices { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
  .overview-item { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; --gutter: 18px; }
  body { font-size: 1.125rem; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 40px; height: 40px; }
  .occasions, .gallery, .grid-4, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .demo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .demo-cards figure:nth-child(3) { display: none; }
  .occasion-body { padding: 12px 14px 14px; }
  .occasion-title { font-size: 1.05rem; }
  .occasion-count { font-size: .92rem; }
  .cta-box, .info-box { grid-template-columns: minmax(0, 1fr); }
  .cta-box .btn, .info-box .btn { width: 100%; }
  .tile { padding: 24px 22px; }
  .grid-4 .tile { padding: 20px 16px; }
  .grid-4 .tile h3 { font-size: 1.15rem; }
  .grid-4 .tile p { font-size: 1rem; }
  .fair { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .viewer-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hero .btn-row .btn { width: 100%; }
  .btn { padding: 0 1em; font-size: 1.08rem; text-align: center; }
  .cta-box { padding: 30px 22px; border-radius: 26px; }
  .info-box { padding: 24px 20px; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { border-radius: 46px; }
  .phone-screen { border-radius: 36px; }
}

/* Sehr schmale Handys (z. B. iPhone SE, 320 px) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand { font-size: 1.15rem; gap: 9px; }
  .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .menu summary { padding: 0 14px; gap: 6px; }
  .page-head h1 { font-size: 2rem; }
  .eyebrow { font-size: .92rem; }
}
