/* meinzitat.de – Website · Farbwelt „Morgenrot & Pfirsich“ */
@font-face { font-family: "Lora Local"; src: url("../fonts/lora-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Local"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Local"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Local"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ground: #FDF1E7;
  --band: linear-gradient(90deg, #FBE3DA 0%, #F5E4F2 55%, #E5EDFA 100%);
  --surface: #FFFFFF;
  --ink: #1C2B3A;
  --ink-2: #3B3F4A;
  --muted: #6A5A50;
  --line: #F0E0D3;
  --line-2: #E7D3C4;
  --field: #E3CBBA;
  --accent: #A23B57;
  --coral: #F27A5E;
  --btn: #1E3A5F;
  --btn-hover: #16304F;
  --star: #F2A33A;
  --star-off: #EFDDD0;
  --heart: #C2302A;
  --active-bg: #FDE2D9;
  --error: #B3261E;
  --ok-bg: #DDF1E6; --ok-fg: #1F5A3D;
  --warn-bg: #FBEFC4; --warn-fg: #5E4504;
  --bad-bg: #F4E1DF; --bad-fg: #8A231D;
  --sans: "Instrument Sans", "Inter Local", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Literata", "Lora Local", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(70,35,15,.05), 0 8px 20px rgba(70,35,15,.08);
  --hdr-h: 112px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 170px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: var(--btn); }
a:hover { color: var(--accent); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.serif { font-family: var(--serif); }
.req { color: var(--error); }
.hp { position: absolute; left: -5000px; height: 1px; overflow: hidden; }

/* ---------- Kopfbereich ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--band); border-bottom: 1px solid rgba(28,43,58,.06); }
.hdr-row { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: 64px; display: grid; grid-template-columns: 1fr minmax(0, 460px) 1fr; align-items: center; gap: 20px; }
.logo { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-decoration: none; justify-self: start; }
.logo span { color: var(--accent); font-weight: 500; }
.logo:hover { color: var(--ink); }
.hdr-search { position: relative; }
.search-field { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: rgba(255,255,255,.85); border-radius: 10px; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(28,43,58,.06); }
.search-field input { border: 0; outline: none; background: transparent; width: 100%; min-width: 0; font-size: 14px; color: var(--ink); }
.search-field:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--btn); }
.search-results { position: absolute; top: 46px; left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(70,35,15,.16); padding: 8px; max-height: 70vh; overflow: auto; }
.sr-title { margin: 6px 8px 4px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sr-item { display: block; padding: 8px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.sr-item:hover, .sr-item.is-focus { background: var(--ground); color: var(--ink); }
.sr-item .q { display: block; font-family: var(--serif); font-size: 14px; line-height: 1.35; }
.sr-item .a { display: block; font-size: 12.5px; color: var(--muted); }
.sr-row { display: flex; justify-content: space-between; gap: 8px; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sr-all { display: block; border-top: 1px solid var(--line); margin-top: 4px; padding: 12px 8px 6px; font-size: 13.5px; }
.sr-none { padding: 14px 8px; font-size: 14px; color: var(--muted); margin: 0; }
.hdr-tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn:hover, .icon-btn.is-active { background: rgba(255,255,255,.55); color: var(--ink); }
.badge { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--heart); color: #fff; font-size: 10.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.btn-login { margin-left: 6px; }
.menu { position: relative; }
.user-btn { height: 44px; padding: 0 6px; margin-left: 4px; border: 0; background: transparent; border-radius: 10px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.user-btn:hover { background: rgba(255,255,255,.55); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--btn); color: #fff; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.user-name { font-size: 14px; }
.menu-pop { position: absolute; right: 0; top: 50px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(70,35,15,.16); padding: 6px; z-index: 60; }
.menu-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; font-size: 14px; }
.menu-head span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 10px; border: 0; background: transparent; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--ground); }
.menu-pop form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.main-nav { display: flex; justify-content: center; gap: 2px; border-top: 1px solid rgba(28,43,58,.08); overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: none; padding: 13px 12px 11px; font-size: 14.5px; color: #4A4A55; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--coral); }
.only-mobile { display: none !important; }

/* ---------- Knöpfe & Formulare ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #D8BFAD; font-weight: 500; }
.btn-ghost:hover { background: var(--ground); color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); height: 40px; font-weight: 500; font-size: 14px; padding: 0 16px; }
.btn-outline:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { height: 38px; font-size: 13.5px; padding: 0 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row.center { justify-content: center; }
.link-btn { border: 0; background: transparent; padding: 10px 0; color: var(--btn); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.field label, .field .label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.label-row label { margin: 0; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input:not([type]), .field textarea, .auth-box input[type=email], .auth-box input[type=password] {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--field); border-radius: 10px; background: #fff; font-size: 15px; color: var(--ink); }
.field textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.field textarea.serif { font-family: var(--serif); font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(30,58,95,.12); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { margin: 4px 0 0; font-size: 12.5px; color: var(--error); }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.field-meta .field-error { margin: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row > .field { flex: 1 1 240px; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--coral); }
.check-block { padding: 12px 0; border-bottom: 1px solid var(--line); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot p { margin: 0; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 84px !important; }
.pw-toggle { position: absolute; right: 2px; top: 2px; height: 40px; padding: 0 10px; border: 0; background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; }
.strength { display: flex; gap: 4px; margin-top: 8px; }
.strength span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.alert { padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; margin: 0 0 14px; }
.alert-error { background: var(--bad-bg); color: var(--bad-fg); }
.alert-info { background: var(--warn-bg); color: var(--warn-fg); }
.alert-success { background: var(--ok-bg); color: var(--ok-fg); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.pill-green { background: var(--ok-bg); color: var(--ok-fg); }
.pill-amber { background: var(--warn-bg); color: var(--warn-fg); }
.pill-red { background: var(--bad-bg); color: var(--bad-fg); }
.pill-accent { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 1px #F2C9D3; }

/* ---------- Einheitliches Dropdown ---------- */
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; background: #fff; cursor: pointer; text-align: left; white-space: nowrap; color: var(--ink); }
.dd-field .dd-btn { height: 44px; padding: 0 12px; border: 1px solid var(--field); border-radius: 10px; font-size: 15px; }
.dd-pill .dd-btn { height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13.5px; width: auto; }
.dd.is-active.dd-pill .dd-btn { border-color: var(--coral); background: var(--active-bg); }
.dd.has-error .dd-btn { border-color: var(--error); }
.dd-label { overflow: hidden; text-overflow: ellipsis; }
.dd-label.is-placeholder { color: var(--muted); }
.dd-btn .ic { flex: none; color: var(--muted); transition: transform .15s; }
.dd-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.dd-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 45; min-width: 260px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(70,35,15,.14); padding: 6px; }
.dd-pill .dd-pop { width: 280px; }
.dd-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; margin-bottom: 4px; background: var(--ground); border-radius: 8px; color: var(--muted); }
.dd-search input { border: 0; outline: none; background: transparent; font-size: 13.5px; width: 100%; min-width: 0; color: var(--ink); }
.dd-list { max-height: 260px; overflow-y: auto; }
.dd-opt { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 8px; border-radius: 6px; font-size: 13.5px; cursor: pointer; }
.dd-opt:hover { background: var(--ground); }
.dd-opt input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--coral); }
.dd-opt input[type=radio] { appearance: none; -webkit-appearance: none; border: 1.5px solid #8C7B70; border-radius: 3px; display: grid; place-content: center; }
.dd-opt input[type=radio]:checked { background: var(--coral); border-color: var(--coral); }
.dd-opt input[type=radio]:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.dd-empty { margin: 0; padding: 10px 8px; font-size: 13.5px; color: var(--muted); }
.dd-add { display: block; width: 100%; margin-top: 4px; min-height: 40px; padding: 0 8px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; font-size: 13.5px; color: var(--btn); cursor: pointer; }
.dd-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 4px 4px 0 8px; border-top: 1px solid var(--line); }
.dd-count { font-size: 12.5px; color: var(--muted); }
.dd-done { height: 36px; padding: 0 12px; border: 0; background: transparent; font-size: 13.5px; font-weight: 600; color: var(--btn); cursor: pointer; }

/* ---------- Titelband & Filter ---------- */
.title-band { background: var(--band); }
.title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-top: 34px; padding-bottom: 28px; }
.title-row.plain { padding: 0 0 22px; }
.title-row h1, .page-pad h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: -.01em; }
.title-row h1 span { color: var(--accent); }
.title-row p { margin: 0; font-size: 14px; }
.filter-bar { position: sticky; top: var(--hdr-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(70,35,15,.05); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.filter-label { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.star-range { height: 36px; padding: 0 4px 0 12px; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.star-range.is-active { border-color: var(--coral); background: var(--active-bg); }
.star-range select { border: 0; background: var(--ground); border-radius: 6px; height: 28px; padding: 0 4px; font-size: 13.5px; cursor: pointer; }
.chip-search { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px 0 12px; border: 1px solid var(--coral); background: var(--active-bg); border-radius: 8px; font-size: 13.5px; }
.chip-search button { border: 0; background: transparent; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 6px; }
.filter-reset { padding: 8px; font-size: 13.5px; }

/* ---------- Karten-Raster ---------- */
.grid-section { padding-top: 28px; padding-bottom: 72px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, 300px); justify-content: center; gap: 30px; }
.empty-state { text-align: center; padding: 56px 0; color: var(--muted); }
.load-more { display: flex; justify-content: center; padding: 30px 0 0; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--coral); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Zitatkarte ---------- */
.qcard { width: 300px; max-width: 100%; height: 440px; perspective: 1600px; }
.qcard-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform-origin: left center; transition: transform .7s cubic-bezier(.25,.75,.25,1); }
.qcard.is-flipped .qcard-inner { transform: translateX(100%) rotateY(-180deg); }
.qface { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.qfront { padding: 0 20px; }
.qback { transform: rotateY(180deg); align-items: center; justify-content: center; padding: 24px 20px; text-align: center; }
.qcard.is-flipped .qfront { pointer-events: none; }
.qcard:not(.is-flipped) .qback { pointer-events: none; }
.qc-top { height: 50px; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--line); }
.qc-rating { display: flex; align-items: center; gap: 7px; min-width: 0; }
.stars { position: relative; display: inline-block; width: 83px; height: 15px; flex: none; }
.stars svg { width: 15px; height: 15px; margin-right: 2px; }
.stars-base, .stars-fill { position: absolute; left: 0; top: 0; height: 15px; display: flex; white-space: nowrap; }
.stars-base svg { fill: var(--star-off); }
.stars-fill { overflow: hidden; }
.stars-fill svg { fill: var(--star); flex: none; }
.qc-avg { font-size: 13px; font-weight: 600; }
.qc-count { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-fav { width: 44px; height: 44px; margin-right: -12px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #6A5A50; flex: none; }
.qc-fav:hover { color: var(--heart); }
.qc-fav.is-fav { color: var(--heart); }
.qc-fav.is-fav svg { fill: var(--heart); }
.qc-fav.pop svg { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.qc-body { flex: 1; min-height: 0; display: flex; align-items: center; width: 100%; border: 0; background: transparent; padding: 16px 0; margin: 0; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line); overflow: hidden; }
.qc-text { font-family: var(--serif); line-height: 1.42; color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.fs-1 { font-size: 24px; } .fs-2 { font-size: 21px; } .fs-3 { font-size: 18px; } .fs-4 { font-size: 16px; } .fs-5 { font-size: 14.5px; line-height: 1.38; }
.qc-author { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-author a { color: var(--ink-2); text-decoration: none; }
.qc-author a:hover { color: var(--accent); }
.qc-cats { padding: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; min-height: 58px; align-content: flex-start; overflow: hidden; max-height: 86px; }
.chip { font-size: 11.5px; font-weight: 500; border-radius: 6px; padding: 4px 8px; text-decoration: none; white-space: nowrap; }
.chip:hover { filter: brightness(.96); }
.chip-c0 { background: #DDF1E6; color: #1F5A3D; } .chip-c1 { background: #DCEAFB; color: #1F4473; } .chip-c2 { background: #EEE4FA; color: #4B2F7A; }
.chip-c3 { background: #FDE3D7; color: #8A3A1C; } .chip-c4 { background: #FBEFC4; color: #5E4504; } .chip-c5 { background: #D9F2F3; color: #145A60; }
.qb-label { margin: 0 0 4px; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.qb-author { margin: 0 0 26px; font-family: var(--serif); font-size: 15px; color: var(--ink-2); }
.qb-stars { display: flex; gap: 2px; }
.qb-star { width: 48px; height: 48px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qb-star svg { width: 40px; height: 40px; fill: none; stroke: #B49C8C; stroke-width: 1.2; stroke-linejoin: round; transition: transform .1s; }
.qb-star:hover svg { transform: scale(1.08); }
.qb-star.is-on svg { fill: var(--star); stroke: var(--star); }
.qb-area { min-height: 120px; display: flex; flex-direction: column; align-items: center; padding-top: 24px; }
.qb-question { margin: 0 0 16px; font-size: 15px; line-height: 1.4; }
.qb-actions { display: flex; gap: 10px; }
.qb-actions .btn { min-width: 88px; }
.qb-hint { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); max-width: 240px; }

/* ---------- Zitat des Tages ---------- */
.daily { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; }
.daily-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-bottom: 22px; text-align: center; }
.daily-head h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.carousel { width: 100%; display: flex; justify-content: center; align-items: center; gap: 28px; padding: 6px 0 16px; }
.car-side { flex: 0 1 260px; height: 400px; display: flex; }
.car-peek { flex: 1; display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 26px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); opacity: .8; transition: opacity .2s, transform .2s; }
.car-peek:hover { opacity: 1; transform: translateY(-2px); color: var(--ink); }
.car-date { font-size: 12.5px; color: var(--muted); }
.car-text { font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.car-author { font-size: 13.5px; font-weight: 500; }
.day-nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; max-width: 100%; }
.round-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid #D8BFAD; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.round-btn.is-disabled { opacity: .35; }
.day-strip { display: flex; gap: 4px; overflow-x: auto; }
.day { min-width: 54px; height: 46px; padding: 0 6px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 12.5px; line-height: 1.15; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.day span { font-size: 11px; }
.day.is-current { background: var(--btn); border-color: var(--btn); color: #fff; }

/* ---------- Teilen ---------- */
.share { margin-top: 28px; text-align: center; }
.detail-info .share { text-align: left; margin-top: 22px; }
.share-title { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.share-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: inherit; }
.share .share-row { justify-content: center; }
.detail-info .share-row { justify-content: flex-start; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 13.5px; color: var(--ink); text-decoration: none; cursor: pointer; }
.share-btn:hover { background: var(--active-bg); color: var(--ink); }

/* ---------- Detail ---------- */
.detail { padding-top: 24px; padding-bottom: 72px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 14px; text-decoration: none; }
.detail-row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: center; padding: 12px 0 48px; }
.detail-info { flex: 1 1 300px; max-width: 440px; }
.detail-info h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.detail-info p { color: var(--ink-2); }
.section-title { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 20px; }

/* ---------- Inhalte ---------- */
.page-pad { padding-top: 36px; padding-bottom: 72px; }
.page-pad h1 { margin-bottom: 10px; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 640px; margin: 0 0 26px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel.narrow { max-width: 480px; margin: 20px auto; }
.panel h2 { margin-top: 0; }
.two-col { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.two-col > .panel { flex: 999 1 480px; min-width: 0; }
.side-note { flex: 1 1 260px; min-width: 0; font-size: 14.5px; color: var(--ink-2); }
.side-note h2 { font-size: 15px; margin: 0 0 10px; color: var(--ink); }
.narrow-wide { max-width: 1100px; }
.prose-wrap { max-width: 820px; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; line-height: 1.7; color: var(--ink-2); }
.prose h1 { color: var(--ink); }
.prose h2 { font-size: 20px; margin: 30px 0 10px; color: var(--ink); }
.prose h3 { font-size: 16px; margin: 22px 0 8px; color: var(--ink); }
.prose a { overflow-wrap: anywhere; }
.modal-icon { color: var(--heart); display: inline-flex; }

/* ---------- Konto & Anmeldung ---------- */
.auth-wrap { padding: 56px 24px 72px; display: flex; justify-content: center; }
.auth-box { width: 100%; max-width: 460px; box-shadow: 0 8px 24px rgba(70,35,15,.06); }
.auth-box h1 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 0 0 14px; }
.tabs-2 { display: grid; grid-template-columns: 1fr 1fr; background: var(--ground); border-radius: 10px; padding: 4px; margin-bottom: 22px; }
.tabs-2 a { height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14.5px; }
.tabs-2 a.is-active { background: #fff; box-shadow: 0 1px 3px rgba(28,43,58,.12); }
.account { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin-top: 18px; }
.account-nav { flex: 0 0 240px; display: flex; flex-direction: column; gap: 2px; }
.account-nav a, .account-logout { display: block; padding: 11px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 14px; border: 0; background: transparent; width: 100%; text-align: left; cursor: pointer; }
.account-nav a[aria-current="page"] { background: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--coral); }
.account-logout { color: var(--muted); }
.account-body { flex: 999 1 480px; min-width: 0; }
.account-body h2 { margin: 0 0 6px; font-size: 19px; }
.narrow-form { max-width: 460px; margin-top: 18px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.sugg-list { list-style: none; margin: 0; padding: 0; }
.sugg-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sugg-list p { margin: 0 0 3px; }
.sugg-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* ---------- Dialoge, Hinweise, Cookie ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: calc(100% - 32px); }
.modal::backdrop { background: rgba(28,43,58,.42); }
.modal-box { width: 100%; max-width: 480px; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 24px 60px rgba(28,43,58,.25); color: var(--ink); }
.modal-box.center { text-align: center; max-width: 400px; }
.modal-box h2 { font-size: 19px; margin: 10px 0 8px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.modal-actions.stack { flex-direction: column; gap: 8px; }
.modal-actions .btn { flex: 1 1 160px; }
.ck-group { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.ck-group p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ck-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
.ck-head input { width: 20px; height: 20px; accent-color: var(--coral); }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 20px; display: flex; justify-content: center; pointer-events: none; }
.cookie-box { pointer-events: auto; width: 100%; max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(70,35,15,.18); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cookie-text { flex: 999 1 420px; min-width: 0; }
.cookie-text h2 { margin: 0 0 6px; font-size: 17px; }
.cookie-text p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cookie-actions { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--ink); color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 30px rgba(28,43,58,.25); animation: toastIn .25s ease; }
.toast-error { background: var(--error); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--band); margin-top: 0; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: #4A4A55; }
.footer-row a, .footer-row .link-btn { color: #4A4A55; font-size: 13px; }
.lang-switch { margin-left: auto; display: flex; align-items: center; gap: 6px; color: #4A4A55; }
.lang-switch select { border: 0; background: rgba(255,255,255,.7); border-radius: 8px; height: 34px; padding: 0 8px; font-size: 13px; cursor: pointer; }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1100px) {
  .hdr-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .car-side { flex-basis: 200px; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 101px; }
  .only-mobile { display: inline-flex !important; }
  .only-desktop { display: none !important; }
  .hdr-row { height: 56px; padding: 0 8px 0 16px; grid-template-columns: 1fr auto; gap: 4px; }
  .hdr-search { grid-column: 1 / -1; grid-row: 2; display: none; padding-bottom: 10px; }
  .site-header.search-open .hdr-search { display: block; }
  .site-header.search-open .hdr-row { height: auto; padding-top: 6px; }
  .main-nav { justify-content: flex-start; padding: 0 4px; }
  .main-nav a { padding: 11px 10px 10px; font-size: 14px; }
  .user-name { display: none; }
  .wrap { padding: 0 16px; }
  .title-row { padding-top: 22px; padding-bottom: 18px; }
  .title-row h1, .page-pad h1 { font-size: 27px; }
  .filter-label { display: none; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-row > * { flex: none; }
  .dd-pill .dd-pop { position: fixed; left: 12px; right: 12px; top: auto; width: auto; }
  .card-grid { grid-template-columns: minmax(0, 300px); }
  .car-side { display: none; }
  .panel { padding: 20px; }
  .prose { padding: 24px 20px; }
  .account-nav { flex: 1 1 100%; flex-direction: row; overflow-x: auto; }
  .account-nav a, .account-logout { white-space: nowrap; width: auto; }
  .account-nav form { flex: none; }
  .account-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--coral); }
  .cookie-banner { padding: 10px; }
  .cookie-box { padding: 18px; }
  .lang-switch { margin-left: 0; }
  .auth-wrap { padding-top: 28px; }
  .day { min-width: 46px; }
}
@media (prefers-reduced-motion: reduce) { .qcard-inner { transition: none; } * { animation: none !important; } }
