/* EAG Zobes – Website
   Tokens und Komponenten nach Design-Handoff (Claude Design, 09/2026).
   Keine Verläufe, keine Effekte. Einziger Schatten: Sticky-Anruf-Button. */

:root {
  --green: #1E8A5B;
  --green-dark: #166B46;
  --green-light: #EAF5F0;
  --ink: #2A2E2D;
  --text: #4A5250;
  --muted: #6E7573;
  --hint: #8A9290;
  --line: #D9DCDB;
  --line-soft: #EEF0EF;
  --input-border: #B9BFBE;
  --surface: #F3F4F4;
  --surface-img: #E9ECEB;
  --footer-line: #454A49;
  --gold: #8C7A4B;
  --teal: #7EC8C0;
  --container: 1140px;
  --radius: 4px;
  --radius-lg: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: Barlow, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
input, textarea, button, select { font-family: inherit; }

h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li { text-wrap: pretty; }
/* Kurze Texte (Lead, Kacheln, Kontaktbox) gleichmäßig auf die Zeilen verteilen */
.lead, .quick__value, .card__title, .contactbox p, .hint { text-wrap: balance; }
/* Zusammengehörige Angaben nie umbrechen (z. B. „Sa nach Absprache") */
.nowrap, .tel, .foot-tel, .contactbox__tel span { white-space: nowrap; }
ul { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- Typografie ---------- */
.h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.01em; max-width: 760px; }
.h1--sub { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; letter-spacing: 0; }
.h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--text); max-width: 620px; }
.lead--sub { font-size: clamp(18px, 2vw, 21px); max-width: 640px; }
.text { color: var(--text); }
.eyebrow { margin: 0 0 14px; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.label { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hint { color: var(--hint); }
.small { font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack--tight { gap: 10px; }
.stack--loose { gap: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 18px; text-decoration: none; border-radius: var(--radius);
  cursor: pointer; border: 0; line-height: 1.2;
}
.btn--primary { background: var(--green); color: #fff; padding: 16px 24px; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--green); border: 2px solid var(--green); padding: 14px 22px; }
.btn--secondary:hover { background: var(--green-light); color: var(--green); }
.btn--sm { font-size: 17px; padding: 12px 18px; }
.btn--sm.btn--secondary { padding: 12px 20px; }
.btn--md { padding: 14px 22px; }
.btn svg { flex: none; }
.textlink { font-weight: 700; color: var(--green); text-decoration: none; }
.textlink:hover { color: var(--green-dark); }
.tel { font-weight: 700; color: var(--green); text-decoration: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand:hover .brand__name .m { color: var(--ink); }
.brand:hover img { opacity: .85; }
.brand__name { font-size: 15px; line-height: 1.25; font-weight: 600; }
.brand__name .g { color: var(--green); }
.brand__name .m { color: var(--muted); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__link { font-size: 17px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 3px solid transparent; }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { border-bottom-color: var(--green); }
.header-mobile { display: none; align-items: center; gap: 10px; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius); text-decoration: none; }
.iconbtn--call { background: var(--green); color: #fff; }
.iconbtn--call:hover { background: var(--green-dark); color: #fff; }
.iconbtn--menu { background: #fff; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav[data-open="true"] { display: flex; }
.mobile-nav a { padding: 16px 20px; font-size: 19px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Sektionen ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--last { padding-top: 0; padding-bottom: 64px; }
.hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.hero__inner { position: relative; padding-top: 56px; padding-bottom: 64px; }
.hero--sub { background: var(--surface); }
.hero--sub .hero__inner { padding-top: 48px; padding-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .h1 { margin-bottom: 18px; }
.hero--sub .h1 { margin-bottom: 16px; }
.hero--sub .eyebrow { margin-bottom: 10px; }
.watermark {
  position: absolute; right: -4%; bottom: -2px; height: 92%; width: auto;
  opacity: .09; mix-blend-mode: multiply; pointer-events: none; user-select: none;
}
.hero--sub .watermark { right: -2%; height: 100%; opacity: .08; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: start; }
.grid-2--center { align-items: center; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.quick { display: flex; flex-direction: column; gap: 4px; }
.quick__value { font-size: 18px; font-weight: 600; }
.quick__value .tel { font-size: 18px; }
.quick--logo { justify-content: center; align-items: flex-start; }
.quick--logo img { height: 56px; width: auto; }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: var(--green); color: var(--ink); }
.card__media { margin: 12px; border-radius: var(--radius); overflow: hidden; }
.card__body { padding: 8px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body > .textlink { margin-top: auto; padding-top: 6px; }
.card__title { font-size: 26px; color: var(--green); }
.card--product { border-top: 4px solid var(--gold); }
.card--product .card__body { padding: 4px 20px 24px; gap: 6px; }
.card--product .card__title { font-size: 22px; color: var(--ink); }
.price { font-weight: 600; color: var(--gold); }
.card--plain { padding: 24px; gap: 14px; }
.card--plain .h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-size: 22px; }

/* Foto-Platzhalter */
.ph {
  background: var(--surface-img); border: 2px dashed var(--input-border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; color: var(--muted); font-size: 15px; line-height: 1.4;
}
.ph--16-9 { aspect-ratio: 16 / 9; }
.ph--4-3 { aspect-ratio: 4 / 3; }
.ph--16-10 { aspect-ratio: 16 / 10; }
.ph--circle { width: 64px; height: 64px; border-radius: 50%; flex: none; font-size: 12px; padding: 4px; line-height: 1.2; }

/* Fotos */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.photo--16-9 { aspect-ratio: 16 / 9; }
.photo--4-3 { aspect-ratio: 4 / 3; }
.card__media .photo { border-radius: 0; }
.card__title img { display: block; height: 60px; width: auto; }

/* Grafische Bildflächen (bis Fotos vorliegen) */
.art {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: linear-gradient(135deg, #EAF5F0 0%, #D3E8DC 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--green-dark); text-align: center; padding: 16px;
}
.art svg { width: 34%; max-width: 120px; height: auto; }
.art span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Avatar mit Initialen */
.avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; background: var(--green); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; }

/* Karte (Map) */
.map {
  aspect-ratio: 4 / 3; background: var(--surface-img); border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); text-align: center; padding: 16px;
}
.map--16-10 { aspect-ratio: 16 / 10; }
.map strong { color: var(--ink); font-weight: 600; }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius-lg); }
.map[data-loaded="true"] { padding: 0; display: block; }

/* Kennzahlen */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; padding-top: 40px; }
.kpi { border-top: 4px solid var(--green); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi__num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--green); }

/* Listen */
.list-lines { padding: 0; list-style: none; display: grid; gap: 8px; }
.list-lines li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.list-lines li:last-child { border-bottom: 0; }
.list { padding-left: 22px; color: var(--text); display: grid; gap: 8px; }
.list strong { color: var(--ink); }
.icon-round { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-round--yes { background: var(--green); }
.icon-round--no { background: var(--muted); }

/* Öffnungszeiten */
.hours { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.hours__row { display: grid; grid-template-columns: 1fr auto; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.3; }
.hours__row span:first-child { font-weight: 600; }
.hours__row span:last-child { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.hours__row--closed { color: var(--muted); border-bottom: 0; }
.hours__row--closed span:last-child { font-weight: 400; color: var(--muted); }
.hours__note { padding: 12px 20px; background: var(--surface); font-size: 15px; line-height: 1.4; color: var(--muted); border-top: 1px solid var(--line); }

/* Kontaktbox */
.contactbox { background: var(--surface); border-top: 4px solid var(--green); padding: 28px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.contactbox h3 { font-size: 24px; line-height: 1.2; font-weight: 600; }
.contactbox__tel { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; color: var(--green); text-decoration: none; line-height: 1.2; }
.contactbox__mail, .mail { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contactbox__mail:hover, .mail:hover { color: var(--green-dark); }
.contactbox p { font-size: 16px; line-height: 1.5; color: var(--text); }

/* Formular */
.form { background: var(--surface); border-top: 4px solid var(--green); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.form h2 { font-size: 26px; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.field input, .field textarea { border: 1px solid var(--input-border); border-radius: var(--radius); font-size: 17px; background: #fff; color: var(--ink); font-weight: 400; }
.field input { height: 50px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--text); line-height: 1.4; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.form__submit { height: 54px; font-size: 18px; }
.form__ok { padding: 16px; background: #fff; border: 1px solid var(--green); border-radius: var(--radius); color: var(--green); font-weight: 600; }
.form__err { padding: 16px; background: #fff; border: 1px solid #b42318; border-radius: var(--radius); color: #b42318; font-weight: 600; }
.form__err a { color: inherit; }
.form__hp { display: none; }
.person { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.person__name { font-size: 20px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.contact-grid .tel { font-size: 24px; }
.contact-grid .mail { font-size: 19px; font-weight: 600; }

/* Rechtstexte */
.legal { max-width: 800px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; }
.legal h2 { font-size: 22px; margin-top: 8px; }
.legal p { color: var(--text); }
.legal dl { margin: 0; display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 24px; }
.legal dt { color: var(--muted); font-weight: 600; }
.legal dd { margin: 0; }
.legal--dense { gap: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--line); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer strong { color: #fff; font-size: 18px; }
.site-footer a { color: var(--line); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .col--first { gap: 12px; }
.site-footer .foot-tel { color: #fff; font-weight: 700; font-size: 20px; }
.site-footer .foot-mail { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .brands { background: #fff; padding: 8px 12px; border-radius: var(--radius); display: inline-flex; align-items: center; gap: 16px; }
.site-footer .brands img:first-child { height: 36px; width: auto; }
.site-footer .brands img { height: 32px; width: auto; }
.site-footer__bottom { border-top: 1px solid var(--footer-line); }
.site-footer__bottom .container { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--hint); }
.site-footer__bottom nav { display: flex; gap: 20px; }

/* Sticky-Anruf-Button (mobil) */
.sticky-call { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; }
.sticky-call a { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); color: #fff; font-weight: 700; font-size: 19px; height: 56px; border-radius: var(--radius-lg); text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }

/* Sonstiges */
.agramu-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.agramu-head img { height: 88px; width: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mobil ---------- */
@media (max-width: 759px) {
  .watermark { display: none; }
  .hero__inner { padding-top: 36px; padding-bottom: 40px; }
  .h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .h1--sub { font-size: clamp(28px, 8vw, 34px); }
  .lead, .lead--sub { font-size: 17px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .grid-2 { gap: 28px; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 32px; }
  .kpi__num { font-size: 30px; }
  .card__title img { height: 48px; }
  .agramu-head img { height: 64px; }
  .contactbox, .form { padding: 24px 18px; }
  .hero__actions .btn { width: 100%; }
  .brand__name, .nav { display: none; }
  .header-mobile { display: flex; }
  .sticky-call { display: block; }
  body { padding-bottom: 88px; }
}
