/* Flexgym Dülmen (copy of the Vreden site). Design: the owner's Claude artifact (Main.dc.html), minus Extras. */

@font-face {
  font-family: 'Alfa Slab One';
  src: url('../fonts/alfa-slab-one-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #F6F4F1;
  --ink: #141414;
  --white: #FFFFFF;
  --accent: #E2231A;
  --accent-light: #FF5A4F;
  --accent-text: #B5170F;
  --soft: #FDECEB;
  --line: #E6E3DF;
  --grey-1: #3D3D3D;
  --grey-2: #4A4A4A;
  --grey-3: #5A5A5A;
  --grey-on-dark: #CFCFCF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.accent { color: var(--accent); }
.accent-light { color: var(--accent-light); }
.muted { color: var(--grey-3); font-size: 14px; }
.pre { white-space: pre-line; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn-lg { font-size: 17px; padding: 17px 30px; }
.btn-block { width: 100%; min-height: 56px; font-size: 17px; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-text); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline;
}

.pill {
  align-self: flex-start; display: inline-flex; align-items: center;
  font-weight: 700; font-size: 14px; letter-spacing: 1px;
}
.pill-soft { color: var(--grey-3); }

.eyebrow { color: var(--grey-3); font-weight: 700; font-size: 14px; letter-spacing: 1px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(246, 244, 241, 0.92); backdrop-filter: blur(10px);
}
.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 32px; padding-top: 14px; padding-bottom: 14px;
}
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: 'Alfa Slab One', serif; font-size: 30px; letter-spacing: 1px; }
.logo-small { font-size: 26px; }
.logo-tag { font-size: 10px; font-weight: 700; letter-spacing: 5px; color: var(--grey-2); padding-top: 4px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 600; font-size: 16px; }
.main-nav a { text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--accent-text); }

/* ---------- hero ---------- */
.hero-wrap { padding-top: 12px; }
.hero {
  background: var(--ink); color: var(--white); border-radius: 20px; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.hero-text { flex: 1 1 520px; min-width: 0; padding: 72px 56px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -1.5px; }
.hero p { font-size: 19px; line-height: 1.6; color: #D4D4D4; max-width: 500px; }
.hero .btn-row { padding-top: 4px; }
.hero-img {
  flex: 1 1 400px; min-width: 0; min-height: 420px; width: 100%; height: auto;
  object-fit: cover; object-position: center 25%; display: block;
}

/* ---------- section heads ---------- */
.section-head { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -1px; }
.section-head p { color: var(--grey-2); font-size: 18px; max-width: 560px; }

/* ---------- tarife ---------- */
.section-tarife { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 44px; }
.lock-banner {
  align-self: center; background: #FFF4D6; color: #6B4E00; border-radius: 10px;
  padding: 12px 18px; font-size: 15px; font-weight: 600; text-align: center;
}
.tariff-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px;
  max-width: 920px; width: 100%; margin: 0 auto;
}
.tariff-status { grid-column: 1 / -1; text-align: center; color: var(--grey-2); }
.included { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.included .check-grid {
  max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.included .check-grid li {
  background: none; padding: 0; gap: 8px; font-size: 15px; color: var(--grey-1);
}
.included .check-grid li::before { width: 18px; height: 18px; background-size: 16px; }
.tariff-status a { color: var(--accent-text); font-weight: 700; }

.tariff {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; display: flex; flex-direction: column; gap: 22px;
}
.tariff-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tariff-top div { display: flex; flex-direction: column; gap: 4px; }
.tariff h3 { font-size: 28px; line-height: 1.1; }
.tariff-sub { font-size: 15px; font-weight: 600; color: var(--grey-3); }
.price-box { background: var(--bg); border-radius: 12px; padding: 22px 24px; display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 58px; line-height: 0.9; letter-spacing: -2px; }
.price-unit { font-size: 16px; font-weight: 600; color: var(--grey-3); padding-bottom: 4px; }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.bullets li { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 500; }
.bullets li::before {
  content: ''; width: 20px; height: 20px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2231A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 17px no-repeat;
}
.tariff-terms { margin-top: auto; font-size: 14px; color: var(--grey-3); display: flex; flex-direction: column; gap: 4px; }
.tariff-blocked { font-size: 15px; font-weight: 600; color: var(--accent-text); background: var(--soft); border-radius: 10px; padding: 12px 16px; }
.tariff .btn { min-height: 52px; font-size: 17px; }
.tariff:has(.btn[aria-pressed="true"]) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tariff .btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.extras h3:focus { outline: none; }

/* extras: Magicline modules a member can tick on */
.extras { display: flex; flex-direction: column; gap: 32px; padding-top: 16px; }
.extras .section-head h3 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; }
.extras-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 18px;
  width: 100%;
}
.extra {
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 180px;
}
/* Dülmen: a highlight under the extras, nothing to pick. */
.kids-box {
  max-width: 716px; width: 100%; margin: 0 auto; padding: 32px;
  background: var(--ink); color: var(--white); border-radius: 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.kids-box .pill { background: var(--accent); color: var(--white); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.kids-box h3 { font-size: clamp(28px, 3.5vw, 38px); line-height: 1.1; letter-spacing: -1px; }
.kids-box p { color: var(--grey-on-dark); font-size: 16px; line-height: 1.5; }
.extra[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.extra-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.extra-name { font-weight: 800; font-size: 21px; line-height: 1.2; }
.extra-box {
  width: 26px; height: 26px; flex-shrink: 0; border: 2px solid var(--line); border-radius: 8px; background: var(--white);
}
.extra[aria-pressed="true"] .extra-box {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.extra-text { font-size: 15px; line-height: 1.5; color: var(--grey-2); }
.extra-price { margin-top: auto; font-weight: 800; font-size: 17px; color: var(--accent-text); }
.selection {
  background: var(--ink); color: var(--white); border-radius: 14px; padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 920px; width: 100%; margin: 0 auto; box-sizing: border-box;
}
.selection-text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 360px; }
.selection .eyebrow { color: var(--grey-on-dark); }
.selection strong { font-size: 22px; }
.selection-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.selection-terms button {
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 2px solid var(--grey-on-dark); background: transparent; color: var(--white);
}
.selection-terms button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: var(--ink); }
.selection span { color: var(--grey-on-dark); }
.selection .selection-sum { color: var(--white); font-weight: 700; }
.checkout-extras { color: var(--grey-1); }
.checkout-extras .link-btn { font-size: 15px; font-weight: 600; margin-left: 6px; }

/* ---------- wechseln ---------- */
.sheet { background: var(--white); border-radius: 24px 24px 0 0; }
.split { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-img {
  flex: 1 1 420px; min-width: 0; height: 560px; border-radius: 20px;
  object-fit: cover; object-position: center 35%; display: block;
}
.split-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.split-text h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -1px; }
.split-text p { font-size: 18px; line-height: 1.65; color: var(--grey-1); }
.switch-steps { margin: 0; padding-left: 1.3em; font-size: 17px; line-height: 1.6; color: var(--grey-1); }
.switch-steps li { padding-left: 4px; }
.switch-steps li + li { margin-top: 14px; }
.switch-steps li::marker { font-weight: 800; color: var(--accent); }
.switch-steps strong { color: var(--ink); }
.after-price { font-weight: 700; font-size: 18px; }
.check-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.check-grid li {
  display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 10px;
  padding: 14px 18px; font-weight: 600; font-size: 16px;
}
.check-grid li::before {
  content: ''; width: 22px; height: 22px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2231A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 19px; background-repeat: no-repeat; background-position: center;
}

/* ---------- studio ---------- */
.dark { background: var(--ink); color: var(--white); }
.studio { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 44px; }
.dark .section-head h2 { font-size: clamp(34px, 4.6vw, 54px); }
.dark .section-head p { color: var(--grey-on-dark); max-width: 600px; }
.feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.feature img {
  flex: 1 1 520px; min-width: 0; height: 420px; border-radius: 20px;
  object-fit: cover; object-position: center 30%; display: block;
}
.feature > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; }
.feature p { color: var(--grey-on-dark); font-size: 17px; line-height: 1.65; }
.feature-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card { display: flex; flex-direction: column; gap: 14px; }
.feature-card img {
  width: 100%; height: 380px; border-radius: 20px; margin-bottom: 6px;
  object-fit: cover; object-position: center 30%; display: block;
}
.feature-card img.img-low { object-position: center 40%; }
.feature-card h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
.feature-card p { color: var(--grey-on-dark); font-size: 17px; line-height: 1.65; }
.studio-cta { align-self: center; }

/* ---------- termin ---------- */
.termin { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.termin-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.termin-img { width: 100%; height: 360px; border-radius: 20px; object-fit: cover; object-position: center 25%; display: block; }
.termin h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -1px; }
.termin-info > p { font-size: 18px; color: var(--grey-1); line-height: 1.65; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 8px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.info-card span { font-size: 14px; color: var(--grey-3); font-weight: 600; }
/* Days in one column, times in the other, so the digits line up. */
.hours { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 18px; }
.hours dt { color: var(--grey-2); font-weight: 600; }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.info-card strong, .info-card a { font-weight: 700; text-decoration: none; }
.link-accent { color: var(--accent-text); }

/* ---------- forms ---------- */
.card-form {
  flex: 1 1 420px; min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.card-form h3 { font-size: 26px; }
form, fieldset { display: flex; flex-direction: column; gap: 14px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 800; font-size: 20px; padding: 0 0 10px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.field-row-address { grid-template-columns: minmax(0, 3fr) minmax(90px, 1fr); }
.field-row-zip { grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr); }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--grey-1); }
input, select, textarea {
  background: var(--bg); border: 2px solid transparent; border-radius: 10px; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
input[aria-invalid='true'] { border-color: var(--accent); }
label.check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink); cursor: pointer; }
label.check input { width: 22px; height: 22px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--accent); }
.fine { font-size: 13px; line-height: 1.5; color: var(--grey-3); }
.fine .link-btn { font-size: 13px; color: var(--ink); }
/* The bot trap: off screen, out of the tab order, ignored by screen readers. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { background: var(--soft); color: var(--accent-text); border-radius: 10px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.legal-box {
  background: var(--bg); border-radius: 12px; padding: 20px 22px;
  font-size: 15px; line-height: 1.6; color: var(--grey-1);
}
.legal-box p { white-space: pre-line; margin-top: 6px; }
.legal-box a { color: var(--accent-text); font-weight: 700; }
details.legal-box { padding: 0 22px; }
details.legal-box > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none;
}
details.legal-box > summary::-webkit-details-marker { display: none; }
details.legal-box > summary::after {
  content: 'Lesen'; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--accent-text);
}
details.legal-box[open] > summary::after { content: 'Schließen'; }
details.legal-box[open] { padding-bottom: 20px; }
details.legal-box h4 { margin: 20px 0 0; font-size: 15px; color: var(--ink); }
details.legal-box h4:first-of-type { margin-top: 4px; }

.sent-box {
  background: var(--bg); border-radius: 12px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.sent-box strong { font-size: 17px; }
.sent-text {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 14px; line-height: 1.5;
  color: var(--grey-1); width: 100%; resize: vertical;
}

/* ---------- footer ---------- */
.footer-row { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.footer-links > * { min-height: 24px; }
.footer-address { font-size: 14px; color: var(--grey-3); line-height: 1.6; }

/* ---------- dialogs ---------- */
.modal {
  border: 0; border-radius: 20px; padding: 20px 0; overflow: hidden; width: calc(100% - 32px); max-width: 720px;
  max-height: calc(100% - 64px); margin: 32px auto; color: var(--ink); background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.modal[open] { display: flex; flex-direction: column; }
.modal-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 28px 44px; display: flex; flex-direction: column; gap: 22px;
  scrollbar-width: thin; scrollbar-color: var(--grey-on-dark) transparent;
}
.modal-wide { max-width: 820px; }
.modal::backdrop { background: rgba(20, 20, 20, 0.6); }
.modal-head { display: flex; flex-direction: column; gap: 8px; padding-right: 48px; }
.modal-head h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -1px; }
.modal-head p { font-size: 16px; line-height: 1.65; color: var(--grey-1); }
.modal-body > .btn { align-self: flex-start; }
.modal-close {
  position: absolute; z-index: 1; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px;
  border: 0; background: var(--bg); cursor: pointer;
}
.modal-close::before, .modal-close::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 3px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.legal { display: flex; flex-direction: column; gap: 10px; }
.legal h3 { font-size: 20px; margin-top: 12px; }
.legal p { font-size: 16px; line-height: 1.7; color: var(--grey-1); }
body:has(.modal[open]) { overflow: hidden; }

/* checkout */
.signature-pad { width: 100%; height: 180px; background: var(--bg); border: 2px dashed var(--line); border-radius: 10px; touch-action: none; cursor: crosshair; }
.signature-clear { align-self: flex-start; font-size: 14px; }
.checkout-tariff { font-weight: 700; color: var(--grey-1); }
.checkout-tariff .link-btn { font-size: 15px; font-weight: 600; margin-left: 6px; }
.summary { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; background: var(--bg); border-radius: 12px; padding: 22px 24px; }
.summary dt { color: var(--grey-1); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary .summary-note { grid-column: 1 / -1; font-size: 14px; color: var(--grey-3); text-align: left; font-weight: 400; }
.summary .summary-total { border-top: 2px solid var(--line); padding-top: 10px; font-weight: 800; }

/* ---------- impressum page ---------- */
.page { padding-top: 64px; padding-bottom: 104px; max-width: 820px; display: flex; flex-direction: column; gap: 16px; }
.page h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -1px; line-height: 1.08; }
.page h2 { font-size: 22px; margin-top: 16px; }
.page p { color: var(--grey-1); line-height: 1.7; }
.page a { color: var(--accent-text); font-weight: 700; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: 120px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { border-radius: 16px; }
  .hero-text { padding: 44px 24px; }
  .hero-img { min-height: 320px; }
  .header-row { gap: 0 12px; padding-top: 10px; padding-bottom: 0; }
  /* One row of four, spread edge to edge so the first and last link line up
     with the logo and the button above, on a hairline of its own. */
  .main-nav {
    order: 3; width: 100%; margin-top: 10px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 0; font-size: 15px;
  }
  .main-nav a { padding: 12px 0; }
  .site-header .logo-word { font-size: 24px; }
  /* 9px capitals are unreadable on a phone; the footer still carries it. */
  .site-header .logo-tag { display: none; }
  .site-header .btn { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
  .section-tarife, .split, .studio, .termin { padding-top: 72px; padding-bottom: 72px; }
  .tariff { padding: 24px 22px; }
  .included .check-grid { flex-direction: column; align-items: flex-start; }
  .split-img { height: 400px; }
  .feature img, .feature-card img { height: 300px; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .info-card a { padding: 9px 0; }
  .footer-links > * { min-height: 44px; display: inline-flex; align-items: center; }
  .card-form { padding: 24px; border-radius: 16px; }
  .modal { padding: 16px 0; width: calc(100% - 16px); margin: 8px auto; max-height: calc(100% - 16px); border-radius: 16px; }
  .modal-body { padding: 24px 20px 8px; }
  .modal-close { top: 8px; right: 8px; }
}
