/* ==========================================================================
   PUBLIC.BUZZ – CI (Farben, Schrift). Alle übrigen Farben leiten sich davon ab.
   Schriften Sora (Überschriften) und Inter (Text) liegen auf unserem Server (keine Anfragen an Google).
   ========================================================================== */
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  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: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("/assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  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;
}
:root {
  color-scheme: dark;
  --brand: #e8ff2f;          /* Electric Buzz Yellow – Primary Accent */
  --brand-text: #0f1115;     /* Text auf Gelb */
  --brand-soft: #23281a;     /* dunkle Fläche mit gelbem Stich (Hinweise) */
  --accent2: #ff6a3d;        /* Signal Orange – Secondary Accent */
  --font-heading: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg: #0f1115;             /* Deep Charcoal */
  --card: #171a20;           /* Soft Black */
  --text: #f6f4ef;           /* Warm White */
  --muted: #b8bdc7;          /* Muted Silver */
  --border: #2a2f38;
  --primary: var(--brand);
  --primary-text: var(--brand-text);
  --danger: #ff6a3d;
  --ok-bg: #1f2a12;
  --ok-text: #e8ff2f;
  --err-bg: #3a1a12;
  --err-text: #ff9a7a;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--primary); }

h1, h2 { margin: 0 0 16px; }
h2 { font-size: 1.15rem; }

.muted { color: var(--muted); }
.center { text-align: center; }
.inline { display: inline; margin: 0; }

/* ---------- Buttons */
.btn, .btn-icon, .btn-toggle {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}
.btn:hover, .btn-icon:hover { border-color: var(--muted); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); font-weight: 600; }
.btn-icon { padding: 6px 9px; min-width: 34px; }
.btn-icon.danger:hover { border-color: var(--danger); background: var(--err-bg); }
.btn-toggle { padding: 6px 10px; font-size: .8rem; font-weight: 600; min-width: 46px; color: var(--muted); }
.btn-toggle.on { background: var(--ok-bg); color: var(--ok-text); border-color: transparent; }

/* ---------- Forms */
input:not([type=checkbox]):not([type=color]):not([type=file]), select, textarea {
  font: inherit;
  font-weight: 400;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
input[type=file] { font: inherit; font-size: .85rem; max-width: 100%; }
/* Datei-Felder und Feldgruppen dürfen schmaler werden als ihr Inhalt (sonst seitliches Scrollen am Handy) */
input[type=file] { width: 100%; min-width: 0; }
fieldset { min-width: 0; }
.grid-form > *, .bg-fields, .item-main, .social-edit > * { min-width: 0; }
label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 600; }
label small { font-weight: 400; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }

.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.grid-form .full { grid-column: 1 / -1; }

fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
legend { font-size: .85rem; font-weight: 600; padding: 0 6px; }
.colors { display: flex; flex-wrap: wrap; gap: 16px; }
.colors input[type=color] { width: 56px; height: 36px; border: 1px solid var(--border); border-radius: 8px; padding: 2px; background: var(--card); }

.avatar-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.avatar-preview { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---------- Layout */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav.tabs { order: 10; flex-basis: 100%; margin: 0 -10px -4px; }   /* eigene Zeile: die Bereiche der Seite */
.topbar nav.meta-nav { margin-left: auto; }
.topbar nav a { color: var(--text); text-decoration: none; font-size: .9rem; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.topbar nav a:hover { color: var(--primary); }
.topbar nav a.active { background: var(--primary); color: var(--primary-text); font-weight: 600; }
.topbar nav.meta-nav a { color: var(--muted); font-size: .85rem; }
.topbar nav a.active, .topbar nav a.active:hover { color: var(--primary-text); }
.topbar-actions { display: flex; gap: 8px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; max-width: 1240px; margin: 0 auto; padding: 24px 20px; }
.content { min-width: 0; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 24px; scroll-margin-top: 80px; }

.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.flash.ok { background: var(--ok-bg); color: var(--ok-text); }
.flash.error { background: var(--err-bg); color: var(--err-text); }

/* ---------- Preview */
.preview { position: sticky; top: 80px; align-self: start; }
.phone { border: 10px solid #1c1e23; border-radius: 36px; overflow: hidden; height: 680px; background: #000; }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Lists */
.add-box { margin-bottom: 18px; }
.add-box > summary { list-style: none; }
.add-box > summary::-webkit-details-marker { display: none; }
.add-box[open] > summary { margin-bottom: 4px; }

.sortable, .item-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.intro { margin: -4px 0 16px; max-width: 62ch; line-height: 1.5; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.inline-form input[name=title] { flex: 1; min-width: 180px; }
.inline-form span { flex: 1; min-width: 180px; font-size: .9rem; }
.sections-box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.sections-box h3 { margin: 0 0 4px; }
.sections-box p { margin: 0; font-size: .88rem; line-height: 1.5; }
.muted.small { font-size: .82rem; margin-top: 14px; }
.edit-jump { display: inline-block; margin-top: 8px; font-size: .85rem; text-decoration: none; color: var(--accent2); }   /* Orange statt Gelb: hebt sich von den gelben Markierungen ab */
.edit-jump:hover { text-decoration: underline; }
details.help summary { cursor: pointer; font-size: .85rem; color: var(--primary); width: max-content; max-width: 100%; }
details.help[open] summary { margin-bottom: 10px; }
.item { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--card); }
.item.inactive { opacity: .55; }
.item.dragging { opacity: .4; }
.item-row { display: flex; align-items: center; gap: 12px; }
.handle { cursor: grab; color: var(--muted); font-size: 1.2rem; user-select: none; }
.item .thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.thumb.placeholder { display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--muted); font-size: 1.2rem; }
.item-main { flex: 1; min-width: 0; }
/* Titel und Untertitel in einer Zeile, zu lange Texte enden mit „…“ (voller Text beim Darüberfahren und beim Bearbeiten) */
.item-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-main .url { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-actions { display: flex; gap: 4px; flex-shrink: 0; align-items: center; }
.badge { font-size: .75rem; color: var(--muted); white-space: nowrap; }

.edit summary { cursor: pointer; font-size: .85rem; color: var(--primary); margin-top: 8px; width: max-content; }

.social-add { display: grid; grid-template-columns: 200px 1fr auto; gap: 10px; margin-bottom: 16px; }
.social-edit { display: grid; grid-template-columns: 170px 1fr auto; gap: 8px; flex: 1; min-width: 0; }
.social-icon { display: inline-flex; width: 32px; justify-content: center; }
.social-icon .icon { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Login */
.auth-box { max-width: 380px; margin: 12vh auto; padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; }
.auth-box form { display: grid; gap: 14px; }
.auth-box h1 { font-size: 1.3rem; }

/* ---------- Responsive */
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .preview { display: none; }
}
@media (max-width: 640px) {
  .layout { padding: 16px 12px; }
  .grid-form, .social-add, .social-edit { grid-template-columns: 1fr; }
  .item-row { flex-wrap: wrap; }
  .item-main { flex-basis: calc(100% - 110px); }
  .badge { order: 5; }
  .item-actions { margin-left: auto; }
  .topbar nav.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topbar nav.meta-nav { margin-left: 0; }
}

/* ---------- Hintergrundfoto */
.full-line { flex-basis: 100%; margin: 0; font-size: .85rem; }
.bg-row { display: flex; gap: 16px; align-items: flex-start; }
.bg-preview { width: 90px; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); flex-shrink: 0; }
.bg-fields { flex: 1; display: grid; gap: 12px; }
input[type=range] { width: 100%; accent-color: var(--primary); }

/* Sichtbarkeits-Schalter */
.btn.status { font-weight: 600; }
.btn.status.private { background: #3a2a12; border-color: #ff6a3d; color: #ffb59c; }
.btn.status.public { background: var(--ok-bg); border-color: transparent; color: var(--ok-text); }

h1, h2, h3 { font-family: var(--font-heading); text-wrap: balance; }

/* ---------- Anmelden / Registrieren */
.auth-box .brand { font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.auth-box .links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; margin-top: 16px; }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.slug-field span { padding: 9px 2px 9px 11px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.slug-field input:not([type=checkbox]) { border: 0 !important; padding-left: 0 !important; border-radius: 0 !important; }
.hint { font-weight: 400; color: var(--muted); font-size: .8rem; }

/* ---------- Hinweisbalken im Dashboard */
.notice { padding: 12px 14px; border-radius: 10px; margin-bottom: 18px; background: var(--brand-soft); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice form { margin: 0; }
.page-url { font-size: .85rem; color: var(--muted); }
.page-url a { color: var(--text); font-weight: 600; }

/* ---------- Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .8rem; }
.table-wrap { overflow-x: auto; }
table.users { width: 100%; border-collapse: collapse; font-size: .85rem; }
table.users th, table.users td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.users td.num { font-variant-numeric: tabular-nums; text-align: right; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--bg); color: var(--muted); }
.pill.ok { background: var(--ok-bg); color: var(--ok-text); }
.pill.bad { background: var(--err-bg); color: var(--err-text); }
.admin-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.admin-actions input { width: 160px !important; padding: 5px 8px !important; font-size: .8rem; }
.admin-actions .btn { padding: 5px 10px; font-size: .8rem; }
.btn.danger { color: var(--danger); }
.danger-zone { border-color: var(--err-bg); }

/* ---------- Startseite (Platzhalter bis zur Verkaufsseite) */
.home { max-width: 640px; margin: 0 auto; padding: 12vh 16px; text-align: center; }
.home h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 12px; }
.home p { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.home .claim-form { display: flex; gap: 8px; max-width: 460px; margin: 28px auto 0; }
.home .claim-form .slug-field { flex: 1; }
@media (max-width: 480px) { .home .claim-form { flex-direction: column; } }

/* ---------- Abo */
.billing { max-width: 920px; margin: 0 auto; padding: 24px 16px 48px; }
.billing h1 { font-size: 1.3rem; }
.status-card form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.plans { margin-bottom: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; margin-bottom: 0; }
.plan.featured { border: 2px solid var(--brand); }
.plan-badge { position: absolute; top: -12px; left: 20px; background: var(--brand); color: var(--brand-text); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h2 { margin-bottom: 6px; }
.price { margin: 0; font-size: 1rem; }
.price b { font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.features { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; flex: 1; }
.features li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.plan-actions { display: grid; gap: 8px; }
.plan-actions .btn { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Pro-Felder */
.pro-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pro-fields legend a { font-weight: 400; }
.pro-fields:disabled { opacity: .6; }
.pro-fields:disabled legend { opacity: 1; }
.item-main .pill { margin-top: 4px; }
@media (max-width: 640px) { .pro-fields { grid-template-columns: 1fr; } }

.logo-preview { max-width: 140px; max-height: 60px; object-fit: contain; padding: 6px; border-radius: 8px; border: 1px solid var(--border); background: repeating-conic-gradient(#e6e6e6 0 25%, #fff 0 50%) 0 0 / 12px 12px; }

/* Fokuspunkt im Hintergrundfoto wählen */
.focus-picker { width: 120px; flex-shrink: 0; }
.focus-img { position: relative; cursor: crosshair; }
.focus-picker img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.focus-picker small { display: block; margin-top: 6px; font-size: .75rem; color: var(--muted, #666); line-height: 1.3; }
.focus-dot {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; pointer-events: none;
  border-radius: 50%; border: 3px solid #fff; background: rgba(232, 255, 47, .55); box-shadow: 0 0 0 2px rgba(0, 0, 0, .4);
}
@media (max-width: 520px) { .bg-row { flex-direction: column; } .focus-picker { width: 160px; } }
.template-box { display: flex; gap: 12px; align-items: center; font-size: .85rem; line-height: 1.5; }
.template-box img { width: 110px; border-radius: 6px; display: block; }
.template-box .btn { margin-top: 6px; }
.btn.small { display: inline-block; padding: 5px 12px; font-size: .8rem; }

/* ---------- PUBLIC.BUZZ Feinschliff */
.btn, .btn-toggle { border-radius: 999px; padding-left: 16px; padding-right: 16px; }
.btn.primary { font-weight: 700; }
.btn.primary:hover { filter: brightness(1.08); }
.card, .auth-box { border-radius: 18px; }
h1, h2, h3 { letter-spacing: -.035em; }
.wordmark { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.wordmark b { color: var(--brand); font-weight: 800; }
.home h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.05; font-weight: 800; }
.home h1 em { font-style: normal; color: var(--brand); display: block; }
.home .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.home .btn { padding: 12px 22px; font-size: 1rem; text-decoration: none; }
.home .kicker { text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--muted); margin-bottom: 20px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
.btn { font-family: var(--font-heading); }
.logo-img { display: block; height: 26px; width: auto; }
.auth-box .logo-img { height: 32px; }
input[type=checkbox], input[type=radio], input[type=range] { accent-color: var(--brand); }
.home-logo { display: inline-block; margin-bottom: 14px; } .home-logo .logo-img { height: 44px; }

/* ---------- Pakete im Dashboard */
.tier-pill { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
/* Seitenmenü oben im Dashboard: aktuelle Seite, Stufe, Wechsel zwischen Seiten (Agency) */
.page-menu { position: relative; }
.page-menu summary {
  display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer;
  padding: 5px 12px 5px 5px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg);
  transition: border-color .2s ease;
}
.page-menu summary::-webkit-details-marker { display: none; }
.page-menu summary:hover, .page-menu[open] summary { border-color: var(--brand); }
.pm-avatar { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 4px; object-fit: cover;
  background: var(--brand); color: var(--brand-text); font-family: var(--font-heading); font-weight: 800; font-size: .9rem; }
.pm-name { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.pm-chev { width: 7px; height: 7px; margin: -3px 2px 0 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; }
.page-menu[open] .pm-chev { transform: rotate(-135deg); margin-top: 3px; }
.pm-panel {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 30; min-width: 280px; max-height: 70vh; overflow-y: auto;
  padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.pm-label { margin: 4px 8px 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pm-item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; color: var(--text); text-decoration: none; }
.pm-item:hover { background: var(--bg); }
.pm-item.current { background: var(--brand-soft); }
.pm-text { flex: 1; min-width: 0; display: grid; }
.pm-text b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-text small { font-size: .75rem; color: var(--muted); }
.pm-check { color: var(--brand); font-weight: 800; }
.pm-add { display: block; margin-top: 6px; padding: 9px 8px; border-top: 1px solid var(--border); color: var(--brand); text-decoration: none; font-weight: 600; font-size: .88rem; }
.pm-add:hover { text-decoration: underline; }
.presets { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.preset { flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; }
.preset input { position: absolute; opacity: 0; pointer-events: none; }
.preset-swatch { width: 64px; height: 84px; border-radius: 12px; border: 2px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; transition: border-color .2s ease, transform .2s ease; }
.preset-swatch i { display: block; height: 9px; border-radius: 2px; }
/* Button-Formen: kleine Vorschau (gleiche Formen wie auf der Kundenseite, siehe page.css) */
.shapes { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.shape-pick { flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; }
.shape-pick input { position: absolute; opacity: 0; pointer-events: none; }
.shape-swatch { display: grid; place-items: center; width: 84px; height: 54px; border-radius: 12px; border: 2px solid var(--border); transition: border-color .2s ease, transform .2s ease; }
.shape-pick input:checked + .shape-swatch { border-color: var(--brand); transform: translateY(-2px); }
.shape-pick input:focus-visible + .shape-swatch { outline: 3px solid var(--accent2); outline-offset: 2px; }
.shape-swatch i { position: relative; display: block; width: 58px; height: 22px; background: var(--brand); border-radius: 3px; }
.shp-cut i { clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.shp-tab i { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.shp-slant i { clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.shp-ticket i { -webkit-mask: radial-gradient(circle 4px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 4px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 4px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.shp-bracket i::before { content: ""; position: absolute; inset: -4px; color: var(--text);
  background: linear-gradient(currentColor 0 0) 0 0 / 7px 1.5px, linear-gradient(currentColor 0 0) 0 0 / 1.5px 7px,
    linear-gradient(currentColor 0 0) 100% 0 / 7px 1.5px, linear-gradient(currentColor 0 0) 100% 0 / 1.5px 7px,
    linear-gradient(currentColor 0 0) 0 100% / 7px 1.5px, linear-gradient(currentColor 0 0) 0 100% / 1.5px 7px,
    linear-gradient(currentColor 0 0) 100% 100% / 7px 1.5px, linear-gradient(currentColor 0 0) 100% 100% / 1.5px 7px;
  background-repeat: no-repeat; }
.preset input:checked + .preset-swatch { border-color: var(--brand); transform: translateY(-2px); }
.preset input:focus-visible + .preset-swatch { outline: 3px solid var(--accent2); outline-offset: 2px; }
fieldset:disabled { opacity: .55; }
fieldset:disabled legend { opacity: 1; }
.page-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.page-list li { display: flex; gap: 8px; align-items: center; }

/* ---------- Preiskarten (Startseite und Abo-Seite) */
.pricing { max-width: 1200px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card {
  position: relative; background: var(--card); border: 1px solid rgba(246, 244, 239, .14); border-radius: 22px; padding: 28px 24px;
  display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 30px 70px rgba(232, 255, 47, .07); }
.price-badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-text); font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { margin: 0; font-size: 1.35rem; }
.price-tagline { color: var(--muted); margin: 4px 0 18px; min-height: 2.6em; font-size: .92rem; }
.price-main { margin: 0; color: var(--muted); }
.price-main b { font-family: var(--font-heading); font-size: 2.2rem; color: var(--text); letter-spacing: -.03em; }
.price-note { margin: 6px 0 18px; color: var(--muted); font-size: .8rem; line-height: 1.45; min-height: 2.9em; }
.price-intro { margin: 0 0 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; font-size: .9rem; }
.price-features li { padding-left: 24px; position: relative; line-height: 1.4; }
.price-features li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.price-features.cols { grid-template-columns: 1fr 1fr; margin-top: 14px; }
.soon { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent2); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 4px; vertical-align: 1px; }
.price-cta .btn, .price-cta .plan-actions .btn { width: 100%; text-align: center; }
.price-cta .plan-actions { display: grid; gap: 8px; }
/* Agency: gleiche Karte wie die anderen, nur quer (links Preis, rechts Funktionen) – auf dem Handy wie die anderen */
.agency-card {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: 48px;
  grid-template-areas: "head features" "cta features";
}
.agency-card:hover { transform: translateY(-6px); }
.agency-head { grid-area: head; }
.agency-features { grid-area: features; align-self: center; }
.agency-features .price-features { margin: 0; }
.agency-cta { grid-area: cta; align-self: end; }
.price-features li small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nw { white-space: nowrap; }
.price-badge.alt { background: var(--accent2); color: #fff; }
.price-footnote { text-align: center; color: var(--muted); font-size: .8rem; line-height: 1.5; margin: 24px auto 0; max-width: 760px; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .agency-card { grid-template-columns: 1fr; grid-template-areas: "head" "features" "cta"; }
  .agency-features .price-features { margin-bottom: 24px; }
  .price-features.cols { grid-template-columns: 1fr; }
  .price-tagline, .price-note { min-height: 0; }
}
.billing { max-width: 1200px; }

/* ---------- Tourdaten */
.lock { font-size: .8rem; font-weight: 500; margin-left: 6px; }
.event-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.event-date { display: grid; place-items: center; min-width: 58px; padding: 6px 8px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-align: center; }
.event-date b { display: block; font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: -.02em; }
.bit-box { margin-top: 22px; }
.bit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.text-error { color: var(--err-text); }
fieldset.plain { border: 0; padding: 0; margin: 0; }
