/* evabader.de – statische Website
   Farben: warmes Creme, Sepia-Braun, Gold (aus der Zeichnung des Hauses Dillmannstraße 19) */

@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/merriweather-v30-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/merriweather-v30-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cabin-v26-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cabin-v26-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Cabin"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cabin-v26-latin-600.woff2") format("woff2"); }

:root {
  --bg: #f7f2e9;
  --bg-soft: #efe7d8;
  --paper: #fffdf8;
  --ink: #2c2622;
  --ink-soft: #5f554b;
  --muted: #8d8071;
  --gold: #c99a1f;
  --gold-deep: #a87d12;
  --gold-pale: #f3e6bd;
  --line: #e2d8c4;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Cabin", "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Kopf */
.site-head { padding: 1.5rem 0 1rem; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.brand { text-decoration: none; color: var(--ink); min-width: 0; max-width: 100%; }
.brand .name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: .01em; line-height: 1.1; display: block; }
.brand .tag { display: block; font-size: .78rem; letter-spacing: .14em; overflow-wrap: anywhere; text-transform: uppercase; color: var(--muted); margin-top: .45rem; }

.nav-toggle { display: none; }
.nav-btn { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

.rule { height: 1px; background: linear-gradient(90deg, var(--gold) 0, var(--gold) 72px, var(--line) 72px); }

/* Inhalt */
main { flex: 1; }
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 720px) { .hero .wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 3.5rem; } }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.18; margin: 0 0 1rem; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: var(--measure); }

.portrait { position: relative; width: 166px; margin: 0; }
.portrait .frame { position: relative; }
.portrait img { border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(60, 40, 10, .35); }
.portrait .frame::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--gold); z-index: -1; }
.portrait figcaption { font-size: .8rem; color: var(--muted); margin-top: 1rem; letter-spacing: .04em; }

.section { padding: clamp(2rem, 5vw, 4rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2, .page h1 { font-family: var(--serif); font-weight: 300; line-height: 1.2; margin: 0 0 1rem; }
.section h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.eyebrow { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 .7rem; font-weight: 600; }
p { margin: 0 0 1rem; max-width: var(--measure); }

.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 1.5rem 0 0; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.4rem; border-top: 3px solid var(--gold); display: flex; flex-direction: column; gap: .5rem; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin: 0; }
.card p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
.card a { margin-top: auto; padding-top: .6rem; font-weight: 500; text-decoration: none; }
.card a::after { content: " →"; }

.btn { display: inline-block; background: var(--gold); color: #fff; text-decoration: none; padding: .7rem 1.3rem; font-weight: 600; letter-spacing: .02em; border-radius: 2px; transition: background .15s; }
.btn:hover { background: var(--gold-deep); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.5rem; }
.btn-row .tel { font-weight: 500; color: var(--ink); text-decoration: none; }

/* Unterseiten */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 4rem); }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 22ch; }
.page .intro { font-size: 1.12rem; color: var(--ink-soft); }
.two-col { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 720px) { .two-col { grid-template-columns: minmax(0, 1fr) 200px; gap: 3.5rem; } .two-col.rev { grid-template-columns: 200px minmax(0, 1fr); } }
.aside-img { margin: 0; width: 166px; }
.aside-img img { border: 1px solid var(--line); }
.aside-img figcaption { font-size: .8rem; color: var(--muted); margin-top: .7rem; }

.list { list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: var(--measure); }
.list li { padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .5rem; height: .5rem; background: var(--gold); border-radius: 50%; }

.note { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 1.2rem 1.4rem; max-width: var(--measure); margin: 1.5rem 0; }
.note h2, .note h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin: 0 0 .5rem; }
.note p:last-child { margin-bottom: 0; }

blockquote.pull { margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-weight: 300; font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }

/* Kontakt */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }

.vcard { font-style: normal; display: grid; gap: 1.4rem; }
.vcard .block { display: grid; gap: .15rem; }
.vcard .label { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.vcard .big { font-family: var(--serif); font-weight: 300; font-size: 1.35rem; line-height: 1.35; }
.vcard a { text-decoration: none; }
.vcard a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal h3 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { max-width: var(--measure); }
.legal address { font-style: normal; margin-bottom: 1rem; }
.todo { background: var(--gold-pale); padding: 0 .3em; border-radius: 2px; }

/* Fuß */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 2rem 0 2.5rem; margin-top: 2rem; font-size: .92rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-foot .who { font-family: var(--serif); font-weight: 400; color: var(--ink); margin-bottom: .2rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.site-foot a { color: var(--ink-soft); }
.site-foot a:hover { color: var(--ink); }

/* Mobile Navigation ohne JavaScript */
@media (max-width: 719px) {
  .site-head .wrap { align-items: center; }
  .brand .tag { font-size: .68rem; letter-spacing: .1em; }
  .nav-btn { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 500; color: var(--ink-soft); padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
  .nav-btn::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .nav { flex-basis: 100%; display: none; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-top: .5rem; }
  .nav a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold-deep); }
}

@media print {
  .nav, .nav-btn, .btn, .skip { display: none !important; }
  body { background: #fff; color: #000; }
}
