/* =========================================================
   Stephan Randecker – Website
   Fonts are self-hosted (no Google requests → DSGVO-friendly)
   ========================================================= */
@font-face {
  font-family: "Display";
  src: url("../fonts/oswald-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Display";
  src: url("../fonts/oswald-300.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Body";
  src: url("../fonts/dmsans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Body";
  src: url("../fonts/dmsans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Hand";
  src: url("../fonts/reenie-beanie.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #1c1c1c;
  --ink-2: #3b3b3b;
  --nav: #1d1d1f;
  --line: #d4d4d4;
  --tile: #edefed;
  --tile-border: #b5b5b5;
  --sage: rgba(164, 175, 166, 0.2);
  --sage-border: #9fa19f;
  --radius-btn: 14px;
  --shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 80px);
  --font-display: "Display", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Body", "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  border: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background-color: #0e3b3b;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease; 
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn-light:hover {
  color: #0e3b3b;
}

.btn svg {
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  height: 64px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Hand", cursive;
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
  height: 100%; /* Matches the container height */
  position: relative;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nav);
  text-decoration: none;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  position: relative;
  box-sizing: border-box;
  border-bottom: none;
}

/* Pins the line strictly to the bottom pixel of the nav item */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.6s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  background-color: #0e3b3b;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #3a473b;
  transition: color 0.4s ease;
}

.header-cta {
  padding: 0 22px;
  height: 40px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Language switch (dropdown) ---------- */
.lang-switch {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--nav);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.lang-current:hover,
.lang-current[aria-expanded="true"] {
  border-color: var(--nav);
}

.lang-current .chev {
  transition: transform 0.25s ease;
}

.lang-current[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.2);
  z-index: 60;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--nav);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: var(--tile);
}

.lang-menu a[aria-current="true"] {
  font-weight: 600;
}

.lang-switch .flag {
  display: block;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #222 center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  /* left-side darkening like the Figma gradient */
  content: "";
  position: absolute;
  inset: 0 26% 0 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.56),
    rgba(39, 191, 64, 0)
  );
}

.hero.hero--soft::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.32),
    rgba(39, 191, 64, 0)
  );
}

.hero.hero--none::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0) 55%
  );
  inset: 0;
}

.hero .container {
  position: relative;
}

.hero-content {
  max-width: 470px;
}

.hero h1 {
  font-size: clamp(34px, 3.4vw, 50px);
  margin-bottom: 14px;
}

.hero p {
  font-weight: 300;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Generic sections ---------- */
.section {
  padding: clamp(56px, 6.5vw, 100px) 0;
}

.section-title {
  font-size: clamp(28px, 2.4vw, 36px);
  color: var(--ink);
}

.section-title.center {
  text-align: center;
}

.lead {
  font-size: clamp(16px, 1.15vw, 18px);
  text-align: center;
  margin-top: 12px;
}

.text-lg {
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.text-lg + .text-lg {
  margin-top: 1.1em;
}

.text-medium {
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}

.split > .copy .section-title {
  margin-bottom: 16px;
}

.split > .copy .btn {
  margin-top: 26px;
}

.rounded-img {
  border-radius: 22px;
  width: 100%;
  object-fit: cover;
}

video.rounded-img {
  display: block;
  pointer-events: none; /* no player controls or right-click menu */
}

/* ---------- Media cards ---------- */
.media {
  background: #f2f2f2 url("../img/media-bg.png") center / cover;
}

.media .section-title {
  margin-bottom: 36px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.video-card {
  display: block;
  text-decoration: none;
  color: #000;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(171, 196, 178, 0.25);
}

.video-thumb {
  position: relative;
  aspect-ratio: 450 / 214;
  overflow: hidden;
  background: #111;
}

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

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #000;
  display: grid;
  place-items: center;
}

.play svg {
  margin-left: 4px;
  width: 18px;
  height: 20px;
}

.video-body {
  padding: 14px 18px 22px;
  min-height: 108px;
  background-color: #EFEFF0;
}

.video-body h3 {
  font-size: 17px;
  line-height: 1.35;
}

.video-body p {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
  max-width: 348px;
}

.video-card[data-placeholder] .video-thumb::after {
  content: "Video folgt";
  position: absolute;
  right: 14px;
  top: 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Single video embed ---------- */
.video-embed {
  max-width: 1140px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 40px auto 0;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--sage);
  border: 0.5px solid var(--sage-border);
}

.service-card h3 {
  font-size: 19px;
  margin: 16px 0 8px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}

.arrow-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  text-decoration: none;
  margin-top: 18px;
  align-self: flex-start;
  padding-bottom: 3px;
  /* underline that grows from left to right on hover */
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition:
    color 0.3s ease,
    background-size 0.3s ease;
}

.arrow-link:hover,
.arrow-link:focus-visible {
  color: #0e3b3b;
  background-size: 100% 1px;
}

/* ---------- Contact block ---------- */
.contact-band {
  background: #333 center bottom / cover no-repeat;
  padding: clamp(48px, 6vw, 96px) 0;
}

.contact-card {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

/* Homepage: full width so it lines up with the sections above */
.contact-card.wide {
  max-width: 1140px;
}

.contact-card .portrait {
  width: 280px;
  height: 400px;
  object-fit: cover;
  border-radius: 22px;
}

.contact-card .section-title {
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: 0.05em;
}

.contact-card .intro {
  font-size: 16px;
  margin: 8px 0 28px;
  max-width: 480px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 21px;
  text-decoration: none;
  color: #000;
}

.contact-row + .contact-row {
  margin-top: 24px;
}

.tile {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--tile);
  border: 0.5px solid var(--tile-border);
}

.contact-row small {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.contact-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(16px, 1.3vw, 19px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  word-break: break-word;
}

.contact-card .btn {
  margin-top: 36px;
  min-width: 260px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 24px 0 36px;
}

.site-footer.with-rule .container > .rule {
  height: 2px;
  background: #d9d9d9;
  margin-bottom: 30px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.legal {
  font-size: 17px;
  margin-top: 10px;
}

.legal a {
  text-decoration: none;
  padding: 0 10px;
}

.legal a:hover {
  text-decoration: underline;
}

.legal a + a {
  border-left: 1px solid #000;
}

.copyright {
  font-size: 13px;
  margin-top: 10px;
}

/* ---------- Schlagzeuger timeline ---------- */
.timeline {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 40px;
  width: 0;
  border-left: 2px dashed #c9c9c9;
  transform: translateX(-1px);
}

.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.tl-row + .tl-row {
  margin-top: 40px;
}

.tl-row::before {
  /* the circle marker */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--ink-2);
}

.tl-row .copy {
  max-width: 400px;
}

.tl-row .copy.right {
  justify-self: start;
}

.tl-row .copy.left {
  justify-self: end;
}

.tl-row .pics {
  display: flex;
  justify-content: center;
}

.tl-row .pics.left {
  justify-content: flex-end;
}

.tl-row .pics.right {
  justify-content: flex-start;
}

.polaroid {
  width: min(100%, 360px);
}

.pics.duo {
  position: relative;
  min-height: 470px;
}

.pics.duo img:first-child {
  position: absolute;
  right: 100px;
  top: 0;
  width: 310px;
  z-index: 1;
}

.pics.duo img:last-child {
  position: absolute;
  right: -10px;
  top: 130px;
  width: 270px;
  z-index: 2;
}

.tl-row .section-title {
  color: var(--ink-2);
  margin-bottom: 16px;
}

/* ---------- Kontakt page ---------- */
.kontakt-hero {
  position: relative;
  background: #2b3a2d url("../img/contact-bg-green.png") center / cover;
  padding: 80px 0 64px;
}

.kontakt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(40, 55, 43, 0.55) 100%
  );
}

.kontakt-hero .container {
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 25px;
  max-width: 500px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #ededed;
  font: inherit;
  font-size: 15px;
  padding: 8px 12px;
  color: #000;
}

.field input {
  height: 38px;
}

.field textarea {
  height: 100px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  background: #f5f5f5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions .btn {
  width: 280px;
  max-width: 100%;
  margin-top: 16px;
  background: #000;
}

.form-msg {
  margin-top: 14px;
  font-size: 16px;
  display: none;
}

.form-msg.ok {
  display: block;
  color: #1f6b2e;
}

.form-msg.err {
  display: block;
  color: #a11;
}

.kontakt-direct {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 880px;
  margin: 44px auto 0;
  padding: 0 0 0 0;
  color: #fff;
}

.kontakt-direct .contact-row {
  color: #fff;
}

.kontakt-direct .contact-row + .contact-row {
  margin-top: 0;
}

.kontakt-direct .tile {
  background: rgba(255, 255, 255, 0.85);
  border-color: #cfcfcf;
  color: #000;
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 20px;
  margin: 32px 0 8px;
}

.legal-page p {
  margin-bottom: 12px;
}

.todo {
  background: #fff6cc;
  padding: 2px 6px;
  border-radius: 4px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 0;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    height: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .main-nav a {
    height: auto;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  /* no desktop underline bar in the mobile menu */
  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: #0e3b3b;
  }

  .main-nav a[aria-current="page"] {
    font-weight: 600;
  }

  .nav-open .main-nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .mobile-only {
    display: block;
  }

  .hero {
    min-height: 480px;
  }

  /* Banner photo: Stephan stands on the right, so keep him in view on small screens */
  .hero.hero--focus-right {
    background-position: 78% center;
  }

  /* Portrait photo on mobile, text on the top part (Schlagzeuger, Coach) */
  .hero.hero--portrait {
    background-position: center bottom;
    align-items: flex-start;
    min-height: 0;
    aspect-ratio: 1123 / 1451;
    padding-top: 36px;
  }

  .hero.hero--portrait::before {
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0) 45%
    );
  }

  .hero.hero--drummer {
    background-image: url("../img/Der-Schlagzeuger-mobil.jpg") !important;
  }

  .hero.hero--coach {
    background-image: url("../img/coach-mobile.jpg") !important;
  }

  /* bright light flare top left: darker fade behind the text */
  .hero.hero--coach::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0) 60%
    );
  }

  .hero::before {
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.15)
    );
  }

  .split,
  .tl-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split .spacer {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Videos: two per row on mobile */
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* An odd last video (e.g. the 3rd on the homepage) sits centred */
  .video-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 6px);
  }

  .video-card {
    border-radius: 16px;
  }

  .video-body {
    padding: 10px 12px 14px;
    min-height: 0;
  }

  .video-body h3 {
    font-size: 14px;
  }

  .video-body p {
    font-size: 12px;
  }

  .play {
    width: 40px;
    height: 40px;
  }

  .play svg {
    width: 13px;
    height: 15px;
    margin-left: 3px;
  }

  .video-card[data-placeholder] .video-thumb::after {
    font-size: 9px;
    padding: 3px 7px;
    top: 8px;
    right: 8px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-card .portrait {
    width: 100%;
    height: auto;
    aspect-ratio: 345 / 400;
  }

  .contact-card .btn {
    min-width: 0;
    width: 100%;
  }

  .timeline::before,
  .tl-row::before {
    display: none;
  }

  .tl-row .copy.left,
  .tl-row .copy.right {
    justify-self: stretch;
    max-width: none;
  }

  .tl-row .pics,
  .tl-row .pics.left,
  .tl-row .pics.right {
    justify-content: center;
  }

  .tl-row.flip .copy {
    order: 2;
  }

  .tl-row + .tl-row {
    margin-top: 56px;
  }

  .pics.duo {
    min-height: 0;
    display: flex;
    align-items: flex-start; /* don't stretch the photos to the same height */
    gap: 0;
  }

  .pics.duo img:first-child,
  .pics.duo img:last-child {
    position: static;
    width: 55%;
    height: auto;
    flex: none;
  }

  .pics.duo img:last-child {
    margin-left: -12%;
    margin-top: 18%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) {
  .main-nav .mobile-only {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .btn {
    padding: 0 20px;
    font-size: 14px;
  }

  .legal {
    font-size: 16px;
  }
}


/* ---------- Legal pages: lists ---------- */
.legal-page ul {
  margin: 0 0 12px 22px;
}

.legal-page li {
  margin-bottom: 4px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 100;
  width: min(560px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.25);
  padding: 24px 26px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner .cookie-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 20px;
  margin-bottom: 8px;
}

.cookie-banner a {
  color: inherit;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.cookie-actions .btn {
  flex: 1;
  cursor: pointer;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-outline:hover {
  background: #f2f2f2;
}

@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }

  .lang-current {
    padding: 0 10px;
  }

  .lang-current span {
    display: none;
  }

  .cookie-banner {
    bottom: 16px;
    padding: 20px;
  }
}