/* ============================================================================
   Seitenkick — Haupt-Stylesheet (design_2 „Dark refined“)
   Eine Datei, handgeschrieben, kein Build. Aufbau:
     1) Fonts + Tokens + Grundlagen
     2) Header / Logo / Nav + Mobile-Overlay
     3) Footer
     4) Seiten-Bausteine (Home, Arbeiten, Profil, Projekt, Leistungen)
   ========================================================================== */

/* --- 1) Fonts + Tokens ---------------------------------------------------- */
@font-face {
  font-family: "Lyon Text";
  src: url("/assets/fonts/LyonText-Bold-Web.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Circular";
  src: url("/assets/fonts/lineto-circular-medium.woff") format("woff");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* :root {
  --bg: #081c1f;
  --bg-strong: #031113;
  --ink: #f0efe9;
  --ink-soft: #8fa9af;
  --line: rgba(255, 255, 255, 0.1);
  --bg-alpha: rgba(0, 0, 0, 0.1);
  --accent: #dbf000;
  --card: #153840;
  --petrol: #2b6072;
  --logo-flash: #dbf000;
} */
:root {
  --bg: #fefbf6;
  --bg-strong: #f7f5ef;
  --bg-card: #ffffff;
  --ink: #153840;
  --ink-soft: #153840;
  --line: #cbc5bc;
  --accent: #153840;
  --mark: #dbf000;
  --petrol: #2b6072;
  /* Logo-Flash (app.js): bewusst gleich der Schriftfarbe – das Logo soll beim
     Hover nur in Bewegung geraten, nicht aufhellen. */
  --logo-flash: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Circular", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.serif {
  font-family: "Lyon Text", Georgia, serif;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}
main {
  flex: 1;
}

/* --- 2) Header / Logo / Nav ----------------------------------------------- */
/* header liegt in .wrap (wie im Original), damit Content und untere Border-Linien
   auf gleicher Breite sitzen (1144 px bei 1240er wrap). */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
}
.logo {
  display: inline-block;
  line-height: 0;
}
.logo-svg {
  height: 24px;
  width: auto;
  color: var(--ink);
  display: block;
  overflow: visible;
}
.logo-svg .dot {
  fill: currentColor;
}
.logo-glyphs .g {
  transform-box: fill-box;
}
/* c und k rotieren um einen absoluten svgOrigin (siehe app.js). Dafür muss ihr
   Transform-Bezug die view-box sein – mit fill-box rechnet GSAP den Origin falsch. */
.logo-glyphs #c,
.logo-glyphs #k_2 {
  transform-box: view-box;
}
/* Die i-Striche werden wie eine Feder gestaucht (play_3/4 in app.js): der Fusspunkt
   steht auf der Grundlinie, nur die Höhe gibt nach.
   Die Stauchung läuft bewusst über die Variable --sq und NICHT über GSAPs scaleY:
   GSAP schreibt bei SVG eine eigene Matrix und rechnet den Origin auf
   fill-box-Elementen daneben (gemessen: ~16 px Versatz nach unten). Als CSS-
   transform mit fill-box + transform-origin sitzt die Unterkante exakt. */
.logo-glyphs #i_1,
.logo-glyphs #i_2 {
  --sq: 1;
  transform-origin: 50% 100%;
  transform: scaleY(var(--sq));
}

nav.desktop-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  margin-left: 32px;
  transition: color 0.2s;
}
nav.desktop-nav a:hover,
nav.desktop-nav a.active {
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}

/* Burger (nur mobil sichtbar) */
.burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  margin-right: -9px;
  transition: color 0.25s;
}
.burger:hover {
  color: var(--accent);
}
.burger svg {
  width: 26px;
  height: 26px;
}

/* Mobile-Overlay – per Checkbox getoggelt (kein JS nötig) */
#nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  overflow-x: hidden;
}
#nav-toggle:checked ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}
.nav-overlay .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0;
}
.nav-overlay .close {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.nav-overlay .content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0 80px;
}
.nav-overlay .contact {
  position: relative;
}
.nav-overlay .map {
  position: absolute;
  inset: -40px -40px -40px -60px;
  z-index: 0;
  opacity: 0.28;
  background: linear-gradient(120deg, #1a4a55, #081c1f);
  -webkit-mask: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 100%);
  mask: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 100%);
}
.nav-overlay .contact-inner {
  position: relative;
  z-index: 1;
}
.nav-overlay .kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.nav-overlay address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.nav-overlay address a {
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-overlay .route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
  transition: gap 0.2s;
}
.nav-overlay .route:hover {
  gap: 14px;
}
.nav-overlay .menu {
  justify-self: end;
  text-align: right;
}
.nav-overlay .menu a {
  display: block;
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.12;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition:
    color 0.2s,
    transform 0.2s;
}
.nav-overlay .menu a:hover {
  color: var(--accent);
  transform: translateX(-10px);
}
.nav-overlay .menu a .n {
  font-family: "Circular", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-soft);
  vertical-align: super;
  margin-right: 14px;
  letter-spacing: 0.1em;
}

/* --- 3) Footer ------------------------------------------------------------ */
footer.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding: 28px 0 54px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
footer.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}
footer.site-footer a:hover {
  color: var(--accent);
}

/* --- 4a) Home ------------------------------------------------------------- */
.hero {
  padding: 60px 0 60px;
  max-width: 960px;
}
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1;
  margin: 0;
  font-weight: 700;
  hyphens: auto;
}
.hero h1 .y {
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--mark) 62%);
}
.hero-sub {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.hero-sub p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 440px;
  margin: 0;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
  transition: gap 0.2s;
}
.cta:hover {
  gap: 16px;
}

.focus {
  margin: 20px 0 90px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  align-items: center;
  min-height: 380px;
  padding: 44px;
  text-decoration: none;
  color: var(--ink);
  background: radial-gradient(120% 90% at 30% 6%, var(--bg), var(--bg-strong) 78%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.focus .cap .tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.focus .cap h2 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 10px 0 12px;
  color: var(--ink);
  line-height: 1.08;
}
.focus .cap p {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 340px;
  margin: 0;
}
.focus .stage {
  perspective: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 100%;
}
.focus .stage .shot {
  border-radius: 7px;
  overflow: hidden;
  /* border: 6px solid #000000;
  background: #0a1f24; */
  transition: transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.focus .stage .shot img {
  display: block;
  height: 270px;
  width: auto;
  border-radius: 8px;
}
.focus .stage .shot:nth-child(1) {
  transform: rotateY(34deg) rotateX(8deg) rotate(-4deg) translateX(24px) translateZ(-60px);
  z-index: 1;
}
.focus .stage .shot:nth-child(2) {
  transform: rotateY(14deg) translateY(-14px);
  z-index: 2;
}
.focus .stage .shot:nth-child(3) {
  transform: rotateY(-34deg) rotateX(8deg) rotate(4deg) translateX(-24px) translateZ(-60px);
  z-index: 1;
}
.focus:hover .stage .shot:nth-child(1) {
  transform: rotateY(24deg) rotateX(4deg) rotate(-2deg) translateX(8px) translateZ(-30px);
}
.focus:hover .stage .shot:nth-child(2) {
  transform: rotateY(8deg) translateY(-18px);
}
.focus:hover .stage .shot:nth-child(3) {
  transform: rotateY(-24deg) rotateX(4deg) rotate(2deg) translateX(-8px) translateZ(-30px);
}

/* Fokus-Karte ohne shots (Desktop-Projekt): ein einzelnes Bild statt des
   Phone-Fächers, über die BREITE skaliert – ein Querformat mit height:270px
   würde sonst aus der Karte laufen. Flach wie der Fächer auch (eine spätere
   Regel setzt dort transform:none !important); der Hover hebt es leicht an.
   Die nth-child-Drehungen oben greifen hier nicht: .single hat nur ein Kind. */
.focus .stage.single {
  perspective: none;
}
.focus .stage.single .shot {
  width: 82%;
  max-width: 420px;
  border-radius: 14px;
  border-width: 7px;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.focus .stage.single .shot img {
  height: auto;
  width: 100%;
  border-radius: 8px;
}
.focus:hover .stage.single .shot {
  transform: translateY(-6px) !important;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 34px;
}
.sec-head h2 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 26px;
  margin: 0;
}
.sec-head a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}
.sec-head a:hover {
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}
.card {
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
}
.card:hover {
  transform: translateY(-5px);
}
.card:has(.thumb.persp):hover {
  transform: none;
}
.card .thumb {
  aspect-ratio: 16/11;
}
.card:has(.thumb.persp) {
  background: radial-gradient(120% 90% at 30% 6%, var(--bg), var(--bg-strong) 78%);
  padding: 4px 28px 28px;
  display: flex;
  flex-direction: column;
}
.card:has(.thumb.persp) .body {
  order: -1;
  padding: 18px 2px 22px;
}
/* Titel über dem Bild: ein- und zweizeilige Titel gäben sonst unterschiedlich
   hohe .body-Blöcke – die Screenshots der Home-Karten starteten dann auf
   verschiedener Höhe. Zwei Zeilen reservieren, dann fluchten sie. */
.card:has(.thumb.persp) .body h3 {
  min-height: calc(2 * 1.25em);
}
.c1:has(.thumb.persp),
.c3:has(.thumb.persp) {
  background: radial-gradient(120% 90% at 70% 6%, var(--bg), var(--bg-strong) 78%);
}
.card .thumb.persp {
  background: transparent;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 15px;
}
/* Home-Grid: die vier Vorschaubilder sind unterschiedlich hoch (breite und
   schmale Karten, Quer- und Hochformate). Zentriert man sie, startet jedes
   Bild auf anderer Höhe – deshalb hier oben ausrichten, damit die Oberkanten
   fluchten. In .grid.works bleibt es bei der Zentrierung. */
.grid:not(.works) .card .thumb.persp {
  align-items: flex-start;
}
.thumb.persp .shot {
  transform: none !important;
  box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.075) !important;
}
.focus .stage .shot {
  transform: none !important;
  box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.075);
}
.thumb.persp .shot {
  width: 80%;
  transform: rotateY(-22deg) rotateX(6deg) rotate(-1deg);
  box-shadow: 20px 26px 44px rgba(0, 0, 0, 0.5);
  transition: transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Rahmen + Radius liegen auf dem img selbst (kein Wrapper wie .ipad auf der
   Detailseite). Zwei Fallstricke, die zusammen die weissen Ecken erzeugten:
   1. Der Radius gilt für die AUSSENkante der Border – innen bleibt nur
      border-radius minus Border-Breite. Bei 10px/7px waren das 3px: fast eckig.
   2. Ein <img> ist ein ersetztes Element: `overflow: hidden` klippt seine
      Bitmap NICHT, und `background` liegt dahinter. Beides kann die eckigen
      Bildecken also nicht abdecken – bei hellen Screenshots blitzen sie als
      weisse Zipfel hinter der gerundeten Kante hervor.
   Deshalb schneidet `clip-path: inset(0 round …)` das Bild wirklich ab. Der
   Wert ist der INNENradius (Aussenradius minus Border), damit die Rundung des
   Bildes exakt der Rahmeninnenkante folgt. */
.thumb.persp .shot img {
  display: block;
  width: 100%;
  height: auto;
  /* border: 7px solid #000000;
  border-radius: 17px;
  background: #000000;
  clip-path: inset(0 round 10px); */
}
/* .thumb.persp.phone .shot img {
  border: 5px solid #0a1f24;
  background: #0a1f24;
  clip-path: inset(0 round 12px);
} */
/* Stele (signage): gleiche Logik, eigener Rahmenton wie auf der Detailseite. */
.thumb.persp.hochkant .shot img {
  background: #0a1f24;
}
.card:hover .thumb.persp .shot {
  transform: rotateY(-10deg) rotateX(3deg) rotate(0);
}
.c1 .thumb.persp .shot,
.c4 .thumb.persp .shot {
  width: 56%;
  height: auto;
}
.c1 .thumb.persp .shot img,
.c4 .thumb.persp .shot img {
  width: 100%;
  height: auto;
}
.c1 .thumb.persp .shot,
.c3 .thumb.persp .shot {
  transform: rotateY(22deg) rotateX(6deg) rotate(1deg);
  box-shadow: 20px 26px 44px rgba(0, 0, 0, 0.5);
}
.card.c1:hover .thumb.persp .shot,
.card.c3:hover .thumb.persp .shot {
  transform: rotateY(10deg) rotateX(3deg) rotate(0);
}
.card .body {
  padding: 20px 22px 24px;
}
.card .tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.card h3 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 20px;
  margin: 8px 0 0;
  font-weight: 700;
  line-height: 1.25;
}
.c1 {
  grid-column: span 7;
}
.c1 .thumb {
  aspect-ratio: 16/4;
}
.c2 {
  grid-column: span 5;
}
.c3 {
  grid-column: span 5;
}
.c4 {
  grid-column: span 7;
}
.c4 .thumb {
  aspect-ratio: 16/4;
}

/* Home „Ausgewählte Arbeiten“: gleicher Hover wie Leistungen/Arbeiten-Übersicht –
   Karte zunächst zurückhaltend, beim Hover voller Kontrast + Schlagschatten.
   :not(.works) grenzt gegen die Arbeiten-Übersicht ab; die grosse .focus-Karte
   ist kein .card und bleibt unberührt. */
.grid:not(.works) .card {
  transition: box-shadow 0.3s ease;
}
.grid:not(.works) .card:has(.thumb.persp):hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}
.js .grid:not(.works) .card .tag,
.js .grid:not(.works) .card h3 {
  /* opacity: 0.5;
  transition: opacity 0.35s; */
}
.js .grid:not(.works) .card .thumb.persp .shot {
  /* opacity: 0.25;
  transition:
    opacity 0.35s,
    transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1); */
}
.js .grid:not(.works) .card:hover .tag,
.js .grid:not(.works) .card:hover h3,
.js .grid:not(.works) .card:hover .thumb.persp .shot {
  opacity: 1;
}

/* Hochformate (Phone-Screenshots, Stelen) über die HÖHE begrenzen statt über
   die Breite: sonst wird aus einem 9:19.5-Phone bei width:80% ein 700px hoher
   Klotz, der seine Grid-Zeile sprengt. Gleiches Prinzip wie in .grid.works,
   hier etwas grösser (240px statt 200px) – die Home-Karten sind grösser.
   Muss nach den .c1/.c4-width-Regeln stehen, um sie zu überschreiben. */
.grid:not(.works) .thumb.persp.phone .shot,
.grid:not(.works) .c1 .thumb.persp.phone .shot,
.grid:not(.works) .c4 .thumb.persp.phone .shot {
  width: auto;
  height: 240px;
}
.grid:not(.works) .thumb.persp.phone .shot img {
  width: auto;
  height: 100%;
}
.grid:not(.works) .thumb.persp.hochkant .shot,
.grid:not(.works) .c1 .thumb.persp.hochkant .shot,
.grid:not(.works) .c4 .thumb.persp.hochkant .shot {
  width: auto;
  height: 300px;
}
.grid:not(.works) .thumb.persp.hochkant .shot img {
  width: auto;
  height: 100%;
}

/* --- 4b) Arbeiten (Übersicht) --------------------------------------------- */
.pagehead {
  padding: 60px 0 30px;
  max-width: 820px;
}
.pagehead .eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.pagehead h1 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.03;
  margin: 0 0 20px;
  font-weight: 700;
  hyphens: auto;
}
.pagehead p {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 560px;
  margin: 0;
}

.filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 40px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.filter button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.filter button:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}
.filter button.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

/* Arbeiten nutzt ein 3er-Grid statt des 12-Spalten-Home-Grids */
.grid.works {
  grid-template-columns: repeat(3, 1fr);
}
.grid.works .card {
  grid-column: auto;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  background: radial-gradient(120% 90% at 30% 6%, var(--bg), var(--bg-strong) 78%);
}
/* Lichtquelle alternierend wie bei den Leistungs-Karten. Die Klasse setzt app.js
   nach SICHTBARER Position – nth-child würde die vom Filter versteckten Karten
   mitzählen und die Verteilung springen lassen. */
.grid.works .card.is-right {
  background: radial-gradient(120% 90% at 70% 6%, var(--bg), var(--bg-strong) 78%);
}
/* Schwebe-Hover wie bei den Leistungs-Karten: weicher Schlagschatten.
   Die Screenshot-3D-Rotation (oben) bleibt zusätzlich erhalten. */
.grid.works .card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Karten zunächst zurückhaltend, beim Hover treten sie hervor – wie die
   Leistungs-Karten. Nur mit JS (html.js), sonst bliebe alles gedimmt. */
.js .grid.works .card .tag,
.js .grid.works .card h3 {
  /* opacity: 0.4;
  transition: opacity 0.35s; */
}
.js .grid.works .card .thumb.persp .shot {
  /*   opacity: 0.4;
  transition:
    opacity 0.35s,
    transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1); */
}
.js .grid.works .card:hover .tag,
.js .grid.works .card:hover h3,
.js .grid.works .card:hover .thumb.persp .shot {
  opacity: 1;
}

/* Screenshots auf Desktop erst monochrom, beim Hover farbig – für beide Grids.
   Der Filter sitzt auf dem img, damit er nicht mit opacity/transform der .shot
   kollidiert. Auf Touch (kein Hover) bleibt alles farbig – siehe @media(hover:none). */
.js .grid.works .thumb.persp .shot img,
.js .grid:not(.works) .thumb.persp .shot img {
  filter: grayscale(1);
  transition: all 0.4s ease;
  opacity: 0.5;
}
.js .grid.works .card:hover .thumb.persp .shot img,
.js .grid:not(.works) .card:hover .thumb.persp .shot img {
  filter: grayscale(0);
  opacity: 1;
}

.grid.works .thumb.persp .shot {
  width: 85%;
  --ry: -22deg;
  --rz: -1deg;
  --sx: -20px;
  transform: rotateY(var(--ry)) rotateX(6deg) rotate(var(--rz));
  box-shadow: var(--sx) 20px 30px rgba(0, 0, 0, 0.3);
}
.grid.works .card:nth-child(3n + 2) .thumb.persp .shot {
  --ry: 24deg;
  --rz: 1.5deg;
  --sx: 20px;
}
.grid.works .card:nth-child(3n) .thumb.persp .shot {
  --ry: -16deg;
  --rz: 2deg;
  --sx: -16px;
}
.grid.works .card:hover .thumb.persp .shot {
  transform: rotateY(calc(var(--ry) * 0.45)) rotateX(3deg) rotate(0);
}
.grid.works .card h3 {
  font-size: 19px;
}
.grid.works .card:has(.thumb.persp) {
  padding: 4px 24px 24px;
}
.grid.works .card:has(.thumb.persp) .body {
  padding: 16px 2px 20px;
}
/* Hochformat-Screenshot (App): schmaler und höher als Desktop-Shots */
.grid.works .thumb.persp.phone .shot {
  width: auto;
  height: 200px;
  border-radius: 7px;
  overflow: hidden;
  /* --ry: 20deg;
  --rz: 2deg; */
}
.grid.works .thumb.persp.phone .shot img {
  width: auto;
  height: 100%;
}
/* Hochformat-Stele: wie die Phone-Variante über die Höhe statt die Breite. */
.grid.works .thumb.persp.hochkant .shot {
  width: auto;
  height: 300px;
}
.grid.works .thumb.persp.hochkant .shot img {
  width: auto;
  height: 100%;
}
/* Ausgeblendete Karte beim Filtern */
.grid.works .card.is-hidden {
  display: none;
}

/* --- 4c) Profil ----------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  margin: 56px 0 0;
  align-items: start;
}
.portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prose h2 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 28px;
  margin: 0 0 14px;
  font-weight: 700;
}
.prose h2:not(:first-child) {
  margin-top: 44px;
}
.prose p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 18px;
  max-width: 640px;
}
.prose strong {
  color: var(--ink);
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 40px;
}
.fact b {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 32px;
  display: block;
  color: var(--accent);
}
.fact span {
  color: var(--ink-soft);
  font-size: 14px;
}

/* --- 4d) Projekt (Detail) ------------------------------------------------- */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin: 44px 0 22px;
  transition:
    gap 0.2s,
    color 0.2s;
}
.back:hover {
  gap: 12px;
  color: var(--accent);
}
.top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
  padding-bottom: 20px;
}
.top .tag {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.top h1 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 700;
  /* hyphens: auto; */
}
.top .lead {
  color: var(--ink-soft);
  font-size: 19px;
  max-width: 560px;
  margin: 0;
}
.meta {
  background: var(--bg-strong);
  background: radial-gradient(120% 90% at 30% 6%, var(--bg), var(--bg-strong) 78%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  padding: 30px 32px;
}
.meta dl {
  margin: 0;
}
.meta dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 20px;
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.meta dt:first-child {
  margin-top: 0;
}
.meta dd {
  margin: 0;
  font-size: 15px;
}
.meta dd a {
  color: var(--ink);
}
.meta dd a:hover {
  text-decoration: none;
}
.meta .visit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
  transition: gap 0.2s;
  margin-top: 26px;
}
/* .meta .visit{display:inline-block;margin-top:26px;background:var(--accent);color:#0d3540;
  text-decoration:none;font-weight:600;padding:12px 22px;border-radius:30px;font-size:14px;transition:transform .15s;}
.meta .visit:hover{transform:translateY(-2px);} */
/* Fliesstext der Detailseite (projekt.text) – Lesespalte unter dem Lead,
   bewusst schmaler als der Wrap: lange Zeilen lesen sich schlecht. */
.projekttext {
  /* Steht in .top direkt unter dem Titel und ersetzt dort den früheren Lead
     (der nur noch Meta-Description ist). max-width hält die Lesespalte kurz,
     auch wenn die Grid-Spalte auf grossen Bildschirmen breiter wird. */
  /* max-width: 560px; */
  margin: 0;
}
.projekttext p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.projekttext p:last-child {
  margin-bottom: 0;
}
.projekttext a {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

/* App-Variante: mehrere gleich grosse Phones nebeneinander */
.showcase {
  margin: 44px 0 0;
  /* background: radial-gradient(120% 90% at 30% 6%, var(--bg), var(--bg-strong) 78%); */
  padding: 56px 40px;
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
/* flex-basis 210px + shrink: knapp über dem Mobil-Breakpoint reichen die
   210px sonst nicht und die dritte Karte bricht in eine neue Zeile um. */
.showcase .device {
  flex: 0 1 210px;
  min-width: 0;
  max-width: 210px;
  overflow: hidden;
  /* border: 6px solid #0a1f24;*/
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  /* background: #0a1f24; */
}
.showcase .device img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.showcase .device:nth-child(2) {
  transform: translateY(-18px);
}

/* Zwischen Mobil-Breakpoint und ~1000px reicht die Innenbreite nicht für
   3×210px + 2×30px gap – schmaleres Padding statt Umbruch der dritten Karte. */
@media (min-width: 861px) and (max-width: 1000px) {
  .showcase:not(.web) {
    padding: 56px 20px;
    gap: 18px;
  }
}

/* Desktop/Internetseiten-Variante: iPad/Desktop + Phone, Detail-Galerie, Zitat */
.showcase.web {
  align-items: flex-end;
  gap: 44px;
  padding: 60px 40px;
}
.showcase.web .ipad {
  width: min(720px, 100%);
  /* border-radius: 17px;
  overflow: hidden;
  border: 10px solid #000000;
  background: #0a1f24; */
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.2);
}
.showcase.web .ipad img {
  display: block;
  width: 100%;
  height: auto;
}
/* Hochformat-Stelen: über die Höhe begrenzt, der Rahmen folgt dem Bild.
   Nicht .portrait nennen – die Klasse ist oben schon als 3:4-Kasten belegt. */
.showcase.web .ipad.hochkant {
  flex: none;
  width: fit-content;
  max-width: 100%;
}
.showcase.web .ipad.hochkant img {
  width: auto;
  height: 700px;
  max-width: 100%;
}
.showcase.web .phone {
  width: 180px;
  max-width: 180px;
  border-radius: 7px;
  overflow: hidden;
  /* border: 7px solid #000000;
  background: #0a1f24; */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.showcase.web .phone img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 0;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0a1f24;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(170deg, rgba(10, 31, 36, 0) 45%, rgba(10, 31, 36, 0.48) 100%);
  mix-blend-mode: multiply;
}

.quote {
  margin: 56px auto 0;
  max-width: 820px;
  text-align: center;
}
.quote p {
  font-family: "Lyon Text", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
  margin: 0 0 18px;
}
.quote cite {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 34px 0;
  text-decoration: none;
  color: var(--ink);
  transition: padding-right 0.2s;
}
.next:hover {
  padding-right: 14px;
}
.next span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: linear-gradient(transparent 62%, var(--mark) 62%);
  display: inline-block;
}
.next h3 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 26px;
  margin: 6px 0 0;
}
.next .arr {
  color: var(--accent);
  font-size: 28px;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .wrap {
    padding: 0 22px;
  }
  header {
    padding: 20px 0 36px;
  }
  nav.desktop-nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .c1,
  .c2,
  .c3,
  .c4 {
    grid-column: auto;
  }
  .grid.works {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 44px 0 60px;
  }
  .hero-sub {
    gap: 24px;
  }
  /* Die clamp-Minima (40px u. ä.) sind auf schmalen Screens zu wuchtig – dort
     greift ohnehin immer die untere Grenze, also hier eigene Werte. */
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.12;
  }
  .pagehead {
    padding: 44px 0 30px;
  }
  .pagehead h1 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.3;
  }
  .top h1 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.15;
  }
  .focus .cap h2 {
    font-size: clamp(22px, 5.5vw, 26px);
    line-height: 1.25;
  }
  .c1 .thumb.persp .shot,
  .c4 .thumb.persp .shot,
  .thumb.persp .shot {
    width: 90%;
  }
  /* Titel + „Weitere Arbeiten“ nebeneinander lassen beiden zu wenig Platz –
     beide brachen um und klebten aneinander. Mobil untereinander. */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }
  .sec-head h2 {
    font-size: 20px;
  }
  .quote p {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.45;
  }
  .focus {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  /* Die Bilder gaben über height + width:auto die Stage-Breite vor – die passte
     nicht in die Karte und das dritte Shot lief unter overflow:hidden weg.
     Mobil deshalb über die Breite skalieren. */
  .focus .stage {
    gap: 8px;
  }
  .focus .stage .shot {
    flex: 1 1 0;
    min-width: 0;
    border-width: 4px;
    border-radius: 16px;
  }
  .focus .stage .shot img {
    height: auto;
    width: 100%;
    border-radius: 12px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .portrait {
    max-width: 320px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  /* iPad + Phone nebeneinander quetschen sich auf 141/95px – mobil
     untereinander und zentriert, in voller Breite. */
  .showcase.web {
    flex-direction: column-reverse;
    align-items: center;
    gap: 24px;
    padding: 32px 20px;
  }
  .showcase.web .ipad {
    width: 100%;
    max-width: 100%;
  }
  .showcase.web .phone {
    width: 150px;
    max-width: 150px;
    flex: 0 0 auto;
  }
  .grid.works .thumb.persp .shot {
    width: 100%;
    height: auto;
  }
  .grid.works .thumb.persp.phone .shot {
    width: auto;
    height: 300px;
  }
  .thumb.persp.phone .shot img {
    border: 7px solid #0a1f24;
  }
  /* .thumb.persp .shot img {
    border-radius: 7px;
  } */
  .thumb.persp.phone .shot img {
    border-radius: 17px;
  }
  /* Drei Phones nebeneinander wären hier nur ~90px breit – untereinander und
     zentriert, dann bleiben die Screens lesbar. */
  .showcase:not(.web) {
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    gap: 24px;
  }
  .showcase:not(.web) .device {
    width: 210px;
    max-width: 100%;
    flex: 0 0 auto;
  }
  /* Der Versatz der mittleren Karte ergibt nur nebeneinander Sinn. */
  .showcase:not(.web) .device:nth-child(2) {
    transform: none;
  }
  /* Logo im Overlay muss exakt auf dem Header-Logo liegen (sonst springt es
     beim Öffnen) – gleiches Padding wie header. */
  .nav-overlay .bar {
    padding: 20px 0 36px;
  }
  /* Im Header gibt der Burger (26px + 2*6px padding) die Zeilenhöhe vor. Die
     .bar enthält nur das 24px-Logo – ohne gleiche Mindesthöhe sässe ihr Logo
     7px höher als das Header-Logo und spränge beim Öffnen. */
  .nav-overlay .bar > * {
    min-height: 38px;
  }
  .nav-overlay .close {
    display: flex;
    align-items: center;
  }
  .nav-overlay .logo {
    display: flex;
    align-items: center;
  }
  /* Menü zuerst, Anschrift kompakt darunter – ohne Scroll. */
  .nav-overlay .content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 0 24px;
    align-content: start;
  }
  .nav-overlay .menu {
    order: -1;
    justify-self: start;
    text-align: left;
  }
  .nav-overlay .menu a {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.4;
  }
  .nav-overlay .menu a:hover {
    transform: translateX(10px);
  }
  /* Der Deko-Verlauf ragt seitlich über den Viewport – mobil weglassen,
     sonst entsteht horizontaler Scroll. */
  .nav-overlay .map {
    display: none;
  }
  .nav-overlay address {
    font-size: 15px;
    line-height: 1.5;
  }
  .nav-overlay .kicker {
    margin-bottom: 10px;
  }
  .nav-overlay .route {
    margin-top: 14px;
  }
}
@media (max-width: 560px) {
  .grid.works {
    grid-template-columns: 1fr;
  }
  /* Einspaltig ist die Karte so breit wie der Inhaltsbereich – dann sollen die
     Screenshots die volle Breite INNERHALB des Karten-Paddings nutzen. Das
     Padding bleibt also; nur der zusätzliche margin von .thumb.persp fällt
     seitlich weg. Ohne Perspektive/Drehung nimmt das Bild die Breite wirklich
     aus – die Rotation legte es sonst schief und optisch schmaler an die Kante. */
  .grid.works .card .thumb.persp {
    margin: 0 0 15px;
    perspective: none;
    /* `.card .thumb` hat `aspect-ratio: 16/11`. Solange der Inhalt flacher ist
       als das Verhältnis, bestimmt die Breite die Höhe – bei einem hohen
       Phone-Shot dreht WebKit das aber um und rechnet aus der Inhaltshöhe die
       Breite zurück (638px × 16/11 ≈ 956px). Der Thumb wurde damit gut dreimal
       so breit wie die Karte und das Bild lief rechts und unten heraus; Blink
       macht das nicht, deshalb war es nur auf dem iPhone zu sehen.
       Einspaltig braucht es das Verhältnis ohnehin nicht – die Höhe darf hier
       dem Bild folgen. */
    aspect-ratio: auto;
  }
  .grid.works .thumb.persp .shot,
  .grid.works .card:hover .thumb.persp .shot {
    width: 100%;
    transform: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  }
  /* Auch die Hochformate (Phone/Stele) nehmen hier die volle Breite – sie
     werden dadurch hoch (9:19.5 ≈ Breite × 2.2), das ist so gewollt. */
  .grid.works .thumb.persp.phone .shot,
  .grid.works .card:hover .thumb.persp.phone .shot,
  .grid.works .thumb.persp.hochkant .shot,
  .grid.works .card:hover .thumb.persp.hochkant .shot {
    width: 100%;
    height: auto;
  }
  /* Der .shot allein genügt nicht: oben skaliert das img der Hochformate über
     `height: 100%` bei `width: auto` – es bliebe in Originalbreite stehen und
     liefe aus der Karte. Hier also auch das img auf Breite umstellen. */
  .grid.works .thumb.persp.phone .shot img,
  .grid.works .thumb.persp.hochkant .shot img {
    width: 100%;
    height: auto;
  }
  /* Home-Grid genauso: einspaltig sind .c1–.c4 gleich breit, die 56-%- bzw.
     90-%-Breiten von oben liessen die Bilder deutlich schmaler als die Karte.
     Auch hier volle Breite innerhalb des Karten-Paddings, ohne Rotation. */
  .grid:not(.works) .card .thumb.persp {
    margin: 0 0 15px;
    perspective: none;
    aspect-ratio: auto;
  }
  .grid:not(.works) .thumb.persp .shot,
  .grid:not(.works) .c1 .thumb.persp .shot,
  .grid:not(.works) .c3 .thumb.persp .shot,
  .grid:not(.works) .c4 .thumb.persp .shot,
  .grid:not(.works) .card:hover .thumb.persp .shot,
  .grid:not(.works) .card.c1:hover .thumb.persp .shot,
  .grid:not(.works) .card.c3:hover .thumb.persp .shot {
    width: 100%;
    height: auto;
    transform: none;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  }
  .grid:not(.works) .thumb.persp.phone .shot,
  .grid:not(.works) .c1 .thumb.persp.phone .shot,
  .grid:not(.works) .c4 .thumb.persp.phone .shot,
  .grid:not(.works) .thumb.persp.hochkant .shot,
  .grid:not(.works) .c1 .thumb.persp.hochkant .shot,
  .grid:not(.works) .c4 .thumb.persp.hochkant .shot {
    width: 100%;
    height: auto;
  }
  .grid:not(.works) .thumb.persp .shot img,
  .grid:not(.works) .c1 .thumb.persp .shot img,
  .grid:not(.works) .c4 .thumb.persp .shot img,
  .grid:not(.works) .thumb.persp.phone .shot img,
  .grid:not(.works) .thumb.persp.hochkant .shot img {
    width: 100%;
    height: auto;
  }
  /* Der dunkle 7px-Rahmen (oben in der 860er-Query) liess den Phone-Screenshot
     wie ein Geräte-Mockup wirken – bei voller Kartenbreite wirkt er nur noch
     wie ein schwarzer Balken. Hier also ohne Rahmen, mit dem normalen Radius
     der übrigen Screenshots. */
  .grid .thumb.persp.phone .shot img {
    border: 0;
    border-radius: 7px;
  }
}

/* Touch-Geräte haben keinen Hover: Karten-Inhalte dürfen dort nicht dauerhaft
   gedimmt bleiben, sondern immer voll sichtbar sein. */
@media (hover: none) {
  .js .grid.works .card .tag,
  .js .grid.works .card h3,
  .js .grid.works .card .thumb.persp .shot,
  .js .grid:not(.works) .card .tag,
  .js .grid:not(.works) .card h3,
  .js .grid:not(.works) .card .thumb.persp .shot {
    opacity: 1;
  }
  .js .grid.works .thumb.persp .shot img,
  .js .grid:not(.works) .thumb.persp .shot img {
    filter: grayscale(0);
    opacity: 1;
  }
}

/* --- 4e) Rechtliches / Prosa-Seiten (Impressum, Datenschutz, AGB) ---------- */
.legal {
  max-width: 780px;
  margin: 0 0 auto;
  padding: 10px 0 40px;
}
.legal .lead {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0 0 8px;
  max-width: 640px;
}
.legal .updated {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 40px;
}
.legal h2 {
  font-family: "Lyon Text", Georgia, serif;
  font-size: 24px;
  margin: 44px 0 14px;
  font-weight: 700;
  line-height: 1.2;
}
.legal h3 {
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 28px 0 10px;
  font-weight: 600;
  color: var(--ink);
}
.legal p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 16px;
}
.legal ul {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 16px;
  padding-left: 22px;
}
.legal li {
  margin: 5px 0;
}
.legal a {
  color: var(--accent);
  text-decoration: none;
}
.legal a:hover {
  text-decoration: underline;
}
.legal strong {
  color: var(--ink);
}
.legal address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 16px;
}
/* Sichtbarer Redaktions-Hinweis für zu prüfende Passagen */
.legal .review {
  border-left: 3px solid var(--accent);
  background: rgba(219, 240, 0, 0.06);
  padding: 12px 16px;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink);
}
.legal .review b {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* --- 4f) Newsletter-Formular ---------------------------------------------- */
.newsletter-form {
  max-width: 560px;
  margin: 36px 0 0;
}
.newsletter-form .row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.newsletter-form .field {
  flex: 1;
  min-width: 200px;
  margin: 0 0 18px;
}
.newsletter-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 0;
  transition: border-color 0.2s;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}
/* Honeypot – für Menschen unsichtbar, Bots füllen es aus */
.newsletter-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.newsletter-form .consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 6px 0 24px;
  font-size: 14px;
  color: var(--ink-soft);
}
.newsletter-form .consent input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.newsletter-form .consent a {
  color: var(--accent);
  text-decoration: none;
}
.newsletter-form button {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  border-bottom: 2px solid var(--accent);
  padding: 0 0 6px 0;
  white-space: nowrap;
  transition: gap 0.2s;
}
/* .newsletter-form button{background:var(--accent);color:#0d3540;border:none;font-family:inherit;
  font-weight:600;font-size:15px;padding:14px 30px;border-radius:40px;cursor:pointer;transition:transform .15s;}
.newsletter-form button:hover{transform:translateY(-2px);} */
.form-note {
  padding: 14px 18px;
  margin: 0 0 26px;
  font-size: 15px;
  border-radius: 0;
}
.form-note.ok {
  background: rgba(219, 240, 0, 0.1);
  border-left: 3px solid var(--accent);
  color: var(--ink);
}
.form-note.error {
  background: rgba(255, 120, 120, 0.1);
  border-left: 3px solid #ff8a8a;
  color: var(--ink);
}
