/* aicher.at – Aussehen. Farben und Abstände oben als Variablen. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --papier: #f6f3ee;
  --weiss: #ffffff;
  --tinte: #17181c;
  --grau: #5a5c63;
  --linie: #ddd7cd;
  --orange: #e05e14;
  --orange-text: #b54a0c;
  --dunkel: #1d1f24;
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); text-underline-offset: .2em; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 1rem; top: 1rem; background: var(--weiss); padding: .5rem 1rem; z-index: 99; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 238, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinte); line-height: 1; }
.logo img { height: 3rem; width: auto; }
@media (max-width: 600px) { .logo img { height: 2.5rem; } }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--tinte); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--orange-text); }
.nav .sprache { font-size: .85rem; font-weight: 600; border: 1px solid var(--linie); border-radius: 99px; padding: .15rem .6rem; }
.nav-knopf { display: none; background: none; border: 1px solid var(--tinte); border-radius: .35rem; padding: .4rem .8rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--tinte); }

@media (max-width: 800px) {
  .nav-knopf { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--papier); border-bottom: 1px solid var(--linie); padding: .5rem var(--rand) 1rem; }
  .nav.offen { display: flex; }
  .nav a { padding: .6rem 0; width: 100%; }
  .nav .sprache { width: auto; margin-top: .5rem; padding: .2rem .7rem; }
}

/* Einstieg */
.einstieg { padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.marke { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 1.25rem; }
h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
  margin: 0 0 1.5rem; max-width: 15ch;
}
h1 .akzent { color: var(--orange); }
h1 .marke { display: block; line-height: 1.4; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #33353b; max-width: 40rem; margin: 0 0 2rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.3rem; border-radius: .45rem;
  font-weight: 650; text-decoration: none; font-size: 1rem;
  background: var(--tinte); color: var(--weiss); border: 2px solid var(--tinte);
}
.knopf:hover { background: var(--orange); border-color: var(--orange); color: var(--tinte); }
.knopf.hell { background: transparent; color: var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: var(--weiss); }

.fakten { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin-top: clamp(2.5rem, 6vw, 4rem); }
.fakten div { padding: 1.2rem 1rem 1.2rem 0; }
.fakten div + div { border-left: 1px solid var(--linie); padding-left: 1.25rem; }
.fakten strong { display: block; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; }
.fakten span { color: var(--grau); font-size: .93rem; }
@media (max-width: 640px) {
  .fakten { grid-template-columns: 1fr; }
  .fakten div + div { border-left: 0; border-top: 1px solid var(--linie); padding-left: 0; }
}

/* Abschnitte */
.abschnitt { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abschnitt.weiss { background: var(--weiss); }
.abschnitt.dunkel { background: var(--dunkel); color: #eceae6; }
.abschnitt.dunkel a { color: #ffb489; }
.abschnitt.dunkel .marke { color: #ffb489; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 0 0 1rem; max-width: 22ch; }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 .6rem; }
.einleitung { max-width: 42rem; color: var(--grau); margin: 0 0 2.5rem; }
.dunkel .einleitung { color: #b9b7b2; }

.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.karte.breit { grid-column: 1 / -1; }
.karte.breit .liste { columns: 2; column-gap: 2.5rem; }
.karte.breit .liste li { break-inside: avoid; }
@media (max-width: 860px) { .zwei, .drei { grid-template-columns: 1fr; } .karte.breit .liste { columns: 1; } }

.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: .75rem; padding: clamp(1.4rem, 3vw, 2.2rem); }
.weiss .karte { background: var(--papier); }
.karte .nr { font-weight: 800; color: var(--orange); font-size: .9rem; letter-spacing: .06em; }
.karte p { margin: 0 0 1rem; }
.liste { list-style: none; padding: 0; margin: 0 0 1rem; }
.liste li { padding: .45rem 0 .45rem 1.4rem; border-top: 1px solid var(--linie); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); }
.liste li strong { font-weight: 650; }
.klein { font-size: .93rem; color: var(--grau); }

.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.schritte li { counter-increment: s; border-top: 3px solid var(--orange); padding-top: 1rem; }
.schritte li::before { content: "0" counter(s); display: block; font-weight: 800; font-size: 2.2rem; letter-spacing: -.03em; color: #8a8780; line-height: 1; margin-bottom: .6rem; }
.schritte p { margin: 0; color: #c9c6c0; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }

.kunden { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.kunden h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; color: var(--orange-text); }
.kunden ul { list-style: none; margin: 0; padding: 0; }
.kunden li { padding: .5rem 0; border-top: 1px solid var(--linie); font-weight: 550; }
@media (max-width: 860px) { .kunden { grid-template-columns: 1fr; } }

.platzhalter { border: 2px dashed var(--orange); border-radius: .75rem; padding: 1.25rem; background: #fff6ef; color: #6b3510; font-size: .95rem; }

.app { display: flex; flex-direction: column; }
.app p { flex: 1; }
.app .knopf { align-self: flex-start; font-size: .92rem; padding: .6rem 1rem; }

.person { display: grid; grid-template-columns: 18rem 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.foto { aspect-ratio: 4 / 5; border-radius: .75rem; background: #e8e2d8; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--grau); font-size: .9rem; padding: 1rem; border: 2px dashed #c9c0b2; }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .foto { max-width: 16rem; } }

.kontakt-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.kontakt-raster a, .kontakt-raster div { display: block; padding: 1.4rem; border: 1px solid #3a3d44; border-radius: .75rem; text-decoration: none; color: #eceae6; }
.kontakt-raster a:hover { border-color: var(--orange); background: #26292f; color: #fff; }
.kontakt-raster span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #ffb489; margin-bottom: .3rem; }
.kontakt-raster strong { font-size: 1.15rem; }
.kontakt-raster.zwei-spalten { grid-template-columns: repeat(2, 1fr); max-width: 48rem; }
@media (max-width: 860px) { .kontakt-raster, .kontakt-raster.zwei-spalten { grid-template-columns: 1fr; } }

/* Textseiten (Impressum, Datenschutz) */
.text { max-width: 46rem; padding: clamp(3rem, 7vw, 5rem) 0; }
.text h1 { font-size: clamp(2rem, 5vw, 3rem); }
.text h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.text dl { display: grid; grid-template-columns: 15.5rem 1fr; gap: .4rem 1rem; }
.text dt { font-weight: 650; }
.text dd { margin: 0; }
@media (max-width: 600px) { .text dl { grid-template-columns: 1fr; } .text dd { margin-bottom: .6rem; } }
.pruefen { background: #fff1c2; padding: 0 .25rem; border-radius: .2rem; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 2.5rem 0; font-size: .93rem; color: var(--grau); }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fuss nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.fuss a { color: var(--grau); }

/* Ankündigung */
.ank-hg { position: fixed; inset: 0; background: rgba(15, 16, 19, .55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ank { background: var(--weiss); border-radius: .9rem; max-width: 30rem; width: 100%; padding: 1.75rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.ank img { border-radius: .5rem; margin-bottom: 1rem; }
.ank h2 { font-size: 1.6rem; }
.ank-zu { position: absolute; top: .6rem; right: .7rem; background: none; border: 0; font-size: 1.6rem; cursor: pointer; line-height: 1; color: var(--grau); }
.ank-code { display: inline-block; font-weight: 700; letter-spacing: .08em; border: 2px dashed var(--orange); padding: .3rem .7rem; border-radius: .35rem; margin: .25rem 0 1rem; }

/* Boot-Seite und Bildergalerie */
.boot-haupt { margin-top: 2.5rem; border-radius: .75rem; width: 100%; }
.daten { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 1.5rem 0 0; }
.daten dt, .daten dd { padding: .5rem 0; border-top: 1px solid var(--linie); margin: 0; }
.daten dt { font-weight: 650; padding-right: 1.5rem; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .6rem; }
.galerie.zwei-risse { grid-template-columns: 1fr 1fr; align-content: start; }
.galerie-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .4rem; background: #e8e2d8; }
.zwei-risse .galerie-bild { aspect-ratio: auto; background: none; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.zwei-risse .galerie-bild img { object-fit: contain; }
.galerie-bild:hover img { transform: scale(1.04); }
.leuchte { position: fixed; inset: 0; z-index: 60; background: rgba(10, 11, 13, .92); display: flex; align-items: center; justify-content: center; }
.leuchte img { max-width: 92vw; max-height: 86vh; border-radius: .4rem; }
.leuchte button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 2rem; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; line-height: 1; }
.leuchte button:hover { background: var(--orange); }
.leuchte .zu { top: 1rem; right: 1rem; }
.leuchte .zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.leuchte .weiter { right: 1rem; top: 50%; transform: translateY(-50%); }
.leuchte .zaehler { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #ccc; font-size: .9rem; }

.wko { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; padding: 1rem 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.wko img { width: 120px; height: auto; }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .75rem; display: block; }
@media (max-width: 760px) { .portrait { max-width: 16rem; } }
