
:root{
  --red:#e10613;
  --red-dark:#b90410;
  --dark:#101317;
  --text:#1c222b;
  --muted:#697280;
  --line:#e6e9ef;
  --bg:#f7f8fb;
  --card:#ffffff;
  --radius:22px;
  --shadow:0 16px 42px rgba(16,22,30,.08);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

.container{
  width:min(1240px,92%);
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.brand img{
  height:70px;
  width:auto;
  object-fit:contain;
}
.brand-text strong{
  display:block;
  color:var(--dark);
  font-size:1.35rem;
  letter-spacing:-.02em;
}
.brand-text span{
  display:block;
  color:var(--muted);
  font-size:.94rem;
}
.nav{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  color:var(--text);
  font-weight:800;
  padding:8px 0;
  border-bottom:3px solid transparent;
}
.nav a:hover,.nav a.active{
  color:var(--red);
  border-bottom-color:var(--red);
}

/* Hero */
.hero{
  min-height:calc(100vh - 92px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 30%, rgba(255,255,255,.52) 54%, rgba(255,255,255,.12) 100%),
    url("hero-car.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
}
.hero-inner{
  width:100%;
  padding:36px 0 44px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:32px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(2.6rem,5vw,5rem);
  line-height:1.02;
  letter-spacing:-.055em;
  color:var(--dark);
  margin-bottom:18px;
}
.hero-copy h1 .red{color:var(--red)}
.hero-copy p{
  max-width:630px;
  color:#33404e;
  font-size:1.08rem;
  margin-bottom:24px;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:26px;
}
.btn{
  min-height:52px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-weight:900;
  border:2px solid var(--red);
}
.btn.primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 12px 24px rgba(225,6,19,.18);
}
.btn.secondary{
  background:#fff;
  color:var(--dark);
}

.hero-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.info-card{
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:var(--shadow);
}
.info-card small{
  display:block;
  color:var(--muted);
  font-size:.82rem;
  font-weight:800;
  margin-bottom:6px;
}
.info-card strong{
  display:block;
  color:var(--dark);
  font-size:1rem;
}

.hero-panel{
  background:rgba(255,255,255,.96);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-panel-head{
  background:linear-gradient(135deg,var(--red),#ff3a46);
  color:#fff;
  padding:14px 20px;
  font-weight:900;
}
.hero-panel-body{
  padding:20px;
}
.hero-panel-grid{
  display:grid;
  gap:14px;
}
.panel-box{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background:#fff;
}
.panel-box h3{
  color:var(--dark);
  font-size:1.04rem;
  margin-bottom:8px;
}
.panel-box p,.panel-box li{
  color:var(--muted);
}
.panel-box ul{
  margin-left:18px;
}

/* General sections */
.section{
  padding:76px 0;
}
.section.alt{
  background:var(--bg);
}
.section-title{
  text-align:center;
  margin-bottom:34px;
}
.eyebrow{
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.82rem;
  font-weight:900;
  margin-bottom:8px;
}
.section-title h2{
  color:var(--dark);
  font-size:clamp(2rem,3.5vw,3rem);
  line-height:1.12;
  letter-spacing:-.035em;
}
.section-title p{
  max-width:760px;
  margin:12px auto 0;
  color:var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px;
}
.card h3{
  color:var(--dark);
  margin-bottom:10px;
  font-size:1.22rem;
}
.card p,.card li{color:var(--muted)}
.card ul,.card ol{margin-left:18px}
.card li{margin-bottom:6px}

.class-card .badge{
  width:58px;
  height:58px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(225,6,19,.08);
  color:var(--red);
  font-weight:900;
  font-size:1.32rem;
  margin-bottom:14px;
}

.page-hero{
  background:linear-gradient(180deg,#fff 0%,#fafbfd 100%);
  border-bottom:1px solid var(--line);
  padding:50px 0 26px;
}
.page-hero h1{
  text-align:center;
  color:var(--dark);
  font-size:clamp(2.1rem,4vw,3.4rem);
  letter-spacing:-.04em;
}
.page-hero p{
  text-align:center;
  color:var(--muted);
  max-width:760px;
  margin:10px auto 0;
}

.content-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:30px;
  margin-bottom:20px;
}
.content-card h2{
  color:var(--dark);
  margin-bottom:12px;
}
.content-card h3{
  color:var(--dark);
  margin:20px 0 10px;
}
.content-card p,.content-card li{
  color:var(--muted);
}
.content-card ul,.content-card ol{
  margin-left:20px;
}

.notice{
  padding:16px 18px;
  border-radius:14px;
  background:#fff4f4;
  border:1px solid #f0cbcf;
  color:var(--dark);
  font-weight:800;
  margin:18px 0 20px;
}

.table-wrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:var(--shadow);
  margin:18px 0;
}
table{
  width:100%;
  border-collapse:collapse;
}
th,td{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
th{
  background:var(--dark);
  color:#fff;
}
td{
  color:var(--muted);
}
tr:last-child td{
  border-bottom:none;
}

/* Footer */
.footer{
  margin-top:42px;
  background:#0f1216;
  color:#fff;
  padding:34px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr auto;
  gap:24px;
  align-items:start;
}
.footer small{
  display:block;
  color:rgba(255,255,255,.72);
}
.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer-links a{
  color:rgba(255,255,255,.86);
}

/* Responsive */
@media (max-width: 1120px){
  .header-inner{
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:14px 0;
  }
  .nav{
    justify-content:flex-start;
  }
  .hero{
    min-height:auto;
  }
  .hero-inner{
    grid-template-columns:1fr;
    padding:34px 0 40px;
  }
}
@media (max-width: 920px){
  .grid-3,
  .hero-cards,
  .footer-grid{
    grid-template-columns:1fr;
  }
}
@media (max-width: 640px){
  .brand img{
    height:58px;
  }
  .hero{
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 100%),
      url("hero-car.png");
    background-size:cover;
    background-position:center center;
  }
  .card,.content-card{
    padding:22px;
  }
}

/* Startseite neu strukturiert */
.home-hero-new{
  min-height:calc(100vh - 92px);
  display:flex;
  align-items:center;
  padding:38px 0 46px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.90) 32%,rgba(255,255,255,.62) 55%,rgba(255,255,255,.22) 100%),
    url("hero-car.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.home-hero-layout{display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(320px,.95fr);gap:36px;align-items:center}
.home-kicker{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 14px;color:var(--red);font-weight:900;box-shadow:var(--shadow);margin-bottom:18px}
.home-kicker:before{content:"";width:9px;height:9px;border-radius:50%;background:var(--red)}
.home-hero-title{font-size:clamp(2.75rem,5vw,5.1rem);line-height:1.02;letter-spacing:-.055em;color:var(--dark);margin-bottom:18px}
.home-hero-title span{color:var(--red)}
.home-hero-text{max-width:650px;color:#33404e;font-size:1.08rem;margin-bottom:26px}
.home-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:28px}
.home-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.home-quick{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.home-quick small{display:block;color:var(--muted);font-weight:900;font-size:.78rem;margin-bottom:6px;text-transform:uppercase;letter-spacing:.06em}
.home-quick strong{color:var(--dark);font-size:.98rem}
.home-side-stack{display:grid;gap:18px}
.home-card-large{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.home-card-head{background:linear-gradient(135deg,var(--red),#ff3945);color:#fff;font-weight:900;padding:16px 20px}
.home-card-body{padding:20px;display:grid;gap:14px}
.home-list-row{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.home-list-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(225,6,19,.08);color:var(--red);font-weight:900}
.home-list-row h3{font-size:1.05rem;color:var(--dark);margin-bottom:3px}
.home-list-row p{color:var(--muted);font-size:.96rem}
.home-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.home-process{counter-reset:step;display:grid;gap:14px}
.home-step{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:grid;grid-template-columns:54px 1fr;gap:16px;box-shadow:var(--shadow)}
.home-step:before{content:counter(step);width:54px;height:54px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.35rem}
.home-step h3{color:var(--dark);margin-bottom:6px}
.home-step p{color:var(--muted)}
.home-class-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.home-class-pill{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow)}
.home-class-pill strong{display:block;color:var(--red);font-size:1.4rem;margin-bottom:4px}
.home-class-pill span{color:var(--muted);font-size:.95rem}
@media(max-width:1080px){.home-hero-new{min-height:auto}.home-hero-layout,.home-split{grid-template-columns:1fr}}
@media(max-width:900px){.home-quick-grid,.home-class-overview{grid-template-columns:1fr}}
@media(max-width:640px){.home-hero-new{padding:30px 0 38px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.82)),url("hero-car.png");background-size:cover;background-position:center}.home-hero-title{font-size:2.55rem}.home-step{grid-template-columns:1fr}}

/* Startseite mit hochgeladenem Bild als Hero-Hintergrund */
.hero-banner-custom{
  width:100%;
  height:min(62vw, 620px);
  min-height:420px;
  background:
    url("hero-banner-custom.png") center top / cover no-repeat;
  border-bottom:1px solid var(--line);
}
.home-info-alt{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
.info-box-clean{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:22px;
}
.info-box-clean h3{
  color:var(--dark);
  margin-bottom:10px;
}
.info-box-clean p,
.info-box-clean li{
  color:var(--muted);
}
.info-box-clean ul{
  margin-left:18px;
}
@media(max-width:900px){
  .hero-banner-custom{
    height:56vw;
    min-height:300px;
    background-position:center top;
  }
}
@media(max-width:640px){
  .hero-banner-custom{
    height:68vw;
    min-height:240px;
  }
}

/* Hintergrundbild auf Homepage-Seitenbreite skaliert */
.hero-banner-custom{
  width:100%;
  aspect-ratio:1672 / 442;
  height:auto;
  min-height:0;
  background:url("hero-banner-custom.png") top center / contain no-repeat;
  background-color:#ffffff;
  border-bottom:1px solid var(--line);
}

@media(max-width:900px){
  .hero-banner-custom{
    width:100%;
    aspect-ratio:1672 / 442;
    background:url("hero-banner-custom.png") top center / contain no-repeat;
    background-color:#ffffff;
  }
}

@media(max-width:640px){
  .hero-banner-custom{
    width:100%;
    aspect-ratio:1672 / 442;
    background:url("hero-banner-custom.png") top center / contain no-repeat;
    background-color:#ffffff;
  }
}

/* Logo größer, Text neben Logo entfernt */
.brand{
  display:flex;
  align-items:center;
  gap:0;
}
.brand-text{
  display:none !important;
}
.brand img{
  height:92px !important;
  width:auto;
  object-fit:contain;
}
.header-inner{
  min-height:104px;
}
@media (max-width: 640px){
  .brand img{
    height:74px !important;
  }
  .header-inner{
    min-height:90px;
  }
}

/* Bereinigtes Hero-Bild ohne Doppelung und ohne unteren Ausbildungs-Text */
.hero-banner-custom{
  width:100%;
  aspect-ratio:1672 / 400;
  height:auto;
  min-height:0;
  background:url("hero-banner-custom.png") top center / contain no-repeat;
  background-color:#ffffff;
  border-bottom:1px solid var(--line);
}
@media(max-width:900px){
  .hero-banner-custom{
    aspect-ratio:1672 / 400;
    background:url("hero-banner-custom.png") top center / contain no-repeat;
    background-color:#ffffff;
  }
}
@media(max-width:640px){
  .hero-banner-custom{
    aspect-ratio:1672 / 400;
    background:url("hero-banner-custom.png") top center / contain no-repeat;
    background-color:#ffffff;
  }
}

/* Abstand nach dem Hero-Bild reduziert, nachdem der Ablauf-Titel entfernt wurde */
.hero-banner-custom + .section{
  padding-top:38px;
}


/* Neue komplett aufgebaute Startseite */
.start-hero-full {
  min-height: calc(100vh - 104px);
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 26%, rgba(255,255,255,.38) 54%, rgba(255,255,255,.08) 100%),
    url("hero-car.png") center center / cover no-repeat;
  overflow: hidden;
}
.start-hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 72%, rgba(255,255,255,.16) 100%);
  pointer-events: none;
}
.start-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 42px 0 52px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}
.start-copy {
  max-width: 680px;
}
.start-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  color: var(--red);
  font-weight: 900;
  margin-bottom: 18px;
}
.start-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.start-title {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -.055em;
  color: var(--dark);
  margin-bottom: 18px;
}
.start-title .red {
  color: var(--red);
}
.start-text {
  max-width: 620px;
  color: #333f4c;
  font-size: 1.08rem;
  margin-bottom: 26px;
}
.start-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.start-chip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.start-chip {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.start-chip small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.start-chip strong {
  color: var(--dark);
  font-size: 1rem;
}
.start-side {
  display: grid;
  gap: 18px;
}
.start-panel {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.start-panel-head {
  background: linear-gradient(135deg, var(--red), #ff3541);
  color: #fff;
  padding: 15px 20px;
  font-weight: 900;
}
.start-panel-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.start-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.start-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(225,6,19,.08);
  color: var(--red);
  font-weight: 900;
}
.start-item h3 {
  color: var(--dark);
  font-size: 1.04rem;
  margin-bottom: 4px;
}
.start-item p {
  color: var(--muted);
  font-size: .96rem;
}
.start-below {
  padding-top: 56px;
}
.start-intro-clean {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}
.start-intro-clean h2 {
  color: var(--dark);
  font-size: clamp(2rem,3.2vw,2.8rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.start-intro-clean p {
  color: var(--muted);
}
.start-mini-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}
.start-mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.start-mini strong {
  display: block;
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.start-mini span {
  color: var(--muted);
}
@media (max-width: 1120px) {
  .start-hero-full {
    min-height: auto;
  }
  .start-hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 0 44px;
  }
}
@media (max-width: 900px) {
  .start-chip-row,
  .start-mini-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .start-hero-full {
    background:
      linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.78)),
      url("hero-car.png") center center / cover no-repeat;
  }
  .start-title {
    font-size: 2.5rem;
  }
}


/* ===== Startseite wie Beispielbild ===== */
.site-header.example-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.example-header .header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}
.example-header .brand {
  display: flex;
  align-items: center;
}
.example-header .brand img {
  height: 72px !important;
  width: auto;
  object-fit: contain;
}
.example-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.example-nav a {
  color: var(--text);
  font-weight: 800;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}
.example-nav a.active,
.example-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.example-hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 28%, rgba(255,255,255,.46) 50%, rgba(255,255,255,.08) 100%),
    url("hero-car.png") center center / cover no-repeat;
}
.example-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 82px;
  background: linear-gradient(90deg,var(--red) 0%, #ff2a36 40%, #ffffff 72%, #ffffff 100%);
  border-radius: 0 0 48% 52% / 0 0 100% 100%;
  transform: skewY(-2deg);
  z-index: 1;
  opacity: .98;
}
.example-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 36px 0 72px;
  display: grid;
  grid-template-columns: minmax(340px, 1.08fr) minmax(320px, .92fr);
  gap: 34px;
  align-items: start;
}
.example-copy {
  padding-top: 8px;
}
.example-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  color: var(--dark);
  margin-bottom: 20px;
}
.example-copy h1 .red {
  color: var(--red);
}
.example-divider {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
  margin-bottom: 20px;
}
.example-copy p {
  max-width: 560px;
  color: #343f4b;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  background: #fff;
  color: var(--dark);
  border: 2px solid #efb4b9;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: var(--shadow);
  margin-top: 12px;
}
.phone-btn span:first-child {
  color: var(--red);
  font-size: 1.15rem;
}

.hero-side-stack {
  display: grid;
  gap: 16px;
}
.side-card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-card .dark-head {
  background: linear-gradient(90deg, #101317, #222834);
  color: #fff;
  font-weight: 900;
  padding: 14px 18px;
}
.side-card-body {
  padding: 16px 18px;
}
.side-info-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.side-info-item:last-child {
  border-bottom: none;
}
.side-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}
.side-info-item strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 3px;
}
.side-info-item span {
  color: var(--muted);
}

.home-class-section {
  padding: 72px 0 48px;
  background: #fff;
}
.home-subhead {
  text-align: center;
  margin-bottom: 28px;
}
.home-subhead .eyebrow {
  margin-bottom: 10px;
}
.home-subhead h2 {
  color: var(--dark);
  font-size: clamp(2rem,3vw,2.9rem);
  letter-spacing: -.04em;
  line-height: 1.12;
}
.class-grid-9 {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
}
.class-mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 12px;
  text-align: center;
}
.class-mini-card strong {
  display: block;
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.class-mini-card .icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.class-mini-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
}

.advantages-wrap {
  padding: 26px 0 64px;
  background: #fff;
}
.advantages-head {
  text-align: center;
  margin-bottom: 26px;
}
.advantages-head h2 {
  color: var(--dark);
  font-size: clamp(2rem,3vw,2.8rem);
  letter-spacing: -.04em;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: start;
}
.adv-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(225,6,19,.08);
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
}
.adv-card h3 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.adv-card p {
  color: var(--muted);
}

.contact-strip {
  padding: 0 0 48px;
  background: #fff;
}
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  max-width: 520px;
}
.contact-panel h3 {
  color: var(--dark);
  margin-bottom: 12px;
}
.contact-panel p {
  color: var(--muted);
  margin-bottom: 8px;
}

@media (max-width: 1320px) {
  .class-grid-9 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .example-hero {
    min-height: auto;
  }
  .example-hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 88px;
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .example-header .header-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 14px 0;
  }
  .example-nav {
    justify-content: flex-start;
    gap: 22px;
  }
  .class-grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .class-grid-9 {
    grid-template-columns: 1fr;
  }
  .example-hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
      url("hero-car.png") center center / cover no-repeat;
  }
  .example-copy h1 {
    font-size: 2.45rem;
  }
}

/* Startseite als vollständiges Bild */
.start-image-page{
  width:100%;
  background:#fff;
}
.start-image-page img{
  width:100%;
  height:auto;
  display:block;
}
.start-image-page a{
  position:absolute;
}
.start-image-wrap{
  position:relative;
  width:100%;
}
.start-hotspot-klassen{
  left:43%;
  top:3%;
  width:8%;
  height:5%;
}
.start-hotspot-theorie{
  left:50%;
  top:3%;
  width:12%;
  height:5%;
}
.start-hotspot-kontakt{
  left:61%;
  top:3%;
  width:8%;
  height:5%;
}

/* Startseite als Bild mit klickbaren Bereichen */
.start-image-page{
  width:100%;
  background:#fff;
}
.start-image-wrap{
  position:relative;
  width:100%;
}
.start-image-page img{
  width:100%;
  height:auto;
  display:block;
}
.start-image-page a{
  position:absolute;
  display:block;
}
.start-hotspot-start{
  left:40.5%;
  top:3.2%;
  width:5.5%;
  height:5.5%;
}
.start-hotspot-klassen{
  left:46.2%;
  top:3.2%;
  width:7.5%;
  height:5.5%;
}
.start-hotspot-theorie{
  left:53.5%;
  top:3.2%;
  width:12%;
  height:5.5%;
}
.start-hotspot-kontakt{
  left:64%;
  top:3.2%;
  width:8%;
  height:5.5%;
}
.start-hotspot-phone{
  left:3.2%;
  top:57%;
  width:14%;
  height:7%;
}
.start-hotspot-email{
  left:84%;
  top:22%;
  width:12.5%;
  height:4.5%;
}

/* Startseite neu skaliert: Bildschirmbreite, sauberes Seitenverhältnis */
html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

.start-image-page {
  width: 100%;
  background: #ffffff;
  overflow-x: hidden;
}

.start-image-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.start-image-page img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: top center;
}

/* Große Bildschirme: exakt auf Seitenbreite, ohne Verzerrung */
@media (min-width: 900px) {
  .start-image-page img {
    width: 100vw;
    height: auto;
  }
}

/* Kleine Bildschirme: nicht abschneiden, sondern vollständig skalieren */
@media (max-width: 899px) {
  .start-image-page img {
    width: 100%;
    height: auto;
  }
}

/* Startseite exakt auf Bildschirmfläche skaliert */
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

.start-image-page {
  width: 100vw;
  min-height: 100vh;
  background: #ffffff;
  overflow: hidden;
}

.start-image-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.start-image-page img {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Klickbereiche bleiben proportional zur sichtbaren Startseite */
.start-image-page a {
  position: absolute;
  z-index: 10;
  display: block;
}

/* Finale Startseite als voll skalierbares Bild */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #ffffff;
}

.final-start-page {
  width: 100%;
  background: #ffffff;
  overflow-x: hidden;
}

.final-start-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.final-start-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.final-start-wrap a {
  position: absolute;
  display: block;
  z-index: 20;
}

/* Menü-Hotspots */
.hotspot-start { left: 34.5%; top: 3.8%; width: 5.5%; height: 5.2%; }
.hotspot-klassen { left: 41.0%; top: 3.8%; width: 7.0%; height: 5.2%; }
.hotspot-theorie { left: 49.5%; top: 3.8%; width: 12.0%; height: 5.2%; }
.hotspot-kontakt { left: 62.0%; top: 3.8%; width: 8.0%; height: 5.2%; }

/* Kontakt-Hotspots */
.hotspot-phone { left: 3.0%; top: 58.0%; width: 14.5%; height: 7.0%; }
.hotspot-email { left: 84.0%; top: 22.5%; width: 12.5%; height: 4.8%; }

/* Klassen-Hotspots */
.hotspot-class-b { left: 3.5%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-b197 { left: 14.2%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-be { left: 25.0%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-b96 { left: 35.6%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-a { left: 46.3%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-a2 { left: 57.0%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-a1 { left: 67.6%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-am { left: 78.3%; top: 78.0%; width: 9.5%; height: 18.0%; }
.hotspot-class-mofa { left: 89.0%; top: 78.0%; width: 9.5%; height: 18.0%; }

/* Mobile Optimierung */
.mobile-start-page { display: none; }

@media (max-width: 760px) {
  .final-start-page { display: none !important; }

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #111317;
  }

  .mobile-start-page {
    display: block;
    background: #ffffff;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e6e9ef;
    padding: 12px 16px 10px;
  }

  .mobile-logo {
    display: block;
    width: 190px;
    max-width: 72%;
    height: auto;
    margin-bottom: 10px;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mobile-nav a {
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    background: #f5f6f8;
    color: #111317;
    font-weight: 800;
    text-decoration: none;
    font-size: 15px;
  }

  .mobile-nav a:first-child {
    background: #e10613;
    color: #ffffff;
  }

  .mobile-hero {
    position: relative;
    min-height: 420px;
    padding: 26px 18px 28px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.84) 48%, rgba(255,255,255,.35) 100%),
      url("startseite.png") center top / cover no-repeat;
    overflow: hidden;
  }

  .mobile-hero h1 {
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin: 0 0 14px;
    color: #111317;
  }

  .mobile-hero h1 span { color: #e10613; }

  .mobile-hero p {
    font-size: 18px;
    line-height: 1.42;
    margin: 0 0 18px;
    color: #1d2530;
    font-weight: 600;
  }

  .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 13px;
    background: #ffffff;
    border: 2px solid #e10613;
    color: #111317;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(16,22,30,.14);
  }

  .mobile-section { padding: 24px 18px; }

  .mobile-card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16,22,30,.08);
    padding: 18px;
    margin-bottom: 14px;
  }

  .mobile-card h2 {
    margin: 0 0 10px;
    color: #111317;
    font-size: 24px;
  }

  .mobile-card p, .mobile-card li {
    font-size: 17px;
    line-height: 1.45;
    color: #2d3743;
  }

  .mobile-card ul {
    margin: 0;
    padding-left: 20px;
  }

  .mobile-card a {
    color: #0b57d0;
    font-weight: 800;
  }

  .mobile-class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mobile-class {
    display: block;
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(16,22,30,.07);
  }

  .mobile-class strong {
    display: block;
    color: #e10613;
    font-size: 23px;
    margin-bottom: 4px;
  }

  .mobile-class span {
    display: block;
    color: #2d3743;
    font-size: 15px;
    line-height: 1.3;
  }

  .mobile-footer {
    padding: 24px 18px 32px;
    background: #111317;
    color: #ffffff;
  }

  .mobile-footer a {
    color: #ffffff;
    font-weight: 800;
  }
}

@media (max-width: 390px) {
  .mobile-class-grid { grid-template-columns: 1fr; }
  .mobile-hero { min-height: 390px; }
  .mobile-hero p { font-size: 16px; }
  .mobile-call { font-size: 20px; }
}
