/* FUN EVENT | Zentrale Gestaltung
   Farben laut Corporate Design. Das dunklere Aktionsrot sorgt für lesbaren weißen Text.
   Die Webschrift liegt lokal bei. Lizenz siehe assets/Raleway-OFL.txt. */
@font-face {
  font-family: Raleway;
  src: url("assets/raleway.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --blue: #013f8f;
  --red: #ff0018;
  --action: #ce0016;
  --ink: #0c2548;
  --navy: #061d43;
  --muted: #465b72;
  --paper: #f0f4fa;
  --rule: #d3dce7;
  --wrap: 1216px;
  --gutter: clamp(1.15rem, 5.8vw, 6rem);
  font-family: Raleway, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
  font-variant-numeric: lining-nums;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: #fff; }
p, figure, h1, h2, h3, h4 { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue); text-underline-offset: .24em; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0070cb; outline-offset: 4px; }
.hero :focus-visible, .advisor-intro :focus-visible { outline-color: white; }
.wrap { width: min(calc(100% - var(--gutter) * 2),var(--wrap)); margin-inline: auto; }
.outer { margin-inline: auto; width: min(100%, 1660px); }
.section { padding-block: clamp(3.75rem, 6.2vw, 6.3rem); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; overflow: hidden; }
.skip:focus { position: fixed; z-index: 25; top: .4rem; left: 1rem; padding: .7rem 1rem; background: white; }
h1,h2,h3,h4 { font-weight: 900; }
h2 { font-size: clamp(2.35rem, 3.6vw, 3.65rem); line-height: 1.05; letter-spacing: -.052em; text-wrap: balance; }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -.03em; }
.eyebrow, .hero-label, .feature-type, .person-role {
  font-size: .78rem; font-weight: 850; letter-spacing: .115em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow { color: var(--blue); display: flex; align-items: center; gap: .7rem; margin-bottom: .95rem; }
.eyebrow::before { content: ""; width: 1.9rem; height: 3px; background: var(--red); }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8%; align-items: end; margin-bottom: 2.45rem; }
.section-intro>p { color: var(--muted); max-width: 35rem; }
.button, .nav-contact, .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; line-height: 1.22; font-weight: 800; }
.button { min-height: 3.15rem; border: 1px solid transparent; border-radius: .5rem; padding: .83rem 1.28rem; text-align: center; text-decoration: none; transition: background .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--action); color: white; }
.button.primary:hover { background: #ac0014; }
.button.blue, .nav-contact { background: var(--blue); color: white; }
.button.blue:hover, .nav-contact:hover { background: #062f68; }
.text-link, .text-button, .hero-link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .32em; }
.text-button { background: transparent; border: 0; padding: .55rem 0; color: var(--blue); }
.text-link:hover, .text-button:hover { color: var(--action); }
.muted { color: var(--muted); }

/* Navigation */
.header { position: sticky; top: 0; z-index: 15; background: #fff; box-shadow: 0 1px 0 #122a4517; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-castle { width: 1.65rem; height: 2.18rem; object-fit: contain; }
.brand-word { width: clamp(8.1rem, 11.5vw, 10.4rem); height: auto; }
#main-nav, #main-nav a { display: flex; align-items: center; }
#main-nav { gap: clamp(.95rem, 2.1vw, 2.2rem); }
#main-nav a { min-height: 44px; font-size: .9rem; font-weight: 750; color: var(--ink); text-decoration: none; }
#main-nav a:hover { color: var(--blue); text-decoration: underline; }
#main-nav .nav-contact { color: #fff; padding: .6rem 1.15rem; border-radius: .45rem; }
.nav-contact .icon { width: 1.05rem; }
.menu-toggle { display: none; }

/* BEREICH 1 | Geteilter Hero mit manueller Fotogalerie */
.hero {
  isolation: isolate; position: relative; overflow: hidden;
  color: #fff; background: radial-gradient(ellipse at 39% -25%, #1758ae 0, transparent 56%), linear-gradient(119deg, #073773, #082d63 58%, #051c3c);
  display: grid; grid-template-columns: 52% 48%; min-height: clamp(32rem, 39vw, 40rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .26; pointer-events: none;
  background-image: radial-gradient(#85a9e3 1px, transparent 1.35px); background-size: 9px 9px;
  mask-image: linear-gradient(30deg, #000, transparent 30%);
}
.hero-copy { padding: clamp(2.7rem, 3.8vw, 4.55rem) 1.75rem clamp(2.7rem, 3.8vw, 4.55rem) max(var(--gutter), calc((100% - var(--wrap)) / 2)); align-self: center; position: relative; z-index: 2; }
/* Prozentwerte im Grid beziehen sich auf die Spalte. Den linken Rand deshalb auf die Seitenbreite ausrichten. */
@media(min-width: 1376px){.hero-copy { padding-left: min(calc((100vw - var(--wrap)) / 2), 222px); }}
.hero-label { display: flex; align-items: center; gap: .65rem; color: #e8effb; font-size: .73rem; letter-spacing: .12em; }
.slashes { display: inline-flex; align-items: center; gap: 3px; padding-inline: 3px; }
.slashes i { display: block; width: 5px; height: 12px; transform: skew(-24deg); background: var(--red); }
.hero h1 { margin: 1.1rem 0 1.15rem; font-size: clamp(3.8rem, 5.6vw, 5.8rem); line-height: .94; letter-spacing: -.055em; }
.hero h1 em { font-style: italic; }
.hero h1 span { color: var(--red); }
.hero-intro { max-width: 30.5rem; color: #f0f5ff; font-size: clamp(1rem, 1.13vw, 1.15rem); line-height: 1.58; }
.hero-actions, .result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-actions { margin-top: 1.75rem; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: .95rem; text-decoration-color: #91abcb; }
.hero-link:hover { text-decoration-color: white; }
.feature { position: relative; margin-left: -2.7rem; clip-path: polygon(12% 0,100% 0,100% 100%,0 100%); background: #07152d; }
.feature::before { content: ""; position: absolute; z-index: 2; top: -2%; bottom: -2%; left: -.1%; width: 12.5%; background: var(--red); clip-path: polygon(97% 0,100% 0,3% 100%,0 100%); }
.feature-slide, .feature-slide::after { position: absolute; inset: 0; }
.feature-slide::after { content: ""; background: linear-gradient(0deg, #031127ec, #06162e55 23%, transparent 47%); }
.feature-photo { width: 100%; height: 100%; object-fit: cover; }
.hammer-photo { object-position: 50% 14%; }
.boxer-photo { object-position: 50% 27%; }
.feature-slide figcaption { position: absolute; z-index: 1; bottom: 2.2rem; left: 11.5%; border-left: 3px solid var(--red); padding-left: 1rem; }
.feature-type { display: block; font-size: .7rem; letter-spacing: .16em; color: #dbe9fb; }
.feature-slide figcaption strong { display: block; font-size: clamp(1.35rem, 2.05vw, 2rem); letter-spacing: -.04em; line-height: 1.18; font-weight: 850; }
.feature-controls { display: flex; align-items: center; gap: .4rem; position: absolute; z-index: 3; right: clamp(1.4rem, 3.9vw, 4rem); bottom: 2.1rem; }
#slide-counter { font-size: .75rem; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .08em; margin-right: .4rem; font-weight: 750; }
.circle { height: 44px; width: 44px; background: #0a1b32b3; border: 1px solid #dce5f59e; border-radius: 50%; color: #fff; display: grid; place-items: center; }
.circle:hover { background: var(--blue); }
.circle .icon { width: 1.05rem; }

/* BEREICH 2 | Vorteile */
.benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.benefit { padding: clamp(1.35rem,2.3vw,2.15rem); border: 1px solid #dce4ee; border-radius: .95rem; background: #f7f9fc; }
.icon-box { background: #e2eaf7; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: .8rem; color: var(--blue); }
.icon-box .icon { width: 1.65rem; height: 1.65rem; }
.benefit h3 { margin: 1.2rem 0 .6rem; }
.benefit p, .about-copy>p:not(.eyebrow), .contact-info>p:not(.eyebrow) { color: var(--muted); }

/* BEREICH 3 | Unternehmensvorstellung */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem,6.3vw,7rem); align-items: center; }
.about-image { position: relative; padding: 0 .55rem .55rem 0; }
.about-image::before { content: ""; position: absolute; inset: 12% 0 0 10%; background: var(--blue); border-radius: .9rem; }
.about-image img { width: 100%; height: auto; aspect-ratio: 1.35; object-fit: cover; position: relative; border-radius: .8rem; }
.about-copy>p:not(.eyebrow) { margin-top: 1rem; }
.about-copy .text-link { display: inline-block; padding-block: .7rem; margin-top: .65rem; }

/* BEREICH 4 | Quiz, Auswahl und Empfehlungen */
.advisor { color: #fff; background-color: var(--navy); background-image: radial-gradient(ellipse at 99% 25%, #114980 0, transparent 48%); }
.eyebrow.light { color: #d9e8ff; }
.advisor-intro { margin-bottom: 2rem; }
.advisor-intro > p:last-child { color: #d4e1f0; max-width: 45rem; margin-top: .85rem; }
.quiz { background: white; color: var(--ink); border-radius: 1rem; padding: clamp(1.3rem,3.5vw,3.3rem); }
.progress-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; font-weight: 800; color: var(--blue); }
.progress-track { display: flex; gap: .4rem; margin: .6rem 0 1.8rem; }
.progress-track span { height: .29rem; background: #dde5ef; flex: 1; border-radius: 1rem; }
.progress-track .done { background: var(--blue); }
fieldset, legend { border: 0; padding: 0; margin: 0; min-width: 0; }
#question, .result-title { font-weight: 900; font-size: clamp(1.6rem,2.3vw,2.15rem); line-height: 1.15; letter-spacing: -.035em; }
#question-hint { margin-top: .6rem; }
.options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin: 1.5rem 0 .25rem; }
.option { position: relative; min-width: 0; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option label { display: flex; min-height: 3.7rem; height: 100%; align-items: center; gap: .65rem; padding: .76rem .95rem; border: 1.5px solid #aab8c9; border-radius: .5rem; font-weight: 700; line-height: 1.35; cursor: pointer; }
.option label::before { content: ""; width: 1.12rem; height: 1.12rem; border: 1.5px solid #718399; border-radius: 50%; flex: none; }
.option input:hover+label { background: #f3f6fa; }
.option input:checked+label { border-color: var(--blue); background: #edf4ff; color: var(--blue); }
.option input:checked+label::before { border: .32rem solid var(--blue); background: white; }
.option input:focus-visible+label { outline: 3px solid #0070cb; outline-offset: 3px; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; border-top: 1px solid var(--rule); padding-top: 1.1rem; }
#quiz-next { margin-left: auto; min-width: 7rem; }
.summary-line { font-weight: 730; color: var(--blue); margin: .75rem 0 .4rem; }
#match-note { color: var(--muted); }
#result-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.55rem 0; }
.product { padding: 1.3rem; border: 1px solid var(--rule); border-radius: .7rem; background: #fff; }
.product figure { height: 10.5rem; padding: .6rem; margin-bottom: 1.1rem; background: #f4f7fb; border-radius: .4rem; }
.product figure img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product h4 { font-size: 1.37rem; letter-spacing: -.025em; }
.product p { margin-top: .38rem; }
.product .reason { margin-top: .8rem; color: var(--muted); }
details { margin-top: 1rem; border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 780; color: var(--blue); padding: .7rem 0; }
.product dl { margin: 0; font-size: .95rem; }
.product dt { font-weight: 750; }
.product dd { margin: 0 0 .55rem; color: var(--muted); }
.product .catalog-link { display: inline-block; padding-block: .5rem; }

/* BEREICH 5 | Team */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.person { display: grid; grid-template-columns: 36% 1fr; overflow: hidden; border: 1px solid var(--rule); border-radius: .8rem; transition: box-shadow .2s; }
.person:hover, .person:focus-within { box-shadow: 0 .5rem 1.5rem #0a2b5210; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.person>div { align-self: center; padding: clamp(1.15rem,2.1vw,2rem); }
.person-role { color: var(--blue); font-size: .74rem; }
.person h3 { margin: .35rem 0 .7rem; }
.person a { display: block; width: fit-content; margin-top: .2rem; font-size: .96rem; }
.person a[href^="tel"] { text-decoration: none; color: var(--ink); font-variant-numeric: lining-nums; }
.person a:hover { text-decoration: underline; }

/* BEREICH 6 | Kontakt, WhatsApp und Formularversand */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem,6vw,6.5rem); align-items: start; }
.contact-info>p:not(.eyebrow) { margin: 1rem 0 1.8rem; max-width: 30rem; }
address { font-style: normal; display: grid; gap: .8rem; }
address>a, address>span { display: flex; gap: .75rem; align-items: start; }
address .icon { margin-top: .2rem; color: var(--blue); }
address a { font-weight: 750; }
.form-card { background: white; border: 1px solid #d8e1ec; padding: clamp(1.2rem,2.9vw,2.55rem); border-radius: 1rem; min-width: 0; }
.form-card h3 { font-size: 1.7rem; }
.form-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.2rem; }
.field { min-width: 0; }
.field.wide { grid-column: 1/-1; }
.field label { display: block; font-weight: 750; margin-bottom: .28rem; font-size: .94rem; }
.field label small, #message-marker.optional { font-size: .84rem; font-weight: 500; color: var(--muted); }
.field input, textarea { display: block; width: 100%; padding: .67rem .75rem; border: 1px solid #8999ae; background: #fff; border-radius: .38rem; line-height: 1.4; }
textarea { resize: vertical; min-height: 5rem; }
::placeholder { color: #596979; font-size: .94rem; }
[aria-invalid="true"] { border-color: #b50019 !important; }
.field-error { color: #a3001a; font-size: .9rem; font-weight: 700; }
.field-error:not(:empty) { display: block; margin-top: .4rem; }
.form-hint { margin: 1.1rem 0; font-size: .91rem; color: var(--muted); }
.transfer { padding: 1rem 1.1rem; background: #eef4fd; border-left: 3px solid var(--blue); margin-top: 1.2rem; }
.transfer p { margin: .38rem 0; overflow-wrap: anywhere; }
.transfer .text-button { font-size: .9rem; }
.person .wa-person { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 750; }
.wa-person .icon { width: 1rem; height: 1rem; }
.wa-contact { width: fit-content; align-items: center; line-height: 1.35; text-decoration: none; }
.wa-contact:hover span { text-decoration: underline; }
.wa-contact small { display: block; color: var(--muted); font-size: .9rem; font-weight: 600; }
.wa-contact .icon { width: 1.35rem; height: 1.35rem; }
.honeypot { position: absolute; clip-path: inset(100%); width: 1px; height: 1px; overflow: hidden; }
.button:disabled { cursor: default; opacity: .65; transform: none; }
.preview-note, .send-status:not(:empty) { margin: .8rem 0; padding: .7rem .95rem; border-left: 3px solid var(--blue); background: #eef4fd; font-size: .95rem; }
.send-status[data-state="error"] { border-color: var(--action); color: #861025; background: #fff2f3; }
.footer { padding: 1.5rem 0; }
.footer>.wrap { display: flex; align-items: center; gap: 1.5rem; color: var(--muted); font-size: .88rem; }
.footer-brand img { width: 7.2rem; }
.footer nav { display: flex; gap: 1rem; margin-left: auto; }
.footer nav a { color: var(--muted); }

/* Anpassungen der oben bezeichneten Bereiche für Tablet und Smartphone */
@media (max-width: 990px) {
  .header-inner { gap: .8rem; }
  #main-nav { gap: .9rem; }
  .hero-copy { padding-right: 1rem; }
  .hero h1 { font-size: clamp(3.7rem,7vw,4.7rem); }
  .hero-actions { gap: .5rem 1rem; }
  .hero-label { font-size: .7rem; }
  .hero-actions .button { padding-inline: 1rem; }
  .feature-controls { right: 1.15rem; }
  .section-intro { gap: 5%; }
  .person { grid-template-columns: 31% 1fr; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 4rem; }
  .menu-toggle { display: inline-flex; min-height: 44px; padding: .45rem .7rem; background: white; border: 1px solid var(--rule); border-radius: .45rem; color: var(--blue); }
  #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .8rem var(--gutter) 1rem; background: white; box-shadow: 0 .75rem 1rem #10253a19; gap: .2rem .75rem; grid-template-columns: 1fr 1fr; }
  #main-nav.open { display: grid; }
  #main-nav a { padding: .5rem; }
  #main-nav .nav-contact { justify-content: flex-start; }
  .section-intro { grid-template-columns: 1fr .85fr; }
  .benefit-grid { gap: .7rem; }
  .benefit { padding: 1.1rem; }
  .benefit h3 { font-size: 1.2rem; }
  .about-grid { gap: 2rem; }
  .person { grid-template-columns: 1fr; }
  .person img { height: auto; aspect-ratio: 1.7; object-position: 50% 30%; }
  .contact-grid { grid-template-columns: .78fr 1.22fr; gap: 1.6rem; }
  .options { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 4.8rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.3rem var(--gutter) 1.8rem; }
  .hero h1 { font-size: clamp(3.35rem,12.6vw,4.7rem); margin: .9rem 0; }
  .hero h1 br:first-of-type { display: none; }
  .hero h1 em::before { content: " "; }
  .hero-intro { max-width: 31rem; }
  .hero-actions { margin-top: 1.1rem; }
  .feature { margin: 0; height: clamp(19rem,66vw,24rem); clip-path: none; }
  .feature::before { display: none; }
  .hammer-photo { object-position: 50% 15%; }
  .boxer-photo { object-position: 50% 27%; }
  .feature-slide figcaption { left: var(--gutter); bottom: 1.15rem; }
  .feature-controls { right: var(--gutter); bottom: 1.1rem; }
  .section-intro, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .section-intro { margin-bottom: 1.5rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: 2.8rem 1fr; gap: .28rem 1rem; padding: 1.2rem; }
  .icon-box { grid-row: span 2; width: 2.8rem; height: 2.8rem; }
  .benefit h3 { margin: 0; align-self: end; }
  .benefit p { grid-column: 2; }
  .about-image { max-width: 37rem; }
  .about-image img { aspect-ratio: 1.7; object-position: 50% 34%; }
  .about-copy { padding-top: .75rem; }
  .quiz { border-radius: .7rem; }
  .contact-grid { gap: 2.1rem; }
  .team-grid { gap: .7rem; }
  .person>div { padding: .95rem; }
  .person h3 { font-size: 1.15rem; }
  .footer>.wrap { flex-wrap: wrap; gap: .8rem 1.2rem; }
  .footer nav { margin-left: 0; }
}
@media (max-width: 500px) {
  .hero h1 { letter-spacing: -.06em; }
  .hero-copy { padding-block: 2.05rem 1.65rem; }
  .hero-actions { align-items: flex-start; }
  .hero-actions .button { min-height: 3rem; }
  .options { grid-template-columns: 1fr; }
  .option label { min-height: 2.9rem; }
  .progress-track { margin-bottom: 1.3rem; }
  #result-cards,.form-fields { grid-template-columns: 1fr; }
  .product figure { height: 9rem; }
  .team-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 35% 1fr; }
  .person img { height: 100%; min-height: 10rem; aspect-ratio: auto; }
  .person h3 { font-size: 1.25rem; }
  .hero-actions { gap: .4rem 1rem; }
  .result-actions { gap: .55rem 1rem; }
}
@media (max-width: 360px) {
  .quiz,.form-card { padding: 1rem; }
  .hero-label { letter-spacing: .07em; }
  .feature-controls { gap: .25rem; }
  #slide-counter { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}
