/* GPS Studio Web — Startseite = Studio (Grilling 2, 08.10.2026). Farben kommen aus assets/rz.css (Trailframe). */

/* Was es auf der Startseite nicht mehr gibt bzw. nur auf den abgeleiteten Seiten (Teilen, Fotos) */
body[data-seite="start"] #fold-embed, body[data-seite="start"] #fold-geotag, body[data-seite="start"] .more,
body[data-seite="start"] .ex-note, body[data-seite="start"] .track-title .reset { display: none !important; }
body[data-zustand="start"] #result { display: none !important; }
body[data-zustand="tour"] .start, body[data-zustand="tour"] .privacy-note { display: none !important; }

.container { max-width: 1160px; }

/* ── Einstieg ─────────────────────────────────────────────────────────────────── */
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center;
  padding: 44px 0 26px; }
.start-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--tf-accent);
  border: 1px solid rgba(72, 214, 196, .35); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.start h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.02em; }
.start-p { font-size: 17.5px; line-height: 1.55; color: var(--tf-dim); margin: 0 0 22px; max-width: 34em; }
.start-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.start-knoepfe .haupt { appearance: none; font: 700 17px/1 var(--tf-font); padding: 16px 28px; border-radius: 12px; border: 1px solid;
  cursor: pointer; min-height: 52px; }
.start-knoepfe .btn--ghost { font-size: 15.5px; padding: 14px 20px; min-height: 52px; border-radius: 12px;
  background: transparent !important; color: var(--tf-text) !important; border: 1px solid var(--tf-line2) !important; }
.start-knoepfe .btn--ghost:hover { border-color: var(--tf-accent) !important; }
.start-orte { margin: 18px 0 6px; font-size: 15px; }
.start-orte a { font-weight: 600; }
.start-fein { margin: 0; font-size: 13.5px; color: var(--tf-muted); }
.start-fein b { color: var(--tf-dim); font-weight: 600; }
.start.over { outline: 2px dashed var(--tf-accent); outline-offset: 8px; border-radius: 18px; }
.start-video { margin: 0; }
.start-video video, .start-video-leer { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 16px; background: var(--tf-bg0);
  border: 1px solid var(--tf-line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); object-fit: cover; }
.start-video-leer { display: grid; place-items: center; font-size: 56px; }
.start-video figcaption { margin-top: 10px; font-size: 13.5px; text-align: right; }
.start-video figcaption a { font-weight: 600; }
@media (max-width: 860px) {
  .start { grid-template-columns: 1fr; gap: 22px; padding-top: 26px; }
  .start-video figcaption { text-align: left; }
}
.privacy-note { font-size: 12.5px !important; color: var(--tf-muted) !important; background: transparent !important;
  border: 0 !important; padding: 0 !important; margin: 4px 0 18px !important; max-width: 60em; }

/* ── Projektzeile (mit Tour) ─────────────────────────────────────────────────── */
.projekt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 6px; padding: 12px 16px;
  background: var(--tf-bg2); border: 1px solid var(--tf-line); border-radius: 14px; }
.projekt-name { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.projekt-name b { font-size: 17px; }
.projekt-name small { color: var(--tf-muted); font-size: 13px; }
.projekt .btn--ghost { background: transparent !important; color: var(--tf-text) !important; border: 1px solid var(--tf-line2) !important; }

/* ── Übersicht (#result) im dunklen Look ─────────────────────────────────────── */
#result .card, #result .stats .stat, .export-bar, .tc-bar { background: var(--tf-bg2); border-color: var(--tf-line) !important; }
#result h2 { font-size: 24px; }
.tc-btn { background: transparent; color: var(--tf-dim); border-color: var(--tf-line2); }
.tc-btn.on { background: var(--tf-accent) !important; color: var(--tf-accent-ink) !important; border-color: var(--tf-accent) !important; }
.export-bar .btn--ghost, .btn--ghost { background: transparent !important; color: var(--tf-text) !important; border: 1px solid var(--tf-line2) !important; }
.btn--primary { background: var(--tf-accent) !important; color: var(--tf-accent-ink) !important; border-color: var(--tf-accent) !important; }
.hint { color: var(--tf-muted); }

/* ── Bereiche ────────────────────────────────────────────────────────────────── */
.bereiche { margin: 34px 0 10px; display: flex; flex-direction: column; gap: 34px; }
.bereich { scroll-margin-top: 84px; }
.bereich h2 { font-size: 24px; margin: 0 0 4px; }
.bereich-intro { margin: 0 0 14px; color: var(--tf-muted); font-size: 14.5px; }
.bk-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.bk { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 2px 12px; padding: 14px 16px;
  background: var(--tf-bg2); border: 1px solid var(--tf-line); border-radius: 14px; color: var(--tf-text) !important; text-decoration: none; }
.bk:hover { border-color: var(--tf-accent); background: var(--tf-bg3); }
.bk-sym { grid-row: span 2; font-size: 24px; line-height: 1.15; }
.bk b { font-size: 15.5px; }
.bk small { color: var(--tf-muted); font-size: 13px; line-height: 1.4; }
.bk-konv-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bk-konv { padding: 12px 14px; background: var(--tf-bg2); border: 1px solid var(--tf-line); border-radius: 12px; color: var(--tf-dim) !important;
  text-decoration: none; font-size: 14px; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.bk-konv b { color: var(--tf-text); }
.bk-konv:hover { border-color: var(--tf-accent); background: var(--tf-bg3); }
.bk-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-gross { scroll-margin-top: 84px; display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--tf-bg2);
  border: 1px solid var(--tf-line); border-radius: 16px; color: var(--tf-text) !important; text-decoration: none; }
.bk-gross:hover { border-color: var(--tf-accent); background: var(--tf-bg3); }
.bk-gross .bk-sym { font-size: 30px; }
.bk-gross b { font-size: 19px; }
.bk-gross small { color: var(--tf-muted); font-size: 14px; line-height: 1.45; flex: 1; }
.bk-los { color: var(--tf-accent); font-weight: 600; font-size: 14.5px; margin-top: 6px; }
@media (max-width: 860px) { .bk-drei { grid-template-columns: 1fr; } }

/* App-Vorstellung unten = Erklärtext (dunkel, ruhig) */
#apps, #module { margin-top: 46px; }
.app, .apps-grid .app, .mod, .module-show .mod-card { background: var(--tf-bg2) !important; border-color: var(--tf-line) !important; }
.dlbtn { background: transparent !important; color: var(--tf-text) !important; border: 1px solid var(--tf-line2) !important; }
.dlbtn.primary { background: var(--tf-accent) !important; color: var(--tf-accent-ink) !important; border-color: var(--tf-accent) !important; }
.badge { color: var(--tf-accent-ink) !important; }

/* ── Abgeleitete Seiten Teilen / Fotos (pages/build_abgeleitet.py) ── */
body[data-seite="teilen"] .start, body[data-seite="fotos"] .start,
body[data-seite="teilen"] .privacy-note, body[data-seite="fotos"] .privacy-note,
body[data-seite="teilen"] #projekt, body[data-seite="fotos"] #projekt,
body[data-seite="teilen"] .bereiche, body[data-seite="fotos"] .bereiche,
body[data-seite="teilen"] #apps, body[data-seite="fotos"] #apps, body[data-seite="teilen"] #module, body[data-seite="fotos"] #module,
body[data-seite="teilen"] #stats, body[data-seite="fotos"] #stats, body[data-seite="teilen"] .export-bar, body[data-seite="fotos"] .export-bar,
body[data-seite="teilen"] #ele-card, body[data-seite="fotos"] #ele-card, body[data-seite="teilen"] .hint, body[data-seite="fotos"] .hint,
body[data-seite="teilen"] .more, body[data-seite="fotos"] .more,
body[data-seite="teilen"] #fold-geotag, body[data-seite="fotos"] #fold-embed,
body[data-seite="teilen"] .fold > .fold-sum, body[data-seite="fotos"] .fold > .fold-sum { display: none !important; }
body[data-seite="teilen"] #result, body[data-seite="fotos"] #result { display: block !important; }
body[data-seite="teilen"] .hero, body[data-seite="fotos"] .hero { padding: 30px 0 6px; }
.hero .kicker { color: var(--tf-accent); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 6px 0 8px; }
.hero p { color: var(--tf-dim); font-size: 17px; margin: 0; max-width: 40em; }
.abgeleitet-text { margin-top: 40px; color: var(--tf-dim); }
.abgeleitet-text h2 { font-size: 22px; margin: 26px 0 8px; }
.abgeleitet-text .guide, .abgeleitet-text .flow-note { background: var(--tf-bg2); border: 1px solid var(--tf-line); border-radius: 14px; padding: 16px 20px; }
.abgeleitet-text .chips a { display: inline-block; margin: 0 8px 8px 0; padding: 8px 14px; border: 1px solid var(--tf-line2); border-radius: 999px; color: var(--tf-text) !important; text-decoration: none; }
.abgeleitet-text .chips a:hover { border-color: var(--tf-accent); }
.projekt[hidden] { display: none !important; }
#result, .bereich, #projekt { scroll-margin-top: 80px; }
/* Kartenwahl: Übersicht/Fotos haben den Umschalter IN der Karte (rzkarte.js); die Auswahlliste gilt nur für die
   Leaflet-Vorschau der Blog-Bausteine auf der Teilen-Seite */
body:not([data-seite="teilen"]) #mv-style, body:not([data-seite="teilen"]) .tc-label[data-i18n="mv_style"] { display: none !important; }
#map { position: relative; }
/* Startseite: der Tourname steht schon in der Projektzeile */
body[data-seite="start"] #result .track-title { display: none !important; }
#result .stats .v { font-size: 22px !important; line-height: 1.2; white-space: nowrap; }
.export-bar { background: transparent !important; border: 0 !important; }
/* Tippziele ≥ 24 px (check_mobile) */
.start-orte a, .start-video figcaption a { display: inline-block; padding: 4px 0; min-height: 28px; }

/* ══ Neue Optik (08.10.2026, docs/mockups/20261008-neue-optik) ══════════════════════════════════════════════════ */
.container { max-width: 1240px; }
.start { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; padding: 56px 0 40px; min-height: 560px; }
.start-p { font-size: 18px; line-height: 1.62; max-width: 30em; }
.start-knoepfe .haupt, .start-knoepfe .btn--ghost { min-height: 50px; font-size: 15px; padding: 12px 22px; border-radius: 12px; display: inline-flex; gap: 10px; align-items: center; }
.start-fein { margin-top: 14px; }
.start-buehne { position: relative; }
.start-video video, .start-video-leer { border-radius: 22px; border: 1px solid #2c3d45; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.schwebe { position: absolute; z-index: 4; background: rgba(25, 37, 43, .95); border: 1px solid #48615c; border-radius: 17px; padding: 14px 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.schwebe.oben { right: -18px; top: 26px; min-width: 170px; }
.schwebe.unten { left: -22px; bottom: -26px; min-width: 210px; }
.schwebe .klein { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--tf-accent); }
.schwebe strong { display: block; font-size: 26px; line-height: 1.1; margin: 6px 0 2px; letter-spacing: -.02em; }
.schwebe span:last-child { font-size: 12.5px; color: var(--tf-dim); }
.start-video figcaption { margin-top: 40px; }
@media (max-width: 860px) {
  .start { padding-top: 30px; min-height: 0; }
  .schwebe.oben { right: 6px; top: 8px; min-width: 0; padding: 9px 12px; }
  .schwebe.unten { left: 6px; bottom: -20px; min-width: 0; padding: 9px 12px; }
  .schwebe strong { font-size: 19px; }
  .schwebe span:last-child { font-size: 11px; }
}

/* „Zuletzt im Studio“ */
.projekt { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; margin: 26px 0 8px;
  background: linear-gradient(110deg, #203034, #1b252e) !important; border: 1px solid #36504d !important; border-radius: 19px !important;
  box-shadow: inset 4px 0 var(--tf-accent); }
.projekt-kicker { display: block; color: var(--tf-gold); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.projekt-name b { font-size: 19px !important; }
.projekt-name small { margin-left: 0; }
.projekt-text { margin: 4px 0 0; color: var(--tf-dim); font-size: 13.5px; }
body[data-zustand="tour"] .projekt-text { display: none; }
.projekt-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.projekt-knoepfe .btn { min-height: 44px; border-radius: 11px; }
#pj-oeffnen[hidden] { display: none !important; }
@media (max-width: 720px) { .projekt { grid-template-columns: 1fr; } }

/* Bereiche */
.bereiche { gap: 0; margin-top: 10px; }
.bereich-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 80px 0 24px; }
.bereich-kopf h2 { font-size: clamp(27px, 2.5vw, 39px) !important; line-height: 1.1; letter-spacing: -.035em; margin: 12px 0 0 !important; }
.bereich-kopf p { color: var(--tf-dim); margin: 0; max-width: 470px; font-size: 15px; }
@media (max-width: 760px) { .bereich-kopf { display: block; margin-top: 56px; } .bereich-kopf p { margin-top: 10px; } }
.bk-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bk-gross { position: relative; min-height: 290px; padding: 27px !important; border-radius: 20px !important; overflow: hidden;
  background: linear-gradient(145deg, #24323a, #1b252e) !important; display: flex; flex-direction: column; gap: 0; }
.bk-gross:nth-child(2) { background: linear-gradient(145deg, #2b3431, #1c252e) !important; }
.bk-gross:nth-child(3) { background: linear-gradient(145deg, #2e3034, #1c252e) !important; }
.bk-gross:hover { transform: translateY(-3px); }
.bk-gross .num { font-size: 11px; color: var(--tf-accent); letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.bk-gross h3 { font-size: 26px; letter-spacing: -.03em; margin: 12px 0 10px; line-height: 1.15; }
.bk-gross p { font-size: 14.5px; color: var(--tf-dim); max-width: 300px; margin: 0; }
.bk-gross .bk-los { margin-top: auto; padding-top: 22px; }
.bk-gross .textur { position: absolute; right: -35px; bottom: -70px; width: 230px; height: 230px; border: 1px solid #4b817a; border-radius: 50%;
  opacity: .18; box-shadow: 0 0 0 32px rgba(73, 169, 154, .2), 0 0 0 64px rgba(73, 169, 154, .13); pointer-events: none; }
.bk-gross:nth-child(2) .textur { border-radius: 0; transform: rotate(-25deg); }
.bk-gross:nth-child(3) .textur { border-radius: 30% 70% 60% 40%; }
@media (max-width: 860px) { .bk-drei { grid-template-columns: 1fr; } .bk-gross { min-height: 210px; } }
.bk-zeilen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .bk-zeilen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bk-zeilen { grid-template-columns: 1fr; } }
.bk-konv-gitter { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bk-konv { border-radius: 14px; min-height: 52px; padding: 12px 16px; }
@media (max-width: 860px) {
  .start { grid-template-columns: 1fr !important; gap: 34px; }
  .start h1 { font-size: 46px !important; }
  .start-p { font-size: 16px; }
}
/* Hinweis „Beispiel-Tour“: Info in Gold statt Koralle (Koralle = Hauptaktion) */
.ex-note { background: rgba(242, 196, 107, .07) !important; border: 1px solid rgba(242, 196, 107, .3) !important; color: var(--tf-gold) !important; border-radius: 14px !important; }
.ex-note b { color: var(--tf-gold) !important; }
@media (max-width: 520px) { .schwebe.unten { display: none; } .start-video figcaption { margin-top: 14px; } }
