/* =========================================================================
   Lafft IT – site.css
   Kein Build-Schritt: diese Datei wird direkt ausgeliefert.
   Aufbau: 1 Schrift · 2 Grundwerte · 3 Basis · 4 Bausteine · 5 Kopf/Fuß
           6 Abschnitte · 7 Bewegung · 8 Schmale Bildschirme
   ========================================================================= */

/* --- 1 Schrift -----------------------------------------------------------
   Archivo als variable Schrift, selbst gehostet. Zwei Dateien statt sechs
   Schnitten: Gewicht 100–900 und Breite 62–125 % kommen aus derselben Datei.
   Die Breitenachse benutzen wir für die technischen Marker (schmal, versal),
   die Gewichtsachse für die grossen Überschriften.                          */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

/* --- 2 Grundwerte ------------------------------------------------------- */

:root {
  --blue: #1152ef;
  --blue-deep: #0b3ab5;
  --ink: #2e3641;
  --ink-soft: #5d6672;
  --paper: #fffdf7;          /* warmes Papierweiss statt kaltem IT-Grau */
  --paper-tint: #f6f2e9;
  --dark: #161d26;
  --amber: #ff7a18;
  --line: #e3ded2;
  --line-strong: #cdc6b6;

  --wrap: 1280px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 4px;

  --shadow: 0 1px 2px rgba(22, 29, 38, .04), 0 12px 34px -18px rgba(22, 29, 38, .35);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* --- 3 Basis ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }

/* Zeilenumbrueche in Ueberschriften kommen aus dem CMS-Text selbst. Ueber
   white-space statt <br>, damit der Dialekt-Schalter sie beim Austausch des
   Textes nicht verliert. */
h2 { white-space: pre-line; }
.transition-note p { white-space: pre-line; }

h1 { font-size: clamp(3rem, 9.5vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.9rem); line-height: 1.03; }
h3 { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a { -webkit-tap-highlight-color: transparent; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1.25rem;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

/* --- 4 Bausteine -------------------------------------------------------- */

/* Marker: schmale Versalien. Nutzt die Breitenachse der variablen Schrift. */
/* Pfeile und Zierzeichen kommen als SVG aus partials/pfeil.htm. Sie folgen der
   Textfarbe und wachsen mit der Schriftgröße, damit sie überall gleich sitzen. */
.pfeil {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -.125em;
}

.marker {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-stretch: 80%;
  color: var(--ink-soft);
}

.marker::before {
  content: '';
  flex: none;
  width: 1.75rem;
  height: 2px;
  background: var(--blue);
}

.marker.light { color: rgba(255, 255, 255, .62); }
.marker.light::before { background: var(--amber); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-stretch: 78%;
  color: var(--ink-soft);
}

.eyebrow-tick {
  width: clamp(2rem, 6vw, 4.5rem);
  height: 2px;
  background: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: 1.0625rem 1.75rem;
  background: var(--blue);
  color: #fff;
  font-weight: 640;
  font-size: 1rem;
  letter-spacing: -.01em;
  border-radius: var(--radius);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.button .pfeil { transition: transform .25s var(--ease); }
.button:hover { background: var(--blue-deep); transform: translateY(-2px); }
.button:hover .pfeil { transform: translate(3px, -3px); }
.button.amber { background: var(--amber); color: var(--dark); }
.button.amber:hover { background: #ef6c0a; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 640;
  border-bottom: 2px solid var(--blue);
  padding-bottom: .2rem;
  align-self: flex-end;
}
.text-link .pfeil { transition: transform .25s var(--ease); }
.text-link:hover .pfeil { transform: translate(3px, -3px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 { margin-top: 1.25rem; max-width: 16ch; }
.section-lead { max-width: 34ch; color: var(--ink-soft); font-size: 1.0625rem; }

/* --- 5 Kopf und Fuss ---------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  min-height: 5.25rem;
}

.brand img { width: clamp(104px, 10.5vw, 142px); height: auto; }

#navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  margin-left: auto;
  font-size: .95rem;
  font-weight: 560;
}

#navigation a { position: relative; padding-block: .35rem; }

#navigation a:not(.nav-contact)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
#navigation a:not(.nav-contact):hover::after { transform: scaleX(1); }

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--ink);
  color: var(--paper);
  padding: .7rem 1.15rem;
  border-radius: var(--radius);
  transition: background .25s var(--ease);
}
.nav-contact:hover { background: var(--blue); }
.nav-contact .pfeil { transition: transform .25s var(--ease); }
.nav-contact:hover .pfeil { transform: translate(2px, -2px); }

.header-tools { display: flex; align-items: center; gap: .75rem; }

/* Dialekt-Schalter: der kleine Punkt leuchtet, wenn Tirolerisch aktiv ist. */
.dialekt-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 620;
  font-stretch: 88%;
  white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.dialekt-toggle:hover { border-color: var(--ink); }

.dialekt-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}

.dialekt-toggle[aria-pressed='true'] {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--dark);
}
.dialekt-toggle[aria-pressed='true'] .dialekt-dot {
  background: var(--dark);
  box-shadow: 0 0 0 3px rgba(22, 29, 38, .16);
}

.menu-toggle { display: none; }

.footer {
  background: var(--dark);
  color: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: space-between;
}

.footer-word {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 850;
  letter-spacing: -.05em;
  line-height: .95;
  display: block;
}
.footer-word em { color: var(--blue); font-style: italic; }

.footer-claim { margin-top: .5rem; font-weight: 600; }
.footer-address { color: rgba(255, 253, 247, .55); margin-top: 1.25rem; font-size: .95rem; }

.footer-mail {
  display: inline-block;
  margin-top: .35rem;
  color: var(--amber);
  border-bottom: 1px solid rgba(255, 122, 24, .4);
}
.footer-mail:hover { border-bottom-color: var(--amber); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-start;
  font-size: .9rem;
  color: rgba(255, 253, 247, .55);
  align-self: flex-end;
}
.footer-meta a { border-bottom: 1px solid transparent; }
.footer-meta a:hover { color: var(--paper); border-bottom-color: currentColor; }

/* --- 6 Abschnitte ------------------------------------------------------- */

/* 6.1 Startbereich */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Feines Raster im Hintergrund – erinnert an einen Netzplan, ohne ihn zu zeigen. */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(46, 54, 65, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 54, 65, .055) 1px, transparent 1px);
  background-size: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 88px);
  mask-image: radial-gradient(120% 90% at 22% 18%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; }

#hero-title { margin-top: clamp(1.75rem, 3vw, 2.75rem); }

.hero-line { display: block; }

.hero-accent {
  font-style: italic;
  font-weight: 850;
  color: var(--blue);
}

/* Strich unter der zweiten Zeile. Als Hintergrund des Inline-Textes statt als
   absolut gesetztes Element: so endet er dort, wo der Text endet – auch wenn er
   auf schmalen Bildschirmen auf zwei Zeilen umbricht. box-decoration-break gibt
   jeder Zeile ihren eigenen Strich. */
.hero-accent .mark {
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0 .075em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: draw 1.1s .35s var(--ease) forwards;
}

@keyframes draw { to { background-size: 100% .075em; } }

/* Aufkleber: schräg, wie mit der Hand aufgeklebt. Er wird vom Text umflossen,
   statt über ihm zu liegen – so verkürzt er nur die Zeilen, die er tatsächlich
   berührt, und die Überschrift bleibt in jeder Sprachfassung lesbar. */
.hero-stamp {
  float: right;
  shape-outside: circle(50%);
  shape-margin: 1.5rem;
  margin: 0 0 .5rem 1.5rem;
  display: grid;
  place-items: center;
  width: clamp(6.5rem, 11vw, 9.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  color: var(--dark);
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  font-weight: 830;
  font-style: italic;
  letter-spacing: -.03em;
  transform: rotate(-11deg);
  animation: bob 5.5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: rotate(-11deg) translateY(0); }
  50%      { transform: rotate(-8deg) translateY(-9px); }
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.hero-intro { max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.scroll-hint .pfeil { transition: transform .3s var(--ease); }
.scroll-hint:hover { color: var(--ink); }
.scroll-hint:hover .pfeil { transform: translateY(3px); }

/* 6.2 Laufband */

.ticker {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: .95rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  white-space: nowrap;
  padding-right: 2.25rem;
  animation: run 42s linear infinite;
  will-change: transform;
}

@keyframes run { to { transform: translateX(-50%); } }

.ticker-item {
  font-size: .82rem;
  font-weight: 640;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-stretch: 80%;
}

.ticker-star { display: flex; color: var(--amber); font-size: .75rem; }

.motion-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding-inline: 3.5rem 1rem;
  background: linear-gradient(90deg, rgba(46, 54, 65, 0) 0%, var(--ink) 45%);
  font-size: .72rem;
  font-weight: 640;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-stretch: 76%;
  color: rgba(255, 253, 247, .6);
}
.motion-toggle:hover { color: var(--paper); }

/* 6.3 Lafft-Check */

.check {
  padding-block: var(--section);
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(17, 82, 239, .07), transparent 65%),
    var(--paper-tint);
}

.check-head { max-width: 46rem; }
.check-head h2 { margin-top: 1.25rem; }
.check-lead { margin-top: 1.25rem; max-width: 38rem; color: var(--ink-soft); font-size: 1.1rem; }

.check-body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.check-chips { display: flex; flex-wrap: wrap; gap: .75rem; }

.chip {
  padding: .8rem 1.15rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  background: var(--paper);
  font-size: .97rem;
  font-weight: 560;
  line-height: 1.25;
  transition: transform .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }

.chip[aria-pressed='true'] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(-1.2deg);
}
.chip[aria-pressed='true']:nth-child(even) { transform: rotate(1.2deg); }

.chip-hint {
  align-self: center;
  font-size: .85rem;
  font-style: italic;
  color: var(--ink-soft);
  padding-left: .35rem;
}

.check-out { position: sticky; top: 7rem; }

/* Die Vorschau sieht aus wie ein E-Mail-Fenster – man sieht sofort, was passiert. */
.mail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-.6deg);
}

.mail-bar {
  display: flex;
  gap: .4rem;
  padding: .75rem .9rem;
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
}
.mail-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line-strong); }

.mail-head { margin: 0; padding: 1rem 1.35rem 0; }
.mail-head > div { display: flex; gap: .75rem; padding-block: .45rem; border-bottom: 1px solid var(--line); }
.mail-head dt {
  min-width: 4.25rem;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-stretch: 76%;
  color: var(--ink-soft);
  padding-top: .15rem;
}
.mail-head dd { margin: 0; font-size: .95rem; font-weight: 560; }

.mail-body { padding: 1.35rem; font-size: .97rem; min-height: 13rem; }
.mail-greeting { font-weight: 600; }

.mail-lines { margin-block: .85rem; display: flex; flex-direction: column; gap: .5rem; }
.mail-lines li {
  display: flex;
  gap: .6rem;
  color: var(--ink-soft);
  animation: line-in .3s var(--ease) both;
}
.mail-lines li::before { content: '–'; color: var(--blue); font-weight: 700; }

@keyframes line-in { from { opacity: 0; transform: translateX(-8px); } }

.mail-empty { margin-block: .85rem; color: var(--ink-soft); font-style: italic; }
.mail-sign { color: var(--ink-soft); }

.check-send { margin-top: 1.5rem; width: 100%; justify-content: center; }
.check-note { margin-top: .9rem; font-size: .85rem; color: var(--ink-soft); line-height: 1.5; }

/* 6.4 Leistungen */

.services { padding-block: var(--section); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 2.6vw, 2.5rem);
  background: var(--paper);
  transition: background .3s var(--ease);
}
.service-card:hover { background: #fff; }

.service-icon {
  color: var(--line-strong);
  display: flex;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover .service-icon { color: var(--blue); transform: translateY(-2px); }

.service-card h3 { margin-top: .35rem; }
.service-card > p { color: var(--ink-soft); font-size: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .75rem; }
.tags span {
  padding: .3rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  font-stretch: 88%;
  color: var(--ink-soft);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  font-weight: 640;
  font-size: .95rem;
  color: var(--blue);
}
.service-link .pfeil { transition: transform .25s var(--ease); }
.service-link:hover .pfeil { transform: translate(3px, -3px); }

/* 6.5 Haltung */

.stance {
  background: var(--dark);
  color: var(--paper);
  padding-block: var(--section);
}
.stance h2 { max-width: 18ch; }
.stance-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.stance-list { display: flex; flex-direction: column; }

.stance-item {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 2.6vw, 2.25rem);
  border-top: 1px solid rgba(255, 253, 247, .13);
}
.stance-item:last-child { border-bottom: 1px solid rgba(255, 253, 247, .13); }

.stance-claim {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255, 253, 247, .42);
}

/* Der Strich wird beim Sichtbarwerden gezogen: „das machen wir eben nicht“. */
.stance-claim span {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 0% 3px;
  transition: background-size .6s var(--ease);
}
.stance-item.seen .stance-claim span { background-size: 100% 3px; }

.stance-reply { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 253, 247, .88); }

/* 6.6 Ablauf */

.process { padding-block: var(--section); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
}
.process-grid li { padding-top: 1.5rem; border-top: 3px solid var(--ink); }

.process-grid h3 { margin-bottom: .6rem; }
.process-grid p { color: var(--ink-soft); font-size: 1rem; }

/* 6.7 Wer wir sind */

.about { padding-block: var(--section); background: var(--paper-tint); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-copy h2 { margin-top: 1.25rem; }
.about-text { margin-top: 1.5rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 44ch; }

.transition-note {
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--paper);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.transition-flag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-stretch: 76%;
  color: var(--blue);
  margin-bottom: .6rem;
}
.transition-note p { font-size: .98rem; color: var(--ink-soft); }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }

.founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform .4s var(--ease);
}
.founder.second .founder-portrait { transform: rotate(1.4deg); }

/* Beim Darüberfahren rücken wir das Bild gerade. */
.founder:hover .founder-portrait,
.founder.second:hover .founder-portrait { transform: rotate(0); }

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.founder:hover .founder-portrait img { transform: scale(1.03); }

.founder h3 { margin-top: 1.15rem; }
.founder-role {
  font-size: .78rem;
  font-weight: 660;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-stretch: 78%;
  color: var(--blue);
  margin-top: .35rem;
}
.founder-line { margin-top: .7rem; font-size: .97rem; color: var(--ink-soft); }

/* 6.8 Kontakt */

.contact {
  background: var(--blue);
  color: #fff;
  padding-block: var(--section);
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: space-between;
  align-items: flex-end;
}

.contact-copy { flex: 1 1 30rem; max-width: 46rem; }
.contact-copy h2 { margin-block: 1.25rem; }
.contact-copy p { max-width: 38rem; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }

.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }

.contact-arrow {
  display: grid;
  place-items: center;
  width: clamp(4rem, 7vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  color: var(--dark);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  transition: transform .3s var(--ease);
}
.contact-arrow .pfeil { width: 42%; height: auto; stroke-width: 2; }
.contact-arrow:hover { transform: translate(5px, -5px) rotate(8deg); }

.contact-mail {
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.04em;
  border-bottom: 3px solid rgba(255, 255, 255, .35);
  transition: border-color .25s var(--ease);
  word-break: break-word;
}
.contact-mail:hover { border-bottom-color: #fff; }

.contact-note { font-size: .95rem; color: rgba(255, 255, 255, .7); }

/* 6.9 Rechtstexte und 404 */

.legal { padding-block: clamp(4rem, 9vw, 8rem); max-width: 68ch; }
.legal h1 { font-size: clamp(2.75rem, 7vw, 5rem); margin-block: 1.25rem 1.5rem; }
.legal > div { white-space: pre-line; color: var(--ink-soft); font-size: 1.05rem; }
.legal > p { color: var(--ink-soft); }
.legal .button { margin-top: 2.5rem; }

.draft-label {
  display: inline-block;
  padding: .45rem .85rem;
  background: var(--amber);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 640;
  border-radius: var(--radius);
  margin-bottom: 1.75rem;
}

/* --- 7 Bewegung --------------------------------------------------------- */

/* Der Schalter im Laufband hält alles an, was sich von selbst bewegt. */
html.paused *,
html.paused *::before,
html.paused *::after { animation-play-state: paused !important; }

/* Im Hintergrundtab läuft nichts weiter. */
html.page-hidden .ticker-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-accent .mark { background-size: 100% .075em; }
  .stance-claim span { background-size: 100% 3px; }
}

/* --- 8 Schmale Bildschirme ---------------------------------------------- */

@media (max-width: 1080px) {
  .check-body { grid-template-columns: 1fr; }
  .check-out { position: static; }
  .about-inner { grid-template-columns: 1fr; }
  .stance-item { grid-template-columns: 1fr; gap: .5rem; }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 620;
  }
  .menu-bars { display: grid; gap: 4px; }
  .menu-bars i {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
  }
  .menu-toggle[aria-expanded='true'] .menu-bars i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

  #navigation {
    position: fixed;
    inset: 5.25rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  #navigation.open { transform: none; opacity: 1; visibility: visible; }
  #navigation a { padding-block: 1rem; border-bottom: 1px solid var(--line); }
  #navigation a::after { display: none; }
  .nav-contact { margin-top: 1.25rem; justify-content: center; border-bottom: 0; }
  .dialekt-label { display: none; }
  .dialekt-toggle { padding: .55rem; }
  .dialekt-toggle::after { content: 'Tirolerisch'; font-size: .8rem; }
}

@media (max-width: 620px) {
  .hero-stamp {
    float: none;
    shape-outside: none;
    margin: 1.75rem 0 0;
    animation: none;
    transform: rotate(-6deg);
  }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .button { width: 100%; justify-content: center; }
  .founders { grid-template-columns: 1fr; }
  .motion-toggle { display: none; }
  .footer-meta { flex-direction: row; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .mail-card { transform: none; }
  .check-out { width: 100%; }
}
