
:root{--violett:#E2575E; --violett2:#23636c; --pflaume:#173f45; --pflaume2:#0f2c31; --lila-hell:#F3F8F7;
  --text:#151327; --grau:#646077; --f:Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; font:17px/1.6 var(--f); color:var(--text); background:#fff}
a{color:inherit}
img{max-width:100%}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
h1,h2,h3{line-height:1.08; letter-spacing:-.02em; margin:0}
.wrap{max-width:1200px; margin:0 auto; padding-inline:clamp(18px,4vw,40px)}
.knopf{display:inline-flex; align-items:center; gap:10px; border-radius:999px; padding:15px 26px; font:700 16px var(--f);
  text-decoration:none; border:1.5px solid transparent; cursor:pointer}
.knopf--violett{background:linear-gradient(120deg,#2f8a96,var(--violett2)); color:#fff; box-shadow:0 10px 26px rgba(35,99,108,.3)}
.knopf--violett:hover{filter:brightness(1.07)}
.knopf--rand{border-color:rgba(255,255,255,.85); color:#fff}
.knopf--rand:hover{background:rgba(255,255,255,.08)}
.knopf svg{flex:none}

/* ---------------------------------------------------------------- Kopf
   Dunkle, leicht transparente Leiste direkt über dem Hero (Referenz):
   Logo links, Navigation mittig, Knopf rechts. */
.kopf{position:fixed; top:0; left:0; right:0; z-index:10; color:#173f45;
  background:rgba(255,255,255,.96); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(15,44,49,.08)}
.kopf .wrap{display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; padding-block:10px}
.marke{line-height:0; justify-self:start}
.marke img{width:170px; height:auto; display:block}
.kopf nav{display:flex; gap:clamp(18px,2.4vw,34px); justify-self:center; white-space:nowrap}
.kopf nav a{text-decoration:none; font-weight:600; font-size:16px}
.kopf nav a:hover,.kopf nav a.aktiv{color:#E2575E}
.kopf > .wrap > .knopf{justify-self:end; padding:11px 20px; font-size:15px; white-space:nowrap}
.menue{display:none; justify-self:end; background:#fff; color:#173f45; border:1px solid rgba(15,44,49,.3);
  border-radius:10px; padding:8px 12px; font-size:18px; cursor:pointer}

/* ---------------------------------------------------------------- Hero
   EIN Container: Tanzfoto als Hintergrund, dunkler Verlauf von links, Text
   darüber. Das vorhandene Foto ist nur 504x470 px (Entwurfsausschnitt) -
   darum füllt es die HÖHE und sitzt rechts (ca. 1,3-fach), statt mit
   cover die ganze Breite zu füllen (fast 3-fach, und das Paar stünde
   mittig unter dem Text). Sobald ein Motiv ab 1920 px vorliegt:
   --held-groesse:cover setzen und --held-bild austauschen. */
.held{--held-bild:url(bild/startbild.webp);
  position:relative; min-height:clamp(560px,44vw,640px); display:flex; align-items:center; color:#fff; overflow:hidden; isolation:isolate;
  background:
    radial-gradient(42% 70% at 28% 22%,rgba(255,217,108,.18),transparent 70%),
    radial-gradient(30% 55% at 10% 95%,rgba(226,87,94,.14),transparent 70%),
    linear-gradient(90deg,#123a40,#23636c 70%,#2b7783)}
/* Fotoebene: volle Höhe, rechts verankert, linker Rand weich ausgeblendet -
   dadurch keine Kante, egal wie breit der Schirm ist. Mit einem Motiv ab
   1920 px: inset:0; width:auto; aspect-ratio:auto; background-size:cover. */
.held::before{content:""; position:absolute; z-index:-1; top:0; bottom:0; right:0; height:100%; aspect-ratio:1800/968;
  background:var(--held-bild) center/cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 48%);
  mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 48%)}
/* Dunkler Verlauf von links über allem, für den Textkontrast */
.held::after{content:""; position:absolute; z-index:-1; inset:0;
  background:linear-gradient(90deg,rgba(15,44,49,.92) 0%,rgba(15,44,49,.7) 34%,rgba(15,44,49,.25) 55%,rgba(15,44,49,0) 70%)}
.held .wrap{width:100%; padding-block:118px 64px}
.held__text{max-width:550px}
.etikett{display:inline-flex; align-items:center; gap:9px; border:1.5px solid rgba(255,217,108,.9); border-radius:999px;
  padding:8px 16px; font-weight:600; font-size:15px; background:rgba(15,44,49,.45)}
.etikett span{color:#ffd96c}
.held h1{font-size:clamp(40px,5vw,66px); font-weight:850; margin:22px 0 18px}
.held h1 em{font-style:normal; color:#ffd96c}
.held p{font-size:clamp(17px,1.35vw,19px); color:#eef6f5; margin:0; text-shadow:0 1px 12px rgba(0,0,0,.35)}
.held .tun{display:flex; gap:14px; flex-wrap:wrap; margin-top:30px}

/* ----------------------------------------------------------- Abschnitte */
.band{padding-block:clamp(56px,7vw,88px)}
.band--hell{background:var(--lila-hell)}
.kopfzeile{max-width:760px; margin-bottom:34px}
.kopfzeile h2{font-size:clamp(32px,3.6vw,46px); font-weight:850; margin-bottom:10px}
.kopfzeile p{color:var(--grau); font-size:18px; margin:0}
/* Pinselstrich unter "Unsere Kurse" wie im Entwurf (Aufgabe #8) */
.mit-schwung{position:relative; display:inline-block}
.mit-schwung svg{position:absolute; left:20%; bottom:-14px; width:62%; height:auto}

/* Kurse (Aufgabe #8): neun Karten, 3 x 3, alle Fotos ab 1670 px nativ. */
.kurse{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px}
.kurs{background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 10px 30px rgba(15,44,49,.09); border:1px solid #e3eeec}
.kurs img{display:block; width:100%; height:auto; aspect-ratio:410/218; object-fit:cover}
.kurs div{padding:16px 20px 18px}
.kurs h3{display:flex; align-items:center; gap:12px; font-size:18px; font-weight:800}
.kurs h3 svg{color:var(--violett2); flex:none}
.kurs p{color:var(--grau); margin:8px 0 0; font-size:15.5px}

.stufen{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; list-style:none; padding:0; margin:0}
.stufen li{background:#fff; border:1px solid #dcebe8; border-radius:16px; padding:22px}
.stufen b{display:block; font-size:18px; margin-bottom:6px}
.stufen span{color:var(--grau); font-size:15.5px}
.hinweis{color:var(--grau); font-size:15px; margin:22px 0 0}

.werte{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px}
.wert{display:flex; gap:14px; align-items:flex-start}
.wert i{flex:none; display:grid; place-items:center; width:46px; height:46px; border-radius:14px;
  background:linear-gradient(135deg,#dff0ee,#c4e2de); color:var(--violett2); font-style:normal}
.wert b{display:block; font-size:18px}
.wert span{color:var(--grau); font-size:15.5px}

/* Unsere Tanzschule (Aufgabe #7): Saal als Panorama, Lounge neben Text, Ablauf der Probestunde */
.raum{margin:0}
.raum img{display:block; width:100%; height:auto; aspect-ratio:1672/458; object-fit:cover; border-radius:20px;
  box-shadow:0 14px 34px rgba(15,44,49,.14)}
.raum figcaption,.lounge figcaption{color:var(--grau); font-size:14.5px; margin-top:10px}
.haus{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(28px,5vw,64px); align-items:center; margin-top:clamp(40px,5vw,64px)}
.haus h3{font-size:clamp(24px,2.4vw,30px); font-weight:850; margin-bottom:14px}
.haus p{color:var(--grau); margin:0 0 14px}
.haken{list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px}
.haken li{display:flex; gap:12px; align-items:flex-start; font-weight:600}
.haken li::before{content:""; flex:none; width:22px; height:22px; margin-top:2px; border-radius:50%;
  background:var(--violett2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat}
.lounge{margin:0}
.lounge img{display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:42% 50%; border-radius:20px;
  box-shadow:0 14px 34px rgba(15,44,49,.14)}
.ablauf{margin-top:clamp(48px,6vw,72px)}
.ablauf h3{font-size:clamp(24px,2.4vw,30px); font-weight:850; margin-bottom:22px}
.schritte{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; list-style:none; padding:0; margin:0; counter-reset:schritt}
.schritte li{background:#fff; border:1px solid #dcebe8; border-radius:16px; padding:22px 22px 24px; counter-increment:schritt}
.schritte li::before{content:counter(schritt); display:grid; place-items:center; width:40px; height:40px; border-radius:12px; margin-bottom:14px;
  background:linear-gradient(120deg,#2f8a96,var(--violett2)); color:#fff; font-weight:800; font-size:18px}
.schritte b{display:block; font-size:18px; margin-bottom:6px}
.schritte span{color:var(--grau); font-size:15.5px}
.ablauf .knopf{margin-top:26px}

/* Kontakt */
.kontakt{background:var(--pflaume); color:#fff}
.kontakt .wrap{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,64px); align-items:start}
.kontakt h2{font-size:clamp(32px,3.6vw,46px); font-weight:850; margin-bottom:12px}
.kontakt h2 em{font-style:normal; color:#ffd96c}
.kontakt p{color:#d4e6e6}
.formular{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:24px; display:grid; gap:14px}
.formular label{display:grid; gap:6px; font-size:14.5px; font-weight:600; color:#e6f1f1}
.formular input,.formular select,.formular textarea{font:inherit; font-size:16px; padding:12px 14px; border-radius:10px;
  border:1px solid rgba(255,255,255,.22); background:rgba(0,0,0,.2); color:#fff; width:100%}
.formular select option{color:#151327}
.formular textarea{min-height:90px; resize:vertical}
.formular .knopf{justify-content:center}
.formular small{color:#b5cfd0; font-size:13px}
.formular__ok{color:#ffd96c; font-weight:700; margin:0}

footer{background:var(--pflaume2); color:#b5cfd0; font-size:14px; padding-block:24px}
footer .wrap{display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:space-between}

@media (max-width:1000px){
  .stufen{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Unter 700 px zwei Spalten; die neunte Karte nimmt dann die ganze Breite */
@media (max-width:860px){ .kurs h3{font-size:16px; gap:10px} .kurs div{padding:14px 16px 16px} }
@media (max-width:700px){ .kurse{grid-template-columns:repeat(2,minmax(0,1fr))} .kurs:last-child:nth-child(odd){grid-column:1 / -1} }
/* Fünf Menüpunkte passen erst ab 960 px nebeneinander */
@media (max-width:960px){
  .menue{display:block}
  .kopf .wrap{grid-template-columns:1fr auto}
  .kopf nav{display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; gap:0;
    background:#fff; padding:6px clamp(18px,4vw,40px) 16px; margin:0; justify-self:stretch}
  .kopf nav.offen{display:flex}
  .kopf nav a{padding:12px 0; border-bottom:1px solid rgba(15,44,49,.1)}
  .kopf > .wrap > .knopf{display:none}
}
@media (max-width:860px){
  /* Tablet/Telefon: Foto füllt die Fläche oben, Text unten auf dunklem Verlauf */
  .held{min-height:760px; align-items:flex-end}
  .held::before{left:0; width:100%; aspect-ratio:auto; bottom:36%; background-position:47% 12%;
    -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%); mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}
  .held::after{background:linear-gradient(0deg,#0f2c31 10%,rgba(15,44,49,.85) 38%,rgba(15,44,49,.15) 70%,rgba(15,44,49,0) 100%)}
  .held .wrap{padding-block:340px 48px}
  .held h1{white-space:normal}
  .werte,.kontakt .wrap{grid-template-columns:1fr}
  .haus,.schritte{grid-template-columns:1fr}
  .raum img{aspect-ratio:16/7}
}
@media (max-width:600px){
  .stufen{grid-template-columns:minmax(0,300px)}
  .kurse{gap:14px}
  .kurs div{padding:12px 14px 14px}
  .kurs h3{font-size:15.5px; gap:8px}
  .kurs h3 svg{width:20px; height:20px}
  .held .tun .knopf{width:100%; justify-content:center}
  .held{min-height:720px}
  .held .wrap{padding-block:300px 40px}
  .marke img{width:140px}
}

.bildkarte{margin:0}
.bildkarte img{display:block; width:100%; height:auto; border-radius:20px; box-shadow:0 14px 34px rgba(15,44,49,.16)}
.leist{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,64px); align-items:center}
.leist ul{margin:0 0 22px; padding:0; list-style:none; display:grid; gap:10px; font-weight:600}
.leist ul li{display:flex; gap:12px; align-items:flex-start}
.leist ul li::before{content:""; flex:none; width:14px; height:14px; margin-top:7px; border-radius:4px; background:#299271}
.leist ul li:nth-child(2n)::before{background:#ffd96c}.leist ul li:nth-child(3n)::before{background:#E2575E}.leist ul li:nth-child(4n)::before{background:#23636c}
.leist.umgekehrt .bildkarte{order:-1}
.stufen--vier{grid-template-columns:repeat(2,minmax(0,1fr))}
.seitenkopf{background:linear-gradient(90deg,#123a40,#23636c 70%,#2b7783); color:#fff; padding:130px 0 54px}
.seitenkopf h1{font-size:clamp(36px,4.6vw,58px); font-weight:850}
.seitenkopf p{color:#eef6f5; margin:12px 0 0; max-width:760px; font-size:18px}
.leistung{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(24px,4vw,56px); align-items:center; padding-block:clamp(28px,4vw,44px); border-bottom:1px solid #dcebe8}
.leistung:last-of-type{border-bottom:0}
.leistung:nth-of-type(even) .bildkarte{order:2}
.leistung h2{font-size:clamp(26px,2.8vw,34px); font-weight:850; margin-bottom:12px}
.leistung p{color:var(--grau); margin:0}
.leistung .bildkarte img{aspect-ratio:16/10; object-fit:cover}
.text{max-width:820px}
.text h2{font-size:clamp(24px,2.6vw,32px); font-weight:850; margin:34px 0 10px}
.text h3{font-size:20px; font-weight:800; margin:26px 0 8px}
.text h5{font-size:17px; font-weight:800; margin:24px 0 6px}
.text p,.text li{color:#3b3a4c}
.text a{color:var(--violett2)}
.text .tel,.text .mail{font-weight:800; font-size:20px; margin:6px 0}
.kontaktbox{display:grid; gap:10px; margin-top:22px}
.kontaktbox a{font-weight:800; font-size:clamp(20px,2.2vw,26px); text-decoration:none}
.kontaktbox a:hover{color:#ffd96c}
.footlinks{display:flex; gap:20px; flex-wrap:wrap}
.footlinks a{text-decoration:none}.footlinks a:hover{text-decoration:underline}
@media (max-width:860px){.leist,.leistung{grid-template-columns:1fr}.leist.umgekehrt .bildkarte,.leistung:nth-of-type(even) .bildkarte{order:0}.stufen--vier{grid-template-columns:1fr}.seitenkopf{padding-top:110px}}
.nur-mobil{display:none}
@media (max-width:960px){.nur-mobil{display:block}}
.kopf nav a{color:#173f45}
@media (max-width:960px){.kopf nav a{color:#173f45}}
.kontakt .bildkarte img{box-shadow:none}
.kopf{box-shadow:0 2px 14px rgba(15,44,49,.12)}html{scroll-padding-top:80px}
