/* Schaufenster izunia.ch, solange die Website in Arbeit ist. Farben und Schrift wie die
   Website (website-code/src/stile/grund.css, «Gipsgrau kühl», Entscheid Abdul 14.11.2026).
   Kein Logo bis zur Rechtsprüfung, keine Fotos bis zu Daniels Freigabe. */

@font-face {
  font-family: 'Apfel Grotezk';
  src: url('/schrift/apfel-grotezk-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --seite: #f2f3f5;
  --flaeche: #e2e5ea;
  --tinte: #15171c;
  --hell: #f2f3f5;
  --grau: #62656a;       /* auf hellem Grund 5.35:1 */
  --grau-hell: #909398;  /* auf dunklem Grund 5.66:1 */
  --linie: #cfd3d9;
  --rand: 16px;
  --schrift: 'Apfel Grotezk', 'Helvetica Neue', Arial, system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--seite);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.45;
}

h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--tinte);
  outline-offset: 3px;
}

.rahmen {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* Kopf: Name links, Telefon und Offerte rechts, immer sichtbar */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--seite);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.kopf__name {
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding-block: 12px;
}
.kopf__wege {
  display: flex;
  align-items: center;
  gap: 8px;
}
.kopf__tel {
  display: none;
  text-decoration: none;
  padding: 12px 8px;
}

.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--tinte);
  color: var(--hell);
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}
.knopf--gross {
  min-height: 52px;
  padding: 0 22px;
  font-size: 18px;
}
@media (hover: hover) {
  .knopf:hover { background: #2a2d34; }
  .kopf__tel:hover,
  .kontakt__weg:hover .kontakt__wert { text-decoration: underline; text-underline-offset: 4px; }
}

/* Start */
.start {
  padding-top: 56px;
  padding-bottom: 56px;
}
.etikett {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid var(--tinte);
  font-size: 14px;
  letter-spacing: 0.04em;
}
h1 {
  font-weight: 400;
  font-size: clamp(40px, 9vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 12ch;
}
.einleitung {
  margin-top: 24px;
  max-width: 34ch;
  font-size: 20px;
  line-height: 1.4;
}

.kontakt {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.kontakt__weg {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: var(--flaeche);
  text-decoration: none;
}
.kontakt__art {
  font-size: 14px;
  color: var(--grau);
}
.kontakt__wert {
  font-size: clamp(24px, 6.4vw, 36px);
  line-height: 1.15;
}
.zeiten {
  margin-top: 14px;
  color: var(--grau);
  font-size: 15px;
}

/* Leistungen als nummerierte Liste mit Trennlinien */
.leistungen,
.gebiet {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--linie);
}
h2 {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--grau);
  margin-bottom: 20px;
}
.liste li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--linie);
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.2;
}
.liste li:first-child { border-top: 1px solid var(--linie); }
.liste__nr {
  font-size: 15px;
  color: var(--grau);
}

.gebiet p {
  max-width: 40ch;
  font-size: clamp(20px, 4.6vw, 28px);
  line-height: 1.3;
}
.gebiet p + p { margin-top: 16px; }
.gebiet p:last-child { margin-top: 32px; }

/* Fuss mit Impressum und Datenschutz */
.fuss {
  background: var(--tinte);
  color: var(--hell);
  padding-top: 48px;
}
.fuss h2 { color: var(--grau-hell); }
.fuss__innen {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}
.fuss p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
}
.fuss p + p { margin-top: 12px; }
.fuss a { text-underline-offset: 3px; }
.fuss__klein { color: var(--grau-hell); }
.fuss__unten {
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid #2c3038;
}
.fuss__unten p { color: var(--grau-hell); font-size: 14px; }

/* Ab Tablet: Telefon im Kopf ausgeschrieben, Kontaktwege nebeneinander */
@media (min-width: 640px) {
  :root { --rand: 24px; }
  .kopf__tel { display: inline-flex; }
  .kontakt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  :root { --rand: 40px; }
  .kopf__innen { min-height: 72px; }
  .start { padding-top: 96px; padding-bottom: 88px; }
  .einleitung { font-size: 22px; }
  .leistungen,
  .gebiet {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .leistungen h2,
  .gebiet h2 { margin-bottom: 0; }
  .gebiet { row-gap: 0; }
  .gebiet > p { grid-column: 2; }
  .gebiet h2 { grid-row: 1 / span 3; }
  .fuss__innen { grid-template-columns: 1fr 2fr; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Zwischentitel in der Datenschutzerklärung */
.fuss h3 {
  margin: 20px 0 6px;
  font-weight: 400;
  font-size: 15px;
  color: var(--hell);
}
.fuss h2 + h3 { margin-top: 0; }
