/* pawprint3d.de – statische Seite
   Layout: dunkles Markenband oben (weißes Logo), darunter helle Fläche mit
   Druckschicht-Linien als wiederkehrendes Motiv.

   >>> MARKENFARBEN: Hier die Farben deiner bisherigen Seite eintragen. <<<
   --brand   = Hintergrund von Kopfzeile/Hero (das Logo ist weiß)
   --accent  = Buttons, Preise, Hervorhebungen                              */
:root {
  --brand: #600505;      /* Weinrot aus dem Logo */
  --brand-2: #4a0303;
  --on-brand: #ffffff;
  --hi: #ffc4c8;         /* Hervorhebung auf Weinrot */
  --accent: #9b111c;
  --on-accent: #ffffff;
  --bg: #faf6f5;
  --surface: #ffffff;
  --fg: #251315;
  --muted: #6d5557;
  --line: #ecdfe0;
  --ph: #f3e9e9;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 14px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #4c0007; --brand-2: #380005; --accent: #ff8e97; --on-accent: #2a0004;
    --bg: #170c0d; --surface: #221315; --fg: #f4e8e8; --muted: #b99d9f; --line: #3b2528; --ph: #2c1a1c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #4c0007; --brand-2: #380005; --accent: #ff8e97; --on-accent: #2a0004;
  --bg: #170c0d; --surface: #221315; --fg: #f4e8e8; --muted: #b99d9f; --line: #3b2528; --ph: #2c1a1c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.6 var(--f-body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: 0.78em; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gut); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none; border: 2px solid var(--accent);
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .95rem; }
/* Auf Weinrot: weiße Buttons mit weinroter Schrift */
.site-head .btn, .hero .btn:not(.btn-ghost) { background: var(--on-brand); border-color: var(--on-brand); color: var(--brand); }
.site-head :focus-visible, .hero :focus-visible, .site-foot :focus-visible { outline-color: var(--hi); }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--brand); color: var(--on-brand);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; }
.brand-word, .foot-brand { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand-word span, .foot-brand span { color: var(--hi); }
.nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 26px); flex-wrap: wrap; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; opacity: .85; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover, .nav > a[aria-current] { opacity: 1; border-bottom-color: var(--hi); }

/* Hero – Druckschichten als Linienmuster */
.hero {
  background:
    repeating-linear-gradient(180deg, transparent 0 5px, rgb(255 255 255 / .045) 5px 6px),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--on-brand); padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--hi); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; opacity: .8; }
.lead { font-size: 1.15rem; max-width: 34em; opacity: .9; }
.page-head .lead { opacity: 1; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: .95rem; opacity: .9; }
.facts strong { font-family: var(--f-display); font-weight: 700; color: var(--hi); margin-right: 4px; letter-spacing: .04em; }
.hero-art { display: grid; gap: 12px; justify-items: center; }
.plate { width: min(100%, 400px); }
.hero-logo { width: 100%; height: auto; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.page-head { padding-block: clamp(40px, 6vw, 72px) 0; }
.page-head .wrap { display: grid; gap: 14px; }
.page-head .eyebrow { opacity: 1; color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Kategorien */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; min-height: 170px;
  border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--surface);
  transition: border-color .15s ease, transform .15s ease;
}
.cat:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.cat-desc { color: var(--muted); font-size: .95rem; }
.cat-link { margin-top: auto; padding-top: 10px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.cat-link::after { content: " →"; }

/* Warum wir */
.whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 36px; }
.why { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--accent); }
.why p { color: var(--muted); }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta > div:first-child { display: grid; gap: 10px; max-width: 40em; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-bottom: 48px; }
.contact { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; min-width: 0; }
.contact:hover { border-color: var(--accent); }
.contact-v { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; overflow-wrap: anywhere; }

/* Textseiten */
.prose { max-width: 720px; display: grid; gap: 14px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.25rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.todo { padding: 12px 16px; border-radius: 10px; border: 1px dashed var(--accent); color: var(--fg); font-size: .95rem; }

/* Footer */
.site-foot { background: var(--brand); color: var(--on-brand); padding-block: 48px 24px; }
.site-foot .muted { color: inherit; opacity: .72; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.foot-grid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.foot-grid a { text-decoration: none; opacity: .85; overflow-wrap: anywhere; }
.foot-grid a:hover { opacity: 1; text-decoration: underline; }
.foot-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; opacity: .65; }
.contact .foot-h { color: var(--muted); opacity: 1; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .9rem; opacity: .7; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .plate { width: min(70%, 280px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nav .btn { display: none; }
  .head-row { min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
