/* Tischlerei Kunkel gen. Bode – Stylesheet */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("schriften/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("schriften/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("schriften/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("schriften/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("schriften/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #12334A;
  --navy-dunkel: #0B2233;
  --tinte: #1C1B19;
  --text: #45413B;
  --grund: #F4F2EE;
  --linie: #DCD6CC;
  --weiss: #FFFFFF;
  --hell: #CBD5DD;
  --breite: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--grund);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dunkel); }
:focus-visible { outline: 3px solid #E0A040; outline-offset: 3px; }

.inhalt { max-width: var(--breite); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; margin: 0; line-height: 1.02; }

/* Buttons */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--navy);
  background: var(--navy); color: var(--weiss);
  transition: background .15s, color .15s;
}
.knopf:hover { background: var(--navy-dunkel); border-color: var(--navy-dunkel); color: var(--weiss); }
.knopf.rahmen { background: transparent; color: var(--navy); }
.knopf.rahmen:hover { background: var(--navy); color: var(--weiss); }
.knopf svg { width: 18px; height: 18px; flex: none; }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 10; }
.kopf .inhalt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.kopf .marke img { height: 72px; width: auto; }
.kopf nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 16px; }
.kopf nav a.textlink { color: var(--tinte); text-decoration: none; padding: 12px 0; font-weight: 500; }
.kopf nav a.textlink:hover { color: var(--navy); text-decoration: underline; }
.kopf nav .knopf { min-height: 44px; padding: 9px 18px; }

/* Einstieg */
.einstieg .inhalt { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; padding-top: 84px; padding-bottom: 88px; }
.einstieg .text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.dachzeile { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
.einstieg h1 { font-size: clamp(42px, 6vw, 70px); font-weight: 700; }
.einstieg p { margin: 0; max-width: 560px; font-size: 19px; color: var(--text); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

.karte { flex: 1 1 330px; min-width: 0; background: var(--weiss); border: 1px solid var(--linie); border-top: 6px solid var(--navy); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.karte h2 { font-size: 26px; font-weight: 600; }
.zeile { display: flex; gap: 14px; align-items: flex-start; }
.zeile svg { width: 22px; height: 22px; flex: none; margin-top: 3px; stroke: var(--navy); }
.zeile a { color: var(--tinte); text-decoration: none; overflow-wrap: anywhere; }
.zeile a:hover { color: var(--navy); text-decoration: underline; }
.karte .hinweis { border-top: 1px solid var(--linie); padding-top: 16px; font-size: 15px; color: var(--text); }

/* Leistungen */
.leistungen { background: var(--weiss); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.leistungen .inhalt { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.titelzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.titelzeile h2 { font-size: clamp(38px, 5vw, 52px); font-weight: 700; }
.titelzeile p { margin: 0; max-width: 470px; color: var(--text); }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.leistung { border: 1px solid var(--linie); padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--weiss); }
.leistung h3 { margin: 0; }
.leistung h3 img { height: 78px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.leistung p { margin: 0; color: var(--text); }
.insta { align-self: flex-start; font-weight: 600; }

/* Kontakt */
.kontakt { background: var(--navy); color: var(--weiss); }
.kontakt .inhalt { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.kontakt .links { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kontakt h2 { font-size: clamp(38px, 5vw, 52px); font-weight: 700; }
.kontakt p { margin: 0; color: var(--hell); max-width: 480px; }
.kontakt .knopf { background: var(--weiss); color: var(--navy); border-color: var(--weiss); }
.kontakt .knopf:hover { background: var(--grund); border-color: var(--grund); color: var(--navy-dunkel); }
.kontakt .knopf.rahmen { background: transparent; color: var(--weiss); }
.kontakt .knopf.rahmen:hover { background: var(--weiss); color: var(--navy); }
.kontakt .rechts { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.kontakt h3 { font-size: 24px; font-weight: 600; }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; margin: 0; color: #E7ECF0; }
.zeiten dt, .zeiten dd { margin: 0; }
.kontakt .adresse { border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; font-size: 15px; color: var(--hell); font-style: normal; }

/* Fuß */
.fuss { background: var(--navy-dunkel); color: #AEBBC6; font-size: 14px; }
.fuss .inhalt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss a { color: #E2E8ED; }
.fuss a:hover { color: var(--weiss); }

/* Rechtstexte */
.rechtstext .inhalt { max-width: 820px; padding-top: 64px; padding-bottom: 88px; }
.rechtstext h1 { font-size: clamp(38px, 5vw, 52px); font-weight: 700; margin-bottom: 32px; }
.rechtstext h2 { font-size: 26px; font-weight: 600; margin: 40px 0 10px; }
.rechtstext h3 { font-size: 20px; font-weight: 600; margin: 24px 0 6px; }
.rechtstext p, .rechtstext li { color: var(--text); }
.rechtstext p { margin: 0 0 12px; }
.rechtstext .zurueck { display: inline-block; margin-bottom: 28px; font-weight: 600; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .kopf { position: static; }
  .kopf .marke img { height: 50px; }
  .kopf nav { width: 100%; justify-content: space-between; }
  .einstieg .inhalt { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .leistungen .inhalt, .kontakt .inhalt { padding-top: 60px; padding-bottom: 60px; }
  .karte, .leistung { padding: 22px; }
  .leistung h3 img { height: 64px; }
}
