/* ============================================================
   LogicStudios — Demo-Referenzseiten · geteiltes Grundgerüst
   Jede Demo überschreibt die Tokens in :root via eigenem <style>
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #ffffff; --bg2: #f5f5f5; --ink: #161616; --ink2: rgba(22,22,22,0.62);
  --line: rgba(22,22,22,0.12); --accent: #c25b3c; --accent2: #3a5a40;
  --fd: Georgia, serif; --fb: system-ui, sans-serif; --r: 18px;
}
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--fb); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
.dw { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px,4vw,44px); }
.serifd { font-family: var(--fd); }

/* Nav */
.dnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.dnav-in { max-width: 1140px; margin: 0 auto; padding: 16px clamp(20px,4vw,44px); display: flex; align-items: center; gap: 26px; }
.dlogo { font-family: var(--fd); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; margin-right: auto; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.dlogo .mk { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; font-family: var(--fb); font-weight: 800; font-size: 15px; }
.dnav-links { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink2); }
.dnav-links a:hover { color: var(--ink); }
.dbtn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.dbtn-pri { background: var(--accent); color: #fff; }
.dbtn-pri:hover { transform: translateY(-2px); }
.dbtn-gho { border-color: var(--line); color: var(--ink); }
.dbtn-gho:hover { border-color: var(--ink); }
@media (max-width: 720px){ .dnav-links { display: none; } }

/* Hero */
.dhero { padding: clamp(56px,9vw,120px) 0 clamp(40px,7vw,80px); }
.dhero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px,5vw,64px); align-items: center; }
@media (max-width: 820px){ .dhero-grid { grid-template-columns: 1fr; } }
.dkick { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.dkick::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.dhero h1 { font-family: var(--fd); font-weight: 700; font-size: clamp(38px,6vw,76px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.dhero h1 em { font-style: italic; color: var(--accent); }
.dhero p { font-size: clamp(17px,1.8vw,21px); color: var(--ink2); max-width: 46ch; margin: 26px 0 0; }
.dhero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.dart { aspect-ratio: 4/5; border-radius: var(--r); position: relative; overflow: hidden; background: var(--bg2); }
.dart-fill { position: absolute; inset: 0; }

/* generische "Kunst" Flächen statt Fotos */
.art-soft { background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb,var(--accent) 38%, var(--bg2)), var(--bg2)); }
.art-band { background: linear-gradient(150deg, color-mix(in srgb,var(--accent) 80%, #000 0%), color-mix(in srgb,var(--accent2) 70%, #000)); }
.art-duo { background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 48%, var(--accent2) 48%, var(--accent2) 100%); }
.art-grid { background-image: radial-gradient(circle at center, color-mix(in srgb,var(--accent) 50%, transparent) 2px, transparent 2px); background-size: 26px 26px; background-color: var(--bg2); }
.art-tag { position: absolute; bottom: 16px; left: 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(0,0,0,.28); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }

/* Sektion */
.dsec { padding: clamp(48px,8vw,104px) 0; }
.dsec.alt { background: var(--bg2); }
.dlabel { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.dsec h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(28px,4.4vw,52px); line-height: 1.06; letter-spacing: -0.02em; margin: 0; max-width: 20ch; }
.dsec .lead { font-size: clamp(16px,1.7vw,19px); color: var(--ink2); max-width: 56ch; margin: 20px 0 0; }

/* Karten / Grid */
.dcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 760px){ .dcards { grid-template-columns: 1fr; } }
.dcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.dsec.alt .dcard { background: var(--bg); }
.dcard .ic { width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb,var(--accent) 16%, transparent); color: var(--accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.dcard h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.dcard p { font-size: 14.5px; color: var(--ink2); margin: 0; }

/* Produktraster (Shop) */
.dprods { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 880px){ .dprods { grid-template-columns: repeat(2,1fr); } }
.dprod { }
.dprod .ph { aspect-ratio: 3/4; border-radius: 14px; position: relative; overflow: hidden; }
.dprod .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; gap: 8px; }
.dprod .row b { font-size: 15px; font-weight: 600; }
.dprod .row span { font-size: 14px; color: var(--ink2); }
.dprod .badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; background: var(--ink); color: var(--bg); padding: 5px 11px; border-radius: 999px; }

/* Menü-Liste (Restaurant) */
.dmenu { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
@media (max-width: 760px){ .dmenu { grid-template-columns: 1fr; } }
.dmrow { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dmrow .nm { font-family: var(--fd); font-size: 19px; }
.dmrow .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dmrow .pr { font-size: 16px; color: var(--accent); font-weight: 600; }
.dmrow small { display: block; font-size: 13px; color: var(--ink2); font-family: var(--fb); margin-top: 3px; }

/* Stat-Reihe */
.dstats { display: flex; flex-wrap: wrap; gap: clamp(28px,5vw,72px); margin-top: 40px; }
.dstat b { font-family: var(--fd); font-size: clamp(34px,5vw,56px); font-weight: 700; display: block; letter-spacing: -0.02em; }
.dstat span { font-size: 14px; color: var(--ink2); }

/* CTA */
.dcta { background: var(--accent); color: #fff; padding: clamp(52px,8vw,104px) 0; text-align: center; }
.dcta h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(28px,4.6vw,52px); line-height: 1.06; margin: 0 auto; max-width: 18ch; }
.dcta p { color: rgba(255,255,255,.82); font-size: 18px; margin: 18px auto 0; max-width: 44ch; }
.dcta .dbtn { background: #fff; color: var(--accent); margin-top: 32px; font-size: 16px; padding: 15px 32px; }
.dcta .dbtn:hover { transform: translateY(-2px); }

/* Footer + LogicStudios-Demo-Band */
.dfoot { padding: 40px 0; border-top: 1px solid var(--line); }
.dfoot-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink2); }
.dfoot-in .sp { flex: 1; }
.demo-ribbon { position: fixed; bottom: 16px; right: 16px; z-index: 80; display: inline-flex; align-items: center; gap: 9px; background: #0a0a0c; color: #f5f5f7; font-family: ui-monospace, monospace; font-size: 12px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); }
.demo-ribbon img { width: 16px; height: 16px; }
.demo-ribbon b { color: #3478f6; }
.demo-ribbon:hover { transform: translateY(-2px); transition: transform .2s; }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .rv { opacity: 1; transform: none; } }

/* ============================================================
   SEO-Marker — erklärt sichtbar, WAS optimiert wurde (Demo-Feature)
   ============================================================ */
.seo-toggle { position: fixed; bottom: 16px; left: 16px; z-index: 85; display: inline-flex; align-items: center; gap: 9px; background: #0a0a0c; color: #f5f5f7; font-family: ui-monospace, monospace; font-size: 12px; padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); cursor: pointer; transition: transform .2s, background .2s; }
.seo-toggle i { font-style: normal; color: #3478f6; font-size: 13px; }
.seo-toggle:hover { transform: translateY(-2px); }
.seo-toggle.active { background: #3478f6; border-color: rgba(255,255,255,.3); }
.seo-toggle.active i { color: #fff; }

[data-seo] { position: relative; }
body.seo-on [data-seo] { outline: 1.5px dashed color-mix(in srgb, var(--accent) 65%, transparent); outline-offset: 7px; border-radius: 4px; }
.seo-note { display: none; }
body.seo-on .seo-note {
  display: inline-flex; align-items: flex-start; gap: 7px;
  position: absolute; left: -7px; top: 0; transform: translateY(-122%); z-index: 30;
  background: #0a0a0c; color: #fff; font-family: ui-monospace, monospace;
  font-size: 11px; line-height: 1.4; letter-spacing: 0; text-transform: none; font-weight: 400;
  padding: 7px 11px; border-radius: 9px; max-width: 270px; text-align: left;
  box-shadow: 0 10px 28px rgba(0,0,0,.32); pointer-events: none;
}
body.seo-on .seo-note::before { content: "⌖"; color: #3478f6; flex-shrink: 0; }
body.seo-on .seo-note.below { top: auto; bottom: 0; transform: translateY(122%); }
@media (max-width: 720px){ body.seo-on .seo-note { max-width: 200px; font-size: 10px; } }
