/* BAYER PLUS – neue Webseite. Gestaltungswerte aus dem vorbereiteten Theme (Orange/Grau, Roboto), Inhalte von der bisherigen Seite. */
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("schrift/roboto-v30-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("schrift/roboto-v30-latin-700.woff2") format("woff2"); }
:root {
  --schwarz: #060406; --hell: #f0f0f0; --grund: #fcfffd; --grau: #50575c; --orange: #ee8417; --orange-text: #9a5200; --anthrazit: #3d3d3b; --dunkel: #24292e; --rot: #800c11; --gruen: #064d3a;
  --breit: 80rem; --mittel: 64rem; --schmal: 50rem;
  --abstand: clamp(2.5rem, 1.6rem + 4vw, 5.5rem);
  --h1: clamp(1.944rem, 1.74rem + 0.9vw, 2.44rem); --h2: clamp(1.62rem, 1.48rem + 0.6vw, 1.95rem); --h3: clamp(1.3rem, 1.24rem + 0.3vw, 1.5rem); --hero: clamp(2.2rem, 1.9rem + 1.6vw, 3.05rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Roboto", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.7; color: var(--schwarz); background: var(--grund); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; margin: 0 0 .6em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: var(--h1); } h2 { font-size: var(--h2); } h3 { font-size: var(--h3); } h4 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; max-width: 80ch; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 2px solid var(--anthrazit); outline-offset: 2px; }
.sprung { position: absolute; left: -999rem; top: 0; background: var(--schwarz); color: #fff; padding: .6rem 1rem; z-index: 100; }
.sprung:focus { left: .5rem; top: .5rem; }
.innen { width: min(var(--breit), 100% - 2rem); margin-inline: auto; }
.innen.mittel { width: min(var(--mittel), 100% - 2rem); } .innen.schmal { width: min(var(--schmal), 100% - 2rem); }
.abschnitt { padding-block: var(--abstand); }
.abschnitt.hell { background: var(--hell); } .abschnitt.dunkel { background: var(--dunkel); color: #f4f4f4; }
.abschnitt.eng { padding-block: calc(var(--abstand) / 2); }
.label { display: block; font-size: .95rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-text); margin-bottom: .5rem; }
.dunkel .label, .hero .label { color: var(--orange); }
.teaser { font-size: 1.25rem; max-width: 65ch; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--grund); border-bottom: 1px solid var(--hell); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; }
.kopf .logo img { height: 3.5rem; width: auto; }
.menue-knopf { display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-weight: 700; background: none; border: 0; padding: .6rem; cursor: pointer; color: inherit; }
.menue-knopf span { width: 1.5rem; height: 2px; background: currentColor; box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grund); border-bottom: 1px solid var(--hell); max-height: calc(100dvh - 5rem); overflow-y: auto; padding: .5rem 1rem 1.5rem; }
.nav.offen { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.nav a, .nav button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .5rem; font: inherit; color: inherit; background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left; }
.nav a:hover, .nav button:hover { color: var(--orange-text); }
.nav a[aria-current="page"] { color: var(--orange-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nav button::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; flex: none; margin-bottom: .2rem; }
.nav button[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: -.2rem; }
.nav .unter { display: none; background: var(--hell); border-radius: .5rem; padding: .25rem .5rem; }
.nav .unter.offen { display: block; }
.nav .knopf { width: auto; display: inline-flex; margin-top: .75rem; }
@media (min-width: 68rem) {
  .menue-knopf { display: none; }
  .nav { display: block; position: static; border: 0; padding: 0; overflow: visible; max-height: none; }
  .nav > ul { display: flex; align-items: center; gap: .1rem; }
  .nav > ul > li { position: relative; }
  .nav a, .nav button { width: auto; padding: .35rem .8rem; font-size: 1.05rem; }
  .nav .unter { position: absolute; left: 0; top: calc(100% + .6rem); min-width: 17rem; background: var(--grund); box-shadow: 0 1px 8px rgba(7,5,11,.4); padding: .5rem; }
  .nav .unter a { width: 100%; padding: .5rem .75rem; }
  .nav .knopf { margin: 0 0 0 .5rem; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 120px; padding: .8em 1.5em; border-radius: 100vw; border: 2px solid var(--orange); background: var(--orange); color: var(--schwarz); font-size: .95rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.knopf:hover { background: var(--grau); border-color: var(--grau); color: #fff; transform: translateY(-.1em); }
.knopf.dunkel { background: var(--schwarz); border-color: var(--schwarz); color: #fff; }
.knopf.dunkel:hover { background: var(--hell); color: var(--orange-text); border-color: var(--hell); }
.knopf.rand { background: transparent; border-color: currentColor; color: inherit; }
.knopf.rand:hover { background: var(--orange); border-color: var(--orange); color: var(--schwarz); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .95rem; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Hero und Bildstreifen */
.hero { position: relative; color: #f2f2f2; background: var(--dunkel) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,20,20,.96) 0%, rgba(17,20,20,.7) 55%, rgba(17,20,20,.15) 100%), linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.05) 40%, rgba(0,0,0,.4)); }
.hero .innen { position: relative; padding-block: clamp(4rem, 3rem + 8vw, 11rem); }
.hero.klein .innen { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.hero h1 { font-size: var(--hero); max-width: 22ch; }
.hero.klein h1 { font-size: var(--h1); max-width: 30ch; }
.hero p { max-width: 58ch; }
.marke { display: block; font-size: .95rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .75rem; }
.marke b { color: var(--orange); }

/* Raster und Karten */
.raster { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.raster.zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.karte { display: flex; flex-direction: column; background: #fff; border: 1px solid #dcdcdc; border-radius: .75rem; padding: 1.5rem; }
.hell .karte { border-color: transparent; }
.karte.dunkel { background: var(--grau); color: #fff; border-color: var(--grau); }
.karte.dunkel .label { color: #ffd9ad; }
.karte h3 { margin-bottom: .4em; }
.karte p:last-child, .karte ul:last-child { margin-bottom: 0; }
.karte .symbol { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; }
.karte .weiter { margin-top: auto; padding-top: 1rem; }
a.karte { text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.karte:hover { color: inherit; transform: translateY(-.2rem); box-shadow: 0 1px 8px rgba(7,5,11,.4); }
a.karte:hover .link { color: var(--orange-text); }
.karte img.bild { border-radius: .5rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.bildtext { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .bildtext { grid-template-columns: 1fr 1fr; gap: 3.5rem; } .bildtext.gedreht > :first-child { order: 2; } }
.bildtext img { border-radius: 1rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Listen */
ul.haken, ol.schritte { list-style: none; padding: 0; }
ul.haken li { position: relative; padding-left: 2rem; margin-bottom: .5rem; }
ul.haken li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
ol.schritte { counter-reset: schritt; }
ol.schritte li { position: relative; padding-left: 3.25rem; margin-bottom: 1.1rem; counter-increment: schritt; min-height: 2.25rem; }
ol.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--orange); color: var(--schwarz); font-weight: 700; display: grid; place-items: center; }

/* Akkordeon */
details.akk { border-radius: .5rem; background: #fff; border: 1px solid #dcdcdc; margin-bottom: .75rem; overflow: hidden; }
details.akk summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--hell); font-weight: 700; font-size: 1.15rem; }
details.akk summary::-webkit-details-marker { display: none; }
details.akk summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
details.akk[open] summary::after { content: "–"; }
details.akk summary:hover { background: var(--grau); color: #fff; }
details.akk summary:hover::after { color: var(--schwarz); }
details.akk .inhalt { padding: 1.25rem; }
details.akk .inhalt > :last-child { margin-bottom: 0; }

/* Hinweise, Zähler, Tabellen, Dateien */
.hinweis { border-left: 4px solid var(--orange); background: #f6ecde; border-radius: .5rem; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.hinweis > :last-child { margin-bottom: 0; }
.zaehler { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); text-align: center; }
.zaehler b { display: block; font-size: var(--hero); line-height: 1.1; color: var(--orange); }
.tabelle { overflow-x: auto; margin-bottom: 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid #dcdcdc; vertical-align: top; }
th { background: var(--hell); }
.dateien { list-style: none; padding: 0; display: grid; gap: .6rem; }
.dateien a { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; background: #fff; border: 1px solid #dcdcdc; border-radius: .5rem; text-decoration: none; font-weight: 700; }
.dateien a::before { content: "PDF"; flex: none; font-size: .7rem; letter-spacing: 1px; background: var(--grau); color: #fff; border-radius: .25rem; padding: .25rem .4rem; }
.dateien a:hover { border-color: var(--orange); }
.cta { background: var(--dunkel); color: #f4f4f4; border-radius: 1.5rem; padding: clamp(1.5rem, 1rem + 3vw, 3rem); }
.cta h2 { margin-bottom: .4em; }
.rahmen { width: 100%; border: 0; border-radius: .75rem; background: #fff; min-height: 1300px; }
.rahmen.formular { min-height: 1050px; }
.rahmen.flyer { min-height: 0; height: 900px; max-width: 800px; display: block; margin: 0 auto 1rem; background: #f6f5f1; }
.galerie { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.galerie img { border-radius: .5rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.logos { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.logos img { max-height: 4.5rem; width: auto; }
.recht h2 { font-size: var(--h3); margin-top: 2rem; } .recht h3 { font-size: 1.2rem; margin-top: 1.5rem; }

/* Fuß */
.fuss { background: var(--hell); border-radius: 1.5rem 1.5rem 0 0; padding-block: 3.5rem 1.5rem; font-size: 1rem; color: var(--dunkel); }
.fuss .spalten { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fuss h2 { font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-text); margin-bottom: .75rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss .bildmarke { height: 3.75rem; width: auto; margin-bottom: 1rem; }
.fuss .sozial { display: flex; gap: .75rem; margin-top: 1rem; }
.fuss .sozial img { width: 1.75rem; height: 1.75rem; }
.fuss .unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #d0d0d0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .9rem; }
.fuss .unten ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .kopf, .fuss, .knoepfe, .menue-knopf { display: none; } }
p, li, td, th, dd { overflow-wrap: anywhere; }
.recht a { word-break: break-all; }
