/* AUTOGLAS EXPERTS – Nachbau der Wix-Seite

   Das Original skaliert mit der Fensterbreite (Referenz: 1440px):
   --v  = 1 Design-Pixel, wächst unbegrenzt mit (Header und Hero)
   --u  = 1 Design-Pixel, wächst nur bis 1600px Inhaltsbreite (alle übrigen Abschnitte)
   Unter 1000px gelten feste Pixelwerte und die Tablet-/Mobil-Regeln am Dateiende. */

/* Poppins liegt lokal auf dem Server, damit keine Verbindung zu Google entsteht */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* minimal dunkler als das Original (#e92a8e), damit weiße Schrift darauf gut lesbar ist (Kontrast 4,7:1) */
  --pink: #d81f80;
  --blue: #10aeeb;
  --cream: #fcfaf5;
  --dark: #1c1c1c;
  --grey: #4e4e4e;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-alt: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --v: calc(100vw / 1440);
  --u: calc(min(100vw, 1600px) / 1440);
  --content: 1600px;
  /* seitlicher Abstand wie beim Header, damit Inhalte nicht bis an den Rand laufen */
  --gutter: calc(56 * var(--u));
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: #000;
  background: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

[id] {
  scroll-margin-top: calc(110 * var(--v));
}

/* Abschnitte außerhalb des Heros bleiben auf breiten Bildschirmen zentriert */
.benefits,
.about,
.services,
.info,
.faq,
.site-footer__main,
.site-footer__bottom {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: calc(25 * var(--v));
  /* ab 1600px bündig mit den Inhalten darunter, sonst wie im Original */
  left: max(calc(56 * var(--v)), calc((100% - var(--content)) / 2 + var(--gutter)));
  right: max(calc(56 * var(--v)), calc((100% - var(--content)) / 2 + var(--gutter)));
  z-index: 100;
  height: calc(70 * var(--v));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 calc(38 * var(--v)) 0 calc(46 * var(--v));
  background: #fff;
  border-radius: calc(22.5 * var(--v));
  box-shadow: 0 1.13px 4.36px rgba(0, 0, 0, 0.6);
}

.site-header__logo {
  flex: none;
  display: block;
}

.site-header__logo img {
  width: calc(148 * var(--v));
  height: calc(57 * var(--v));
  object-fit: cover;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  width: calc(605 * var(--v));
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: none;
  /* unter 1440px mitschrumpfen, damit alle fünf Punkte sichtbar bleiben */
  padding: 10px min(11px, calc(11 * var(--v)));
  font-size: min(22px, calc(22 * var(--v)));
  line-height: 1.4;
  color: var(--pink);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 302px;
  max-width: 100%;
  height: 47px;
  padding: 0 20px;
  border: 0;
  border-radius: 200px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--blue);
}

.btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(calc(700 * var(--v)), 100vh);
  min-height: max(calc(700 * var(--v)), 100svh);
  padding-top: calc(113 * var(--v));
  padding-bottom: calc(40 * var(--v));
  display: flex;
  /* Text und Funnel stehen vertikal mittig im Bild */
  align-items: center;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.47;
}

.hero__inner {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(40 * var(--v));
  margin-left: calc(138 * var(--v));
  margin-right: calc(176 * var(--v));
}

.hero__text {
  flex: 0 1 calc(508 * var(--v));
  padding: calc(11 * var(--v)) 0 24px;
  color: #fff;
}

.hero__text h1 {
  font-size: calc(38.7 * var(--v));
  white-space: nowrap;
  line-height: 1.2;
  font-weight: 700;
}

.hero__text ul {
  margin: calc(26 * var(--v)) 0 calc(14 * var(--v));
  padding-left: calc(31 * var(--v));
  font-size: calc(17.2 * var(--v));
  line-height: 1.6;
  font-weight: 700;
}

/* ---------- Anfrageformular ---------- */

.form-card {
  flex: none;
  width: calc(396 * var(--v));
  padding: 24px;
  background: var(--pink);
  border-radius: 16px;
  box-shadow: 0 1.13px 4.5px rgba(0, 0, 0, 0.6);
}

.hero .form-card {
  min-height: calc(421.5 * var(--v));
  border-radius: 16px 16px 0 0;
}

.form-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  grid-column: 1 / -1;
  min-width: 0;
}

.field--half {
  grid-column: auto;
}

.field label,
.field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--cream);
  color: var(--dark);
  font: 400 16px/1.4 var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  height: 92px;
  padding: 8px 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--dark);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231c1c1c' d='M18.25 8.18l.71.71L12 15.96 5.04 8.89l.71-.71L12 14.55z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  cursor: pointer;
}

/* Eigenes Dropdown (siehe main.js) */
.dropdown {
  position: relative;
}

.dropdown select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.dropdown__button {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 44px 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231c1c1c' d='M18.25 8.18l.71.71L12 15.96 5.04 8.89l.71-.71L12 14.55z'/%3E%3C/svg%3E") no-repeat right 12px center / 24px;
  color: var(--dark);
  font: 400 16px/38px var(--font-body);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.dropdown__button:focus-visible,
.dropdown__button[aria-expanded="true"] {
  border-color: var(--dark);
}

.dropdown__button.is-invalid {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}

.dropdown__button span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dropdown__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  border-radius: 6px;
  background: var(--cream);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.dropdown__list li {
  padding: 9px 12px;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  outline: none;
}

.dropdown__list li:hover,
.dropdown__list li:focus {
  background: var(--pink);
  color: #fff;
}

.dropdown__list li[aria-selected="true"] {
  font-weight: 700;
}

.phone {
  display: flex;
  align-items: center;
  height: 40px;
  padding-left: 12px;
  border-radius: 6px;
  background: var(--cream);
}

.phone__flag {
  flex: none;
  display: flex;
  align-items: center;
}

.phone__flag span {
  width: 22px;
  height: 14px;
  background: linear-gradient(#000 33.3%, #d00 33.3% 66.6%, #ffce00 66.6%);
}

.phone__flag svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.phone input {
  padding-left: 4px;
  background: transparent;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--cream);
  -webkit-text-stroke: 0.035em currentColor;
  cursor: pointer;
}

.consent input {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid var(--cream);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.consent input:checked {
  background: var(--cream)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d81f80' stroke-width='2' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.consent a {
  color: var(--cream);
  text-underline-offset: 2px;
}

.form-card__submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 41px;
  padding: 10px 28px;
  white-space: nowrap;
  border: 0;
  border-radius: 100px;
  background: var(--cream);
  color: var(--dark);
  font: 700 16px/1.2 var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.form-card__submit:hover {
  background: var(--dark);
  color: var(--cream);
}

.form-card__status {
  grid-column: 1 / -1;
  margin-top: -8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--cream);
}

.form-card__status:empty {
  display: none;
}

/* ---------- Vorteile ---------- */

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(20 * var(--u));
  padding: calc(71 * var(--u)) var(--gutter);
}

.benefit {
  text-align: center;
  font: 500 calc(15.3 * var(--u)) / 1.6 var(--font-alt);
}

.benefit__icon {
  height: calc(155 * var(--u));
  margin-bottom: calc(7 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon img {
  width: calc(225 * var(--u));
  height: calc(155 * var(--u));
  object-fit: cover;
}

.benefit__icon img.is-small {
  width: calc(155 * var(--u));
  height: calc(107 * var(--u));
  margin-bottom: calc(33 * var(--u));
}

/* ---------- Über uns ---------- */

.about {
  padding: calc(89 * var(--u)) 20px calc(90 * var(--u));
  text-align: center;
}

.about h2 {
  max-width: calc(990 * var(--u));
  margin: 0 auto calc(32 * var(--u));
  font: 300 max(24px, calc(27 * var(--u))) / 1.1 var(--font-alt);
}

.collage {
  position: relative;
  width: min(calc(1093 * var(--u)), 100%);
  aspect-ratio: 1093 / 489;
  margin: calc(105 * var(--u)) auto 0;
}

.collage img {
  position: absolute;
  object-fit: cover;
  border-radius: calc(67.5 * var(--u));
}

.collage img:nth-child(1) {
  left: 0;
  top: 0;
  width: 30.2%;
  aspect-ratio: 330 / 322;
  box-shadow: -5.1px 2.4px 10.9px rgba(16, 174, 235, 0.33);
}

.collage img:nth-child(2) {
  left: 20.9%;
  top: 13.5%;
  width: 58.1%;
  aspect-ratio: 635 / 423;
  box-shadow: -4.5px -3.4px 11.8px rgba(16, 174, 235, 0.8);
}

.collage img:nth-child(3) {
  left: 73.9%;
  top: 0;
  width: 26.1%;
  aspect-ratio: 285 / 398;
  box-shadow: -5.1px 2.3px 11.8px rgba(16, 174, 235, 0.71);
}

/* ---------- Leistungen ---------- */

.services {
  padding: calc(73 * var(--u)) 0 calc(82 * var(--u));
}

.services h2 {
  margin-bottom: calc(54 * var(--u));
  padding: 0 20px;
  font-size: calc(58.6 * var(--u));
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(10 * var(--u));
  padding: 0 var(--gutter);
}

.service {
  display: block;
  min-width: 0;
  text-decoration: none;
}

.service img {
  width: 100%;
  aspect-ratio: 282 / 190;
  object-fit: cover;
  border-radius: calc(45.4 * var(--u));
}

.service .btn {
  width: 100%;
  margin-top: calc(16 * var(--u));
  padding: 0 8px;
  font-size: min(18px, calc(18 * var(--u)));
}

.service:hover .btn {
  background: var(--blue);
}

/* ---------- Info-Boxen ---------- */

.info {
  padding: calc(63 * var(--u)) var(--gutter) calc(59 * var(--u));
}

.info__row {
  position: relative;
  min-height: calc(237 * var(--u));
  display: flex;
  align-items: center;
}

.info__row + .info__row {
  margin-top: calc(66 * var(--u));
}

.info__box {
  flex: 1;
  min-height: calc(177 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(2.5 * var(--u)) solid var(--blue);
  text-align: center;
  font-size: calc(25.4 * var(--u));
  line-height: 1.2;
}

.info__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cream);
}

.info__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info__row--left .info__box {
  margin-left: calc(190 * var(--u));
  padding: calc(20 * var(--u)) calc(207 * var(--u));
  border-radius: 0 calc(91 * var(--u)) calc(91 * var(--u)) 0;
}

.info__row--left .info__icon {
  left: 2px;
  width: calc(249 * var(--u));
  aspect-ratio: 249 / 235;
}

.info__row--right .info__box {
  margin-right: calc(139 * var(--u));
  padding: calc(20 * var(--u)) calc(87 * var(--u)) calc(20 * var(--u)) calc(52 * var(--u));
  border-radius: calc(91 * var(--u)) 0 0 calc(91 * var(--u));
}

.info__row--right .info__icon {
  right: 0;
  width: calc(224 * var(--u));
  aspect-ratio: 224 / 237;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 105px var(--gutter) 106px;
}

.faq h2 {
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--pink);
}






.faq__panel[hidden] {
  display: none;
}

.faq__item {
  border-bottom: 2px solid var(--blue);
  margin-bottom: 5px;
  padding-bottom: 4px;
}

.faq__question {
  width: 100%;
  min-height: 81px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: none;
  color: var(--dark);
  font: 400 20px/1.2 var(--font-body);
  text-align: left;
  cursor: pointer;
}

.faq__question svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: currentColor;
  transition: transform 0.3s;
}

.faq__question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq__question[aria-expanded="true"] + .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer > div {
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
}

.faq__answer p:last-child {
  padding-bottom: 24px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #fff;
}

.site-footer__main {
  /* Logo, Kontakt und Navigation als zentrierte Gruppe mit gleichen Abständen */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  column-gap: calc(140 * var(--u));
  text-align: center;
  padding: calc(69 * var(--u)) var(--gutter) calc(60 * var(--u));
}

.site-footer__logo {
  width: calc(252 * var(--u));
  height: calc(89 * var(--u));
  object-fit: cover;
  align-self: center;
}



.site-footer__col h3 {
  margin-bottom: calc(24 * var(--u));
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--pink);
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
}

.site-footer__col li {
  margin-bottom: calc(16 * var(--u));
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.site-footer__col a {
  text-decoration: none;
}

.site-footer__col a:hover {
  color: var(--pink);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--content) - 2 * var(--gutter));
  padding: 28px 0 30px;
  border-top: 2px solid var(--pink);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey);
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

.site-footer__legal {
  justify-content: center;
}

.site-footer__credit a {
  font-weight: 700;
}

/* ---------- Leistungs-Unterseiten ---------- */

.detail,
.contact {
  --center: max(0px, calc((100vw - var(--content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(40 * var(--u));
}

/* Leistungsseite: Text und Bild als zwei gleich breite Spalten */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(80 * var(--u));
}

.detail__image {
  width: 100%;
  height: auto;
}

.detail {
  min-height: calc(808 * var(--u));
  padding: calc(150 * var(--u)) calc(var(--center) + var(--gutter)) calc(100 * var(--u));
  background: linear-gradient(var(--cream) 73%, #fff 100%);
}

.detail__text {
  flex: 0 1 calc(489 * var(--u));
}

.detail__text h1 {
  margin-bottom: calc(32 * var(--u));
  font-size: calc(45.4 * var(--u));
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue);
}

.detail__text p {
  margin-bottom: calc(17 * var(--u));
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.6;
}

.detail__image {
  width: calc(635 * var(--u));
  aspect-ratio: 635 / 423;
  object-fit: cover;
  border-radius: calc(67.5 * var(--u));
  box-shadow: -4.35px -3.28px 11.8px rgba(233, 42, 142, 0.8);
}

.contact {
  padding: calc(21 * var(--u)) calc(var(--center) + var(--gutter)) calc(25 * var(--u));
  background: #fff;
}

.contact__text {
  flex: 0 1 calc(624 * var(--u));
}

.contact__text h2 {
  margin-bottom: calc(31 * var(--u));
  font-size: calc(36.3 * var(--u));
  line-height: 1.2;
  font-weight: 700;
  color: var(--pink);
}

.contact__text p {
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.6;
}

.contact .form-card {
  width: calc(487 * var(--u));
}

/* Das Original lädt Helvetica nur im Normalschnitt; der Browser verdickt ihn
   künstlich. Eine feine Kontur bildet dieses leichtere "Fett" nach. */
.hero__text h1,
.hero__text ul,
.field label,
.form-card__submit,
.form-card__status,
.services h2,
.info strong,
.site-footer__col h3,
.site-footer__credit a,
.detail__text h1,
.contact__text h2 {
  font-weight: 400;
  -webkit-text-stroke: 0.035em currentColor;
}

/* ---------- Einblend-Animation ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Tablet (feste Pixelwerte statt Skalierung) ---------- */

@media (max-width: 1000px) {
  :root {
    --u: 1px;
    --v: 1px;
    --gutter: 24px;
  }

  .site-header {
    left: 24px;
    right: 24px;
    padding: 0 16px 0 24px;
  }

  .site-nav {
    width: auto;
    gap: 4px;
  }

  .site-nav a {
    font-size: 18px;
  }

  .hero__inner {
    margin: 0 var(--gutter);
    gap: 32px;
  }

  .hero__text {
    min-width: 0;
  }

  /* bleibt einzeilig und schrumpft, damit das Formular daneben Platz hat */
  .hero__text h1 {
    font-size: min(32px, 3.1vw);
  }


  .benefit__icon img {
    width: 100%;
    object-fit: contain;
  }

  .services h2 {
    font-size: 44px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 var(--gutter);
    gap: 24px 16px;
  }

  .info__box {
    font-size: 20px;
  }

  .info__row--left .info__box {
    padding-left: 100px;
    padding-right: 60px;
  }

  .site-footer__logo {
    width: 200px;
    height: 71px;
  }


  .contact .form-card {
    width: 420px;
  }
}

/* ---------- Mobil ---------- */

@media (max-width: 800px) {
  :root {
    --gutter: 20px;
  }

  [id] {
    scroll-margin-top: 80px;
  }

  .site-header {
    top: 14px;
    left: 20px;
    right: 20px;
    height: 56px;
    padding: 0 10px 0 16px;
    border-radius: 14px;
    gap: 12px;
  }

  .site-header__logo img {
    width: 96px;
    height: 37px;
  }

  /* Menü klappt als Karte unter der Kopfzeile auf */
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    width: auto;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    font-size: 18px;
    border-radius: 8px;
  }

  .site-nav a + a {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  body {
    padding-bottom: 76px;
  }

  .btn {
    width: auto;
    min-width: 200px;
  }

  .hero {
    min-height: 0;
    padding-top: 88px;
    padding-bottom: 32px;
  }

  .hero__inner {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin: 0 var(--gutter);
  }

  .hero__text {
    flex: none;
    padding: 0;
    text-align: center;
  }

  .hero .form-card {
    min-height: 0;
  }

  .hero__text h1 {
    font-size: 24px;
    white-space: normal;
  }

  .hero__text ul {
    display: inline-block;
    margin: 18px 0 20px;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }

  .form-card,
  .contact .form-card {
    width: 100%;
    max-width: 480px;
  }

  .form-card__submit {
    width: 100%;
    min-height: 44px;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 36px 12px;
    padding: 48px var(--gutter);
  }

  .benefit:last-child {
    grid-column: 1 / -1;
  }

  .benefit__icon {
    height: 110px;
  }

  .benefit__icon img {
    width: 160px;
    height: 110px;
    object-fit: cover;
  }

  .benefit__icon img.is-small {
    width: 110px;
    height: 76px;
    margin-bottom: 20px;
  }

  .about {
    padding: 40px var(--gutter) 60px;
  }

  .about h2 {
    font-size: 19px;
  }

  .collage {
    margin-top: 48px;
  }

  .collage img {
    border-radius: 22px;
  }

  .services {
    padding: 40px 0 56px;
  }

  .services h2 {
    margin-bottom: 36px;
    font-size: 26px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 var(--gutter);
  }

  .service img {
    border-radius: 14px;
  }

  .info {
    padding: 24px var(--gutter) 40px;
  }

  .info__row {
    min-height: 120px;
  }

  .info__row + .info__row {
    margin-top: 24px;
  }

  .info__box {
    min-height: 96px;
    border-width: 1.5px;
    font-size: 14px;
    line-height: 1.3;
  }

  .info__row--left .info__box {
    margin-left: 60px;
    padding: 14px 28px 14px 52px;
    border-radius: 0 48px 48px 0;
  }

  .info__row--left .info__icon {
    width: 100px;
  }

  .info__row--right .info__box {
    margin-right: 60px;
    padding: 14px 48px 14px 28px;
    border-radius: 48px 0 0 48px;
  }

  .info__row--right .info__icon {
    width: 92px;
  }

  .faq {
    padding: 48px var(--gutter) 64px;
  }

  .faq h2 {
    font-size: 26px;
  }


  .faq__question {
    min-height: 72px;
    font-size: 18px;
  }

  .site-footer__main {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
    padding: 48px var(--gutter) 40px;
    text-align: center;
  }

  .site-footer__logo {
    width: 180px;
    height: 64px;
  }

  .site-footer__col h3 {
    margin-bottom: 12px;
  }

  .site-footer__col:nth-child(2),
  .site-footer__col:last-child {
    justify-self: center;
  }

  .site-footer__col li {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    text-align: center;
  }

  .site-footer__credit {
    text-align: center;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    padding: 110px var(--gutter) 56px;
  }

  .detail__text,
  .contact__text {
    flex: none;
  }



  .detail__text h1 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .detail__text p,
  .contact__text p {
    font-size: 16px;
  }

  .detail__image {
    width: 100%;
    border-radius: 28px;
  }

  .contact {
    flex-direction: column;
    align-items: stretch;
    padding: 40px var(--gutter) 56px;
  }

  .contact__text h2 {
    margin-bottom: 16px;
    font-size: 26px;
  }
}

/* ---------- Rechtstexte (Impressum) ---------- */

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(170 * var(--v)) var(--gutter) 100px;
  font-size: 16px;
  line-height: 1.6;
}

.legal h1 {
  margin-bottom: 32px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue);
}

.legal h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--pink);
}

.legal h3 {
  margin: 20px 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.legal p + p {
  margin-top: 12px;
}

.legal a {
  color: var(--pink);
}

@media (max-width: 1000px) {
  .legal {
    padding-top: 150px;
  }
}

@media (max-width: 800px) {
  .legal {
    padding-top: 120px;
  }

  .legal h1 {
    font-size: 30px;
  }
}

/* ---------- Menü-Button (nur mobil sichtbar) ---------- */

.site-header__toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  background: var(--pink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.is-open .site-header__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Anruf-Button (nur mobil sichtbar) ---------- */

.call-button {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  font: 700 17px/1 var(--font-alt);
  text-decoration: none;
  white-space: nowrap;
}

.call-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 800px) {
  .site-header__toggle {
    display: flex;
  }

  .call-button {
    display: inline-flex;
  }
}

/* ---------- Cookie-Banner (blockierendes Modal mit Tabs, Aufbau wie bei bohr.media) ---------- */

.cookie-modal {
  --cc-bg: var(--dark);
  --cc-tabs-bg: #262626;
  --cc-line: rgba(255, 255, 255, 0.18);
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: var(--font-body);
}

.cookie-modal.is-visible {
  display: flex;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.7);
}

.cookie-modal__card {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cc-bg);
  color: #fff;
  border: 1px solid var(--cc-line);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cookie-tabs {
  display: flex;
  background: var(--cc-tabs-bg);
  border-bottom: 1px solid var(--cc-line);
}

.cookie-tab {
  flex: 1;
  padding: 16px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #fff;
  font: 700 15px/1.2 var(--font-body);
  opacity: 0.75;
  cursor: pointer;
}

.cookie-tab.is-active {
  border-bottom-color: var(--pink);
  opacity: 1;
}

.cookie-panel {
  display: none;
  padding: 24px 24px 12px;
}

.cookie-panel.is-active {
  display: block;
}

.cookie-panel h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.cookie-scroll {
  max-height: 128px;
  overflow-y: auto;
  padding-right: 10px;
}

.cookie-scroll p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.cookie-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cookie-links a:hover {
  text-decoration: underline;
}

.cookie-toggles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border-top: 1px solid var(--cc-line);
  border-bottom: 1px solid var(--cc-line);
}

.cookie-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-toggle + .cookie-toggle {
  border-left: 1px solid var(--cc-line);
}

.cookie-toggle input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.cookie-toggle i {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #0b0b0b;
  transition: background 0.15s;
}

.cookie-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s, background 0.15s;
}

.cookie-toggle input:checked + i {
  background: var(--pink);
}

.cookie-toggle input:checked + i::after {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + i {
  opacity: 0.6;
}

.cookie-toggle input:disabled {
  cursor: not-allowed;
}

.cookie-toggle input:focus-visible + i {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 24px 24px;
}

.cookie-btn {
  padding: 13px 10px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font: 700 14px/1.2 var(--font-alt);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cookie-btn:hover {
  background: var(--pink);
  color: #fff;
}

.cookie-btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookie-panel {
    padding: 20px 18px 10px;
  }

  .cookie-toggles {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-toggle:nth-child(3) {
    border-left: none;
  }

  .cookie-toggle:nth-child(n + 3) {
    border-top: 1px solid var(--cc-line);
  }

  .cookie-actions {
    grid-template-columns: 1fr;
    padding: 16px 18px 20px;
  }
}

/* ---------- Kostencheck (mehrstufiges Formular am Ende der Startseite) ---------- */

.info__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.info__link:hover {
  color: var(--pink);
}

/* zentriert und symmetrisch: Überschrift, Text, Funnel, darunter drei gleich breite Kontaktfelder */
.contact--funnel {
  display: block;
  padding-top: calc(90 * var(--u));
  padding-bottom: calc(110 * var(--u));
  text-align: center;
}

.contact--funnel h2 {
  margin-bottom: 20px;
  font-size: calc(45.4 * var(--u));
  line-height: 1.2;
  font-weight: 400;
  -webkit-text-stroke: 0.035em currentColor;
  color: var(--pink);
}

.contact--funnel .contact__intro {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.6;
}

.contact--funnel .funnel {
  margin: 0 auto;
  width: min(640px, 100%);
  text-align: left;
}

.contact__lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.5;
}

.contact__lines li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
}

.contact__lines li + li {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.contact__lines span {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact__lines a {
  color: var(--pink);
  font-weight: 700;
  text-decoration: none;
}

.funnel {
  flex: none;
  width: min(560px, 100%);
  padding: 28px;
  background: var(--pink);
  border-radius: 16px;
  box-shadow: 0 1.13px 4.5px rgba(0, 0, 0, 0.6);
  color: var(--cream);
}

.funnel__head {
  margin-bottom: 20px;
}

.funnel__count {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.funnel__bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.funnel__bar span {
  display: block;
  height: 100%;
  background: var(--cream);
  transition: width 0.3s;
}

.funnel__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.funnel__step[hidden] {
  display: none;
}

.funnel__step legend {
  margin-bottom: 18px;
  padding: 0;
  font: 700 22px/1.3 var(--font-alt);
}

.funnel__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.funnel__option {
  position: relative;
  cursor: pointer;
}

.funnel__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.funnel__option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--cream);
  color: var(--dark);
  font: 500 16px/1.3 var(--font-alt);
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.funnel__option:hover span {
  border-color: var(--dark);
}

.funnel__option input:checked + span {
  background: var(--dark);
  color: var(--cream);
}

.funnel__option input:focus-visible + span {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/* Lockfeld gegen Spam-Bots, für Menschen unsichtbar */
.funnel__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.funnel__back {
  margin-top: 18px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--cream);
  font: 700 15px/1.2 var(--font-body);
  cursor: pointer;
}

.funnel__back[hidden],
.funnel__done[hidden] {
  display: none;
}

.funnel__back:hover {
  text-decoration: underline;
}

.funnel__done {
  padding: 24px 0 8px;
  font-size: 16px;
  line-height: 1.6;
}

.funnel__done-title {
  margin-bottom: 8px;
  font: 700 26px/1.2 var(--font-alt);
}

@media (max-width: 1000px) {
  .contact--funnel h2 {
    font-size: 38px;
  }
}

@media (max-width: 800px) {
  .contact--funnel {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .funnel {
    padding: 22px 18px;
  }

  .funnel__step legend {
    font-size: 19px;
  }

  .funnel__option span {
    min-height: 56px;
    font-size: 15px;
  }

  .contact--funnel h2 {
    font-size: 28px;
  }

  .contact__lines {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .contact__lines li + li {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .contact__lines li {
    padding: 14px 0;
  }
}

/* Funnel im ersten Abschnitt: frei stehende Karte, vertikal mittig neben der Überschrift.
   Die Höhe richtet sich nach dem Schritt; die Kontaktschritte sind kompakt gehalten. */
.funnel--hero {
  width: max(380px, calc(420 * var(--v)));
  padding: 24px;
  border-radius: 16px;
}

.funnel--hero .form-card__grid {
  gap: 16px;
}

.funnel--hero textarea {
  height: 64px;
}

.funnel--hero .funnel__step legend {
  font-size: 20px;
}

.funnel--hero .funnel__option span {
  min-height: 56px;
  font-size: 15px;
}

@media (max-width: 800px) {
  .funnel--hero {
    width: 100%;
    min-height: 0;
  }
}

/* ---------- Google Maps (lädt erst nach Einwilligung) ---------- */

.map {
  padding: 0 var(--gutter) calc(90 * var(--u));
  background: #fff;
}

.map__frame {
  position: relative;
  max-width: calc(var(--content) - 2 * var(--gutter));
  height: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 1.13px 4.5px rgba(0, 0, 0, 0.3);
}

.map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

.map__consent p {
  max-width: 460px;
}

.map__address {
  font: 700 20px/1.3 var(--font-alt);
  color: var(--pink);
}

.map__link {
  color: var(--dark);
  font-size: 14px;
}

.map__frame.is-loaded .map__consent {
  display: none;
}

@media (max-width: 800px) {
  .map {
    padding-bottom: 56px;
  }

  .map__frame {
    height: 340px;
    border-radius: 16px;
  }
}

/* ---------- Bildergalerie (Werkstattfotos) ---------- */

.gallery {
  max-width: var(--content);
  margin: 0 auto;
  padding: calc(80 * var(--u)) var(--gutter);
  text-align: center;
}

.gallery h2 {
  margin-bottom: 16px;
  font-size: calc(45.4 * var(--u));
  line-height: 1.2;
  font-weight: 400;
  -webkit-text-stroke: 0.035em currentColor;
  color: var(--blue);
}

.gallery__intro {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: max(15px, calc(18.2 * var(--u)));
  line-height: 1.6;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(20 * var(--u));
}

.gallery__grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin: 0 auto;
}

.gallery__item {
  display: block;
  overflow: hidden;
  border-radius: calc(30 * var(--u));
  box-shadow: 0 1.13px 4.5px rgba(0, 0, 0, 0.3);
}

.gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.lightbox {
  max-width: min(92vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox img {
  display: block;
  max-width: min(92vw, 900px);
  max-height: 92vh;
  border-radius: 12px;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

@media (max-width: 1000px) {
  .gallery h2 {
    font-size: 38px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .gallery {
    padding: 48px var(--gutter);
  }

  .gallery h2 {
    font-size: 28px;
  }

  .gallery__grid,
  .gallery__grid--3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* drei Bilder: das dritte bekommt die volle Breite, damit nichts einzeln links hängt */
  .gallery__grid--3 .gallery__item:last-child {
    grid-column: 1 / -1;
  }

  .gallery__grid--3 .gallery__item:last-child img {
    aspect-ratio: 3 / 2;
  }

  .gallery__item {
    border-radius: 16px;
  }
}

/* ---------- 404-Seite ---------- */

.notfound {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(190 * var(--v)) var(--gutter) 110px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}

.notfound__code {
  font-family: var(--font-alt);
  font-size: 120px;
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.notfound h1 {
  margin: 16px 0 12px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--blue);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.btn--outline {
  background: transparent;
  color: var(--pink);
  box-shadow: inset 0 0 0 2px var(--pink);
}

.btn--outline:hover {
  background: var(--pink);
  color: #fff;
}

.notfound__links {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.notfound__links h2 {
  margin-bottom: 12px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}

.notfound__links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
}

.notfound a:not(.btn) {
  color: var(--pink);
  font-weight: 600;
}

.notfound__call {
  margin-top: 32px;
}

@media (max-width: 1000px) {
  .notfound {
    padding-top: 150px;
  }
}

@media (max-width: 800px) {
  .notfound {
    padding-bottom: 80px;
    font-size: 16px;
  }

  .notfound__code {
    font-size: 88px;
  }

  .notfound h1 {
    font-size: 28px;
  }
}
