/* Wädi Office – Stylesheet
   Leitmotiv: emailliertes Schweizer Strassen- und Hausnummernschild. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --enamel: #1c4e8f;       /* Schilderblau */
  --enamel-deep: #153b6c;  /* Tafel, Hover */
  --enamel-soft: #c9d6ea;  /* Text auf Blau */
  --wall: #e6e9ec;         /* Verputz */
  --paper: #ffffff;
  --mist: #f2f4f6;
  --ink: #18202e;
  --muted: #4a5568;
  --line: #d3d9e0;
  --signal: #f4c430;       /* Signalgelb für Angebote */
  --danger: #a32a1d;
  --ok: #24663a;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sign: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--enamel); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--enamel-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-sign);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.4vw, 2.85rem); margin-bottom: 0.5em; }
h3 { font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }
.nowrap { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.wordmark {
  font-family: var(--font-sign); font-weight: 700; font-size: 1.6rem;
  color: var(--enamel); text-decoration: none; line-height: 1;
  white-space: nowrap;
}
.wordmark:hover { color: var(--enamel-deep); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a.navlink { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; }
.site-nav a.navlink:hover { color: var(--enamel); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 10px 22px;
  border-radius: 8px; border: 2px solid var(--enamel);
  background: var(--enamel); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--enamel-deep); border-color: var(--enamel-deep); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: 0.98rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* ---------- Enamel signs ---------- */
.sign {
  --screw: #c4ccd6;
  position: relative;
  display: inline-block;
  background-color: var(--enamel);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-sign);
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 0 0 6px var(--enamel),
    inset 0 0 0 8.5px #fff,
    0 14px 22px -12px rgba(21, 59, 108, 0.55),
    0 2px 3px rgba(21, 59, 108, 0.25);
  background-image:
    radial-gradient(circle at 15px 15px, var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 15px) 15px, var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at 15px calc(100% - 15px), var(--screw) 0 2.6px, transparent 3.2px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), var(--screw) 0 2.6px, transparent 3.2px);
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); overflow-x: clip; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.hero-copy { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 7vw, 88px); align-self: center; }
.hero-copy h1 { margin-bottom: 0.38em; max-width: 12ch; }
.hero-lead { font-size: clamp(1.18rem, 2vw, 1.32rem); color: var(--muted); max-width: 34ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-note { font-size: 1rem; color: var(--muted); margin: 0; }
.hero-note strong { color: var(--ink); font-weight: 600; }

.hero-wall {
  background: var(--wall);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px);
  margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--wrap)) / 2)));
}
.sign--street {
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  padding: 0.5em 0.95em 0.48em;
  font-weight: 600;
}
.sign--number {
  font-size: clamp(5.6rem, 11vw, 8.6rem);
  padding: 0.16em 0.3em 0.12em;
  min-width: 1.7em;
  text-align: center;
  transform: rotate(-1.5deg);
}
.wall-caption {
  font-family: var(--font-sign); font-weight: 600; font-size: 1.15rem;
  color: var(--muted); margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section-intro { max-width: 62ch; color: var(--muted); margin-bottom: 2.2em; }

[id] { scroll-margin-top: 84px; }

/* ---------- Offers band ---------- */
.offers { background: var(--signal); }
.offers .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(32px, 5vw, 48px); padding-bottom: clamp(32px, 5vw, 48px);
}
.offer h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 0.3em; }
.offer p { max-width: 42ch; margin-bottom: 0.7em; }
.offer a { color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; }
.offer a:hover { color: var(--ink); text-decoration-thickness: 3px; }

/* ---------- Audience ---------- */
.audience {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 64px);
}
.audience li { border-top: 2px solid var(--ink); padding: 18px 0 28px; }
.audience p { color: var(--muted); margin: 0; max-width: 46ch; }

/* ---------- Price board ---------- */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.board {
  background: var(--enamel-deep);
  color: #fff;
  border-radius: 12px;
  padding: 30px clamp(20px, 3.5vw, 36px) 22px;
  box-shadow:
    inset 0 0 0 7px var(--enamel-deep),
    inset 0 0 0 9px rgba(255,255,255,0.85),
    0 18px 30px -18px rgba(21, 59, 108, 0.6);
}
.board-title {
  font-family: var(--font-sign); font-weight: 600; font-size: 1.15rem;
  color: var(--enamel-soft); margin: 0 0 6px;
}
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "desc price";
  column-gap: 20px;
  padding: 15px 0 14px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.board-row:first-child { border-top: 0; }
.board-name { grid-area: name; font-family: var(--font-sign); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.board-desc { grid-area: desc; color: var(--enamel-soft); font-size: 1rem; }
.board-price {
  grid-area: price; align-self: center; text-align: right;
  font-family: var(--font-sign); font-weight: 700; font-size: 1.7rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.board-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--enamel-soft); }
.board-note { color: var(--enamel-soft); font-size: 0.98rem; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.2); }

.included h3 { margin-top: 0; }
.checklist { list-style: none; margin: 0 0 2em; padding: 0; }
.checklist li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 18px; height: 10px;
  border-left: 3px solid var(--enamel); border-bottom: 3px solid var(--enamel);
  transform: rotate(-45deg);
}
.included p { color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px; margin: 0;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--wall); }
.gallery figcaption { font-size: 0.98rem; color: var(--muted); padding-top: 8px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.steps .sign {
  font-size: 2.4rem; width: 1.9em; height: 1.75em;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow:
    inset 0 0 0 4px var(--enamel),
    inset 0 0 0 6px #fff,
    0 8px 14px -8px rgba(21, 59, 108, 0.55);
  background-image: none;
}
.steps p { color: var(--muted); margin: 0; }

/* ---------- Employers ---------- */
.employers {
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px 48px; align-items: end;
  border-top: 2px solid var(--ink); padding-top: 28px;
}
.employers p { color: var(--muted); max-width: 60ch; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--enamel), var(--enamel)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--enamel), var(--enamel)) center / 2.5px 14px no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--enamel), var(--enamel)) center / 14px 2.5px no-repeat;
}
.faq summary:hover { color: var(--enamel); }
.faq details p { color: var(--muted); max-width: 68ch; margin: -4px 0 20px; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.address { font-style: normal; margin-bottom: 1.2em; }
.address strong { font-family: var(--font-sign); font-weight: 600; font-size: 1.45rem; display: block; line-height: 1.2; }
.contact-info p { color: var(--muted); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 1rem; }
.field label .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid #aab5c2; border-radius: 8px;
  padding: 11px 13px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--enamel) 50%),
    linear-gradient(135deg, var(--enamel) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--enamel); outline-offset: 1px; border-color: var(--enamel); border-radius: 8px;
}
.field input:user-invalid { border-color: var(--danger); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-privacy { font-size: 0.95rem; color: var(--muted); margin: 0; flex: 1 1 260px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e3f1e7; color: var(--ok); border: 1.5px solid #9fcbac; }
.form-status--error { background: #f8e6e3; color: var(--danger); border: 1.5px solid #e2aaa2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--enamel-deep); color: var(--enamel-soft); padding: 44px 0 36px; font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-brand { font-family: var(--font-sign); font-weight: 700; font-size: 1.5rem; color: #fff; display: block; margin-bottom: 4px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; }
.site-footer p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 0.5em; }
.legal h2 { font-size: 1.6rem; margin: 1.6em 0 0.4em; }
.legal p, .legal li { color: #2c3646; max-width: 70ch; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.3em; }
.legal .stand { color: var(--muted); font-size: 0.98rem; margin-top: 2.5em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav a.navlink { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-wall { margin: 0 calc(-1 * var(--gutter)); padding: 40px 20px 44px; }
  .pricing, .contact, .employers { grid-template-columns: 1fr; }
  .employers { align-items: start; }
}
@media (max-width: 700px) {
  body { font-size: 1.0625rem; }
  .offers .wrap, .audience, .steps { grid-template-columns: 1fr; }
  .audience li { padding-bottom: 20px; }
  .form { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 1fr; grid-template-areas: "name" "desc" "price"; }
  .board-name { font-size: 1.35rem; }
  .board-price { font-size: 1.4rem; text-align: left; margin-top: 4px; }
  .board-price small { display: inline; margin-left: 6px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .steps .sign { grid-row: 1 / span 2; margin-bottom: 0; font-size: 1.9rem; }
  .wordmark { font-size: 1.4rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .site-header .btn--small { padding: 8px 12px; font-size: 0.92rem; }
}
