:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #e9ecef;
  --text: #111318;
  --muted: #636a75;
  --line: rgba(17, 19, 24, .10);
  --red: #e32020;
  --red-dark: #b91010;
  --dark: #0d0f13;
  --dark-2: #171a21;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 70px rgba(17, 19, 24, .11);
  --shadow-soft: 0 14px 38px rgba(17, 19, 24, .07);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-soft {
  background: var(--surface-soft);
}

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

.skip-link {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===========================
   HEADER
=========================== */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  transition: .3s ease;
}

.site-header.scrolled {
  top: 8px;
}

.nav-wrap {
  width: min(100%, 1320px);
  min-height: 76px;
  margin-inline: auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(13, 15, 19, .78);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.brand-logo-main {
  width: 240px;
  height: 50px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .24));
  transition: width .3s ease, height .3s ease, transform .3s ease;
}

.brand:hover .brand-logo-main {
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  color: #fff;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 6px;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover {
  color: #fff;
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-button span:not(.sr-only) {
  width: 24px;
  height: 2px;
  margin: 5px 0;
  display: block;
  border-radius: 2px;
  background: #fff;
}

/* ===========================
   BUTTONS
=========================== */

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
  cursor: pointer;
  transition: .22s ease;
}

.button:hover {
  background: var(--red-dark);
  box-shadow: 0 13px 28px rgba(227, 32, 32, .27);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-glass {
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, .17);
  box-shadow: none;
}

.button-dark {
  background: var(--dark);
}

.button-dark:hover {
  background: #20242d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.button-white {
  color: var(--dark);
  background: #fff;
}

.button-white:hover {
  background: #f5f5f5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}

/* ===========================
   HERO
=========================== */

.hero{
    min-height:880px;
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
}

.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,
            rgba(6,8,12,.92) 0%,
            rgba(6,8,12,.70) 45%,
            rgba(6,8,12,.20) 100%),
        linear-gradient(0deg,
            rgba(6,8,12,.42),
            transparent 46%);
}

.hero-content{
    position:relative;
    z-index:2;
    padding-top:88px;
}

.hero-copy{
    max-width:930px;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.hero-highlight{
    display:block;
    margin-top:10px;
    font-size:68%;
    line-height:1;
    color:#ff413b;
}

.hero p{
    max-width:710px;
    margin:0 0 30px;
    color:rgba(255,255,255,.82);
    font-size:clamp(18px,2vw,22px);
    line-height:1.6;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.hero-trust{
    display:flex;
    flex-wrap:wrap;
    gap:26px;
    margin-top:36px;
    font-size:14px;
    font-weight:700;
    color:rgba(255,255,255,.82);
}

.hero-trust span{
    display:inline-flex;
    align-items:center;
    gap:10px;
}

.hero-trust span::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#e32020;
    box-shadow:0 0 0 5px rgba(227,32,32,.18);
}

.scroll-cue{
    position:absolute;
    left:50%;
    bottom:24px;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    color:rgba(255,255,255,.7);
    font-size:12px;
    z-index:3;
}

.scroll-cue svg{
    width:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
}

/* ===========================
   TYPOGRAFIE
=========================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .76);
}

.eyebrow-red {
  color: #ff4b45;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.split-copy h2,
.showcase h2,
.booking-copy h2,
.about-card h2,
.contact-panel h2 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.section-heading p,
.split-copy p,
.showcase p,
.booking-copy p,
.about-card p,
.contact-panel p {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .split-copy p {
  color: rgba(255, 255, 255, .67);
}

/* ===========================
   VORTEILE
=========================== */

.section-overlap {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  padding-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(15px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--red);
  background: rgba(227, 32, 32, .09);
}

.feature-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h2 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ===========================
   ZIELGRUPPEN
=========================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.audience-card {
  min-height: 220px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: .25s ease;
}

.audience-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-number {
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.audience-card h3 {
    margin: 18px 0 10px;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.audience-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.card-link {
  margin-top: 30px;
  color: var(--red);
  font-weight: 800;
}

/* ===========================
   MEDIKAMENTE / LEISTUNGEN
=========================== */

.split-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.split-copy p {
  margin-bottom: 28px;
}

.image-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-xl);
  background: #1d2027;
}

.image-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.image-card figcaption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  color: #fff;
}

.image-card figcaption span {
  display: block;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
}

.image-card figcaption strong {
  max-width: 520px;
  margin-top: 5px;
  display: block;
  font-size: 24px;
}

/* ===========================
   TRAININGSINHALTE
=========================== */

.topics {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}

.topic-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  scroll-snap-align: start;
}

.topic-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  font-size: 13px;
  font-weight: 800;
}

.topic-card h3 {
  margin: 72px 0 12px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.topic-card p {
  color: var(--muted);
}

/* ===========================
   ABLAUF
=========================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(17, 19, 24, .08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .75);
}

.step {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--red);
  font-weight: 850;
}

.process-card h3 {
  margin: 58px 0 12px;
  font-size: 22px;
}

.process-card p {
  color: var(--muted);
}

/* ===========================
   NOTFALLTASCHE
=========================== */

.showcase {
  min-height: 580px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.showcase-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.showcase-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

/* ===========================
   BUCHUNGSSYSTEM
=========================== */

.booking-section {
  padding-top: 40px;
}

.booking-panel {
  padding: 62px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .15), transparent 28%),
    linear-gradient(135deg, #e51f1f, #a90909);
}

.booking-copy p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .75);
}

.browser-mockup {
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .22);
  transform: rotate(1.3deg);
}

.browser-top {
  min-height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 15px 15px 0 0;
  color: rgba(255, 255, 255, .65);
  background: rgba(11, 13, 17, .88);
  font-size: 11px;
}

.browser-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.browser-top span {
  margin-left: 10px;
}

.browser-screen {
  min-height: 390px;
  padding: 28px;
  border-radius: 0 0 15px 15px;
  color: var(--text);
  background: #f6f7f8;
}

.mock-head small {
  margin-bottom: 4px;
  display: block;
  color: var(--red);
  font-weight: 800;
}

.mock-head strong {
  font-size: 22px;
}

.mock-months {
  margin-top: 28px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 14px;
  background: #fff;
}

.mock-months b {
  color: var(--red);
}

.mock-calendar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.mock-calendar i {
  aspect-ratio: 1;
  border-radius: 10px;
  background: #e4e7eb;
}

.mock-calendar i.active {
  background: var(--red);
  box-shadow: 0 8px 18px rgba(227, 32, 32, .27);
}

/* ===========================
   ÜBER MICH
=========================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: stretch;
}

.about-card {
  padding: 54px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-card p {
  margin-bottom: 30px;
}

.stats {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stats div {
  padding: 18px;
  border-radius: 18px;
  background: #f2f3f5;
}

.stats strong {
  display: block;
  font-size: 26px;
  letter-spacing: -.04em;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.about-visual {
  min-height: 580px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #2a2f38, #111318);
}

.about-placeholder {
  width: 100%;
  min-height: 580px;
  height: 100%;
  padding: 30px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .56);
  text-align: center;
}

/* ===========================
   KONTAKT
=========================== */

.contact-section {
  padding-top: 40px;
}

.contact-panel {
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.contact-links {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-links a {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.contact-links a:last-child {
  border-bottom: 0;
}

.contact-links a:hover {
  background: #f1f2f4;
}

.contact-links span {
  color: var(--muted);
  font-size: 13px;
}

.contact-links strong {
  font-size: 18px;
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  margin-top: 110px;
  padding: 76px 0 24px;
  color: #fff;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 60px;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  width: 280px;
  height: auto;
  filter: none;
}

.footer-brand p {
  max-width: 350px;
  color: rgba(255, 255, 255, .55);
}

.footer-grid h2 {
  margin: 0 0 18px;
  font-size: 15px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, .63);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .48);
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.floating-cta {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 900;
  padding: 13px 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(227, 32, 32, .28);
  font-weight: 800;
  transform: translateY(-50%);
}

.top-button {
  width: 46px;
  height: 46px;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.top-button.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===========================
   COOKIE-BANNER
=========================== */

.cookie-banner {
  max-width: 980px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2000;
  margin-inline: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
}

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

.cookie-banner p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.cookie-banner-text {
  min-width: 0;
  max-width: 680px;
}

.cookie-banner-text p {
  max-width: 680px;
  line-height: 1.65;
}

.cookie-banner-content {
  grid-template-columns: minmax(0, 1fr) 360px;
}

/* ===========================
   ANIMATIONEN
=========================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1180px) {
  .nav-wrap,
  .main-nav {
    gap: 18px;
  }

  .brand-copy small {
    display: none;
  }
}

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

@media (max-width: 980px) {
  .brand-copy {
    display: none;
  }

  .brand-logo-main {
    width: 240px;
    height: 50px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 82px 0;
  }

  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .nav-wrap {
    min-height: 66px;
    border-radius: 18px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    margin: 0;
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    background: rgba(13, 15, 19, .98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(6, 8, 12, .91), rgba(6, 8, 12, .55));
  }

  .audience-grid,
.split-section,
.showcase,
.booking-panel,
.about-grid {
  grid-template-columns: 1fr;
}

  .split-section,
  .booking-panel {
    gap: 42px;
  }

  .image-card {
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }

  .floating-cta {
    top: auto;
    right: 14px;
    bottom: 78px;
    border-radius: 999px;
    transform: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-logo-main {
    width: 240px;
    height: 50px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 78px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 13px;
  }

  .feature-grid,
  .process-grid,
  .audience-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-overlap {
    margin-top: -28px;
  }

  .feature-card,
  .process-card {
    min-height: auto;
  }

  .showcase,
  .booking-panel,
  .about-card,
  .contact-panel {
    padding: 28px;
  }

  .image-card {
    min-height: 420px;
  }

  .showcase-image img {
    height: 420px;
  }

  .browser-screen {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 18px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}
/* ===========================
   KONTAKT UND MESSENGER
=========================== */

.contact-panel {
  padding: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 64px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
}

.contact-left {
  min-width: 0;
}

.contact-left > p {
  max-width: 650px;
  margin-bottom: 0;
}

.messenger-contact {
  margin-top: 28px;
}

.messenger-label {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.messenger-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
}

.messenger-link {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.messenger-link img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  transition:
    transform .2s ease,
    opacity .2s ease;
}

.messenger-link:hover img {
  transform: scale(1.08);
  opacity: .86;
}

.messenger-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

.contact-links {
  width: 100%;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-links a {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.contact-links a:last-child {
  border-bottom: 0;
}

.contact-links a:hover {
  background: #f1f2f4;
}

.contact-links span {
  color: var(--muted);
  font-size: 13px;
}

.contact-links strong {
  font-size: 18px;
}

/* Smartphone */

@media (max-width: 520px) {
  .contact-panel {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .messenger-contact {
    margin-top: 24px;
  }

  .messenger-icons {
    gap: 24px;
  }

  .messenger-link {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .messenger-link img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
  }
}
/* =========================================================
   DATENSCHUTZ- UND COOKIE-EINSTELLUNGEN
========================================================= */

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

/* Hintergrundabdunklung beim ersten Aufruf */

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 8, 12, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cookie-banner-content {
  width: min(100%, 980px);
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.cookie-banner-text {
  min-width: 0;
}

.cookie-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-label::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.cookie-banner h2,
.cookie-modal h2 {
  margin: 10px 0 13px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cookie-banner p,
.cookie-modal-panel > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.cookie-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cookie-links a {
  position: relative;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.cookie-links a::after {
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  background: currentColor;
  opacity: 0.28;
}

.cookie-links a:hover {
  color: var(--red);
}

/* Buttons */

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-buttons .button,
.cookie-modal-actions .button {
  min-height: 48px;
  padding-inline: 20px;
  white-space: nowrap;
}

.cookie-buttons .button-secondary,
.cookie-modal-actions .button-secondary {
  color: var(--text);
  border-color: rgba(17, 19, 24, 0.14);
  background: #f2f3f5;
}

.cookie-buttons .button-secondary:hover,
.cookie-modal-actions .button-secondary:hover {
  color: var(--text);
  background: #e6e8eb;
  box-shadow: none;
}

/* =========================================================
   EINSTELLUNGSFENSTER
========================================================= */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 3100;
  padding: 24px;
  display: grid;
  place-items: center;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cookie-modal-panel {
  width: min(100%, 720px);
  max-height: min(760px, calc(100vh - 48px));
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 28px;
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.38);
}

.cookie-modal-close {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: #f0f1f3;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-modal-close:hover {
  color: #ffffff;
  background: var(--red);
  transform: rotate(4deg);
}

.cookie-category {
  margin-top: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f8f9;
}

.cookie-category-copy strong {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.cookie-category-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Schalter */

.cookie-switch {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
}

.cookie-switch input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch span {
  width: 54px;
  height: 30px;
  position: relative;
  display: block;
  border-radius: 999px;
  background: #c9cdd3;
  box-shadow: inset 0 0 0 1px rgba(17, 19, 24, 0.08);
  transition: 0.22s ease;
}

.cookie-switch span::after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  transition: 0.22s ease;
}

.cookie-switch input:checked + span {
  background: var(--red);
}

.cookie-switch input:checked + span::after {
  transform: translateX(24px);
}

.cookie-switch input:focus-visible + span {
  outline: 3px solid rgba(227, 32, 32, 0.24);
  outline-offset: 3px;
}

.cookie-switch-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.cookie-switch-disabled span {
  background: var(--dark);
}

/* Aktionen im Einstellungsfenster */

.cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

/* Kleiner Button zum späteren Ändern */

.cookie-settings-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 850;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(13, 15, 19, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: 0.2s ease;
}

.cookie-settings-link:hover {
  color: #ffffff;
  background: var(--red);
  transform: translateY(-2px);
}

.cookie-modal-open {
  overflow: hidden;
}

/* =========================================================
   MOBIL
========================================================= */

@media (max-width: 860px) {
  .cookie-banner {
    padding: 14px;
  }

  .cookie-banner-content {
  width: min(100%, 1040px);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 42px;
  align-items: end;
  border: 1px solid rgba(17, 19, 24, 0.1);
  border-radius: 24px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.cookie-banner p {
  max-width: 760px;
  font-size: 16px;
}

.cookie-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cookie-buttons .button {
  width: 100%;
  min-height: 50px;
  padding-inline: 24px;
}

.cookie-settings-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 850;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(13, 15, 19, 0.46);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0.82;
  transition: 0.2s ease;
}

.cookie-settings-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(13, 15, 19, 0.76);
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cookie-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .cookie-banner-content {
    padding: 22px 18px;
  }

  .cookie-banner p {
    font-size: 14px;
  }

  .cookie-buttons {
    grid-template-columns: 1fr;
  }

  .cookie-settings-link {
    right: 14px;
    bottom: 14px;
    left: auto;
    max-width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-modal-close,
  .cookie-switch span,
  .cookie-switch span::after,
  .cookie-settings-link {
    transition: none;
  }
}
.cookie-banner:not([hidden]) ~ .cookie-settings-link {
  display: none;
}