/* EIN Look für alle Seiten. Je App kommen nur die Farben aus app.json (--app, --app-schrift, --app-knopf, --app-link). */
:root { --bg: #f6f2ea; --card: #fffdf8; --ink: #1d1a17; --muted: #6f675d; --line: #e4ddd1; --link: var(--app-link, #b8513a); }
@media (prefers-color-scheme: dark) {
	:root { --bg: #151311; --card: #1f1c19; --ink: #f4efe7; --muted: #a39a8e; --line: #322d28; --link: color-mix(in srgb, var(--app-link, #ef8a6c) 55%, white); }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Kopf + Fuß */
header.top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; text-decoration: none; font-size: 1.05rem; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.lang { color: var(--muted); font-size: .9rem; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.lang:hover { color: var(--ink); }
footer.foot { border-top: 1px solid var(--line); padding: 22px 0 40px; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .88rem; color: var(--muted); }
footer.foot a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
footer.foot a:hover { color: var(--ink); }
footer.foot .sp { flex: 1; }
footer.foot > span:last-child { display: inline-flex; align-items: center; }

/* Knopf (ein Baustein für Store, Kontakt) */
.knopf { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--app-knopf); color: var(--app); font-weight: 800; text-decoration: none; }
.knopf.still { cursor: default; }
.doc .knopf { background: var(--app); color: var(--app-schrift); }

/* Startseite aller Apps */
.hub { padding: 28px 0 32px; }
.hub h1, .hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.hub h1 span { color: #d96b4e; }
.lead { font-size: 1.12rem; margin-top: 14px; max-width: 34em; color: var(--muted); }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.karte { display: flex; flex-direction: column; border-radius: 26px; padding: 26px 24px 22px; text-decoration: none; background: var(--app); color: var(--app-schrift);
	box-shadow: 0 14px 40px -18px rgba(0,0,0,.4); transition: transform .18s ease, box-shadow .18s ease; min-height: 300px; }
.karte:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -18px rgba(0,0,0,.5); }
.karte img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.karte h2 { font-size: 1.6rem; letter-spacing: -.02em; margin-top: 18px; }
.art, .zeile { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.karte p { margin-top: 10px; opacity: .9; flex: 1; }
.karte .mehr { margin-top: 18px; font-weight: 800; color: var(--app-knopf); }

/* App-Startseite */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; background: var(--app); color: var(--app-schrift); border-radius: 30px; padding: 44px 40px; overflow: hidden; }
.hero h1 span { color: var(--app-knopf); }
.hero .lead { color: inherit; opacity: .85; }
.hero .zeile { margin-bottom: 14px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.notiz { font-size: .88rem; opacity: .75; }
.hero-bild { justify-self: center; }
.hero-bild img { display: block; max-height: 460px; width: auto; }
.hero-bild.telefon img { border-radius: 34px; box-shadow: 0 26px 70px rgba(0,0,0,.35); max-height: 520px; }
.punkte { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 14px; margin-top: 22px; }
.punkt { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.zeichen { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; background: var(--app); color: var(--app-knopf); font-weight: 800; font-size: 1.05rem; }
.punkt h3 { margin-top: 12px; font-size: 1.05rem; }
.punkt p { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.bilder { margin-top: 44px; }
.bilder h2, .band h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.reihe { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 2px 10px; }
.reihe figure { flex: 0 0 auto; scroll-snap-align: start; }
.reihe img { display: block; border-radius: 18px; border: 1px solid var(--line); }
.reihe .hoch img { height: 420px; width: auto; border-radius: 26px; }
.reihe .quer img { height: 260px; width: auto; }
.reihe .eck img { height: 260px; width: auto; }
.reihe figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; max-width: 300px; }
.band { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.band p { margin-top: 8px; color: var(--muted); max-width: 44em; }

/* Text-Seiten (Datenschutz, Hilfe, Impressum, Kontakt) */
.doc { max-width: 720px; padding: 16px 0 8px; }
.doc h1 { font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.15; }
.doc .sub { color: var(--muted); margin-top: 6px; }
.doc .sub.nach { margin-top: 22px; }
.doc h2 { font-size: 1.08rem; margin-top: 28px; }
.doc p, .doc ul { margin-top: 6px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 3px; }
.doc .ende { margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.doc .ende h2 { margin-top: 0; }
.doc .ende .knopf { margin-top: 10px; }
.doc .mailline { margin-top: 18px; }
.mailline a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 700; text-decoration: none; word-break: break-all; }
.mailline a:hover { border-color: var(--link); }
.formcard { margin-top: 10px; }
.formcard { border-radius: 18px; overflow: hidden; }
.formcard iframe { width: 100%; border: 0; min-height: 520px; display: block; }

@media (max-width: 820px) {
	.hero { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 24px; }
	.hero-bild img { max-height: 320px; }
	.hero-bild.telefon img { max-height: 380px; }
	.karte { min-height: 0; }
	.reihe .hoch img { height: 340px; }
	.reihe .quer img { height: 190px; }
}
