@charset "UTF-8";

/* ==========================================================================
   Schriftarten: IBM Plex Sans (SIL Open Font License 1.1, lokal gehostet)
   Siehe ../fonts/OFL.txt — keine externen CDN-Anfragen (DSGVO-konform).
   ========================================================================== */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-v14-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-v14-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-v14-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-v14-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-v14-latin-700.woff2") format("woff2");
}

/* ==========================================================================
   Design-Tokens (1:1 Farb- und Layoutsystem von oes-net.de)
   ========================================================================== */
:root {
  --spacing: 1.25rem;
  --size-outline: 1240px;
  --color: #009ee0;
  --color-hover: #5db7e6;
  --color-txt: #333;
  --color-medium-dark: #0081b7;
  --color-dark: #085879;
  --color-bg: #f3f3f3;
  --color-linked: #007bb4;
  --color-alt: #6bb600;
  --color-alt-hover: #5aa000;
  --color-bg-light: #f3f3f3;
  --color-bg-middle: #e8eef4;
  --color-border: #99b6d3;
  --hamburger-width: 30px;
  --popout-size: 2.2rem;
  --content-gap: 2rem;
  --content-gap-half: 1rem;
  --cw: 50%;
  --anim-timing: 200ms;
  --anim-easing: ease;
}

@media only screen and (min-width: 770px) {
  :root {
    --spacing: 3rem;
    --popout-size: 2.2rem;
  }
}

@media only screen and (min-width: 1500px) {
  :root {
    --popout-size: 2.4rem;
  }
}

@media only screen and (min-width: 1800px) {
  :root {
    --popout-size: 3rem;
  }
}

/* ==========================================================================
   Basis & Reset
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-txt);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media only screen and (min-width: 770px) {
  html {
    font-size: 16px;
    line-height: 1.5;
  }
}

*,
::after,
::before {
  line-height: inherit;
  box-sizing: inherit;
  position: relative;
}

body {
  margin: 0;
  background-color: #fff;
  text-rendering: geometricPrecision;
}

body.noscroll,
body.--modalmode {
  overflow: hidden;
}

ol,
ul {
  padding-left: 0;
  list-style-type: none;
  margin-top: 0;
  margin-bottom: 1.8125rem;
}

p,
figure {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

figure {
  margin: 0;
  line-height: 0;
}

figcaption {
  line-height: 1.4;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--color);
  margin-top: 0;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-dark);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--color-dark);
  color: #fff;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 5px 0;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Layout-Container (analog oes-net.de max-width: 1240px)
   ========================================================================== */
body > header > section,
body > main > *,
body > footer > section {
  padding-left: calc(1.5 * var(--spacing));
  padding-right: calc(1.5 * var(--spacing));
}

body > header > section > *,
body > main > * > *,
body > footer > section > * {
  margin: 0 auto;
  width: 100%;
  max-width: var(--size-outline);
}

body > main > * {
  margin: calc(2 * var(--spacing)) auto;
}

body > main > :first-child {
  margin-top: calc(1.25 * var(--spacing));
}

body > main > .--bg {
  padding-top: calc(2 * var(--spacing));
  padding-bottom: calc(2 * var(--spacing));
  margin-top: 0;
  margin-bottom: 0;
}

body > main > .--bg + section:not(.--bg) {
  margin-top: calc(2 * var(--spacing));
}

section[id] {
  scroll-margin-top: 7.5rem;
}

main {
  background-color: #fff;
}

section.--light {
  background-color: var(--color-bg-light);
}

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

.--dark h1,
.--dark h2,
.--dark h3,
.--dark h4 {
  color: #fff;
}

main section h2 {
  text-transform: none;
  text-align: left;
  border-bottom: 1px solid #dcdcdc;
  padding: 0 0 6px;
  margin-bottom: 1.5rem;
}

.--dark h2 {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

@media only screen and (min-width: 1280px) {
  main section h2 {
    font-size: 1.7rem;
  }
}

main a {
  color: var(--color-medium-dark);
  font-weight: 600;
  letter-spacing: -0.2px;
  border-bottom: 1px solid #cecece;
  transition: color 0.15s ease, border-color 0.15s ease;
}

main a:hover {
  text-decoration: none;
  border-bottom: 1px solid var(--color);
  color: var(--color-dark);
}

.--dark a {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.--dark a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.hor_line {
  border-bottom: 1px solid var(--color);
  margin: calc(1.5 * var(--spacing)) auto;
  padding: 0 !important;
  max-width: var(--size-outline);
  width: calc(100% - 3 * var(--spacing));
}

/* ==========================================================================
   Header & Navigation (1:1 oes-net.de Optik mit überlappendem Logo)
   ========================================================================== */
body > header {
  z-index: 20;
  position: sticky;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid var(--color);
}

body > header::after {
  content: "";
  display: block;
  width: 100%;
  height: 9px;
  background-color: #fff;
  bottom: -10px;
  z-index: -10;
  position: absolute;
}

header .region.--header {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10.5rem) 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

@media only screen and (min-width: 1024px) {
  header .region.--header {
    grid-template-columns: 10.5rem 1fr auto;
    gap: 1.25rem;
  }
}

.logo {
  display: block;
  line-height: 0;
  border-bottom: none !important;
}

.logo img {
  width: 100%;
  display: block;
  top: 0.6rem;
  background-color: #fff;
  padding: 0.25rem 0.5rem;
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

header nav ul {
  display: flex;
  margin: 0;
  color: #fff;
}

header nav ul a {
  display: inline-block;
  color: #fff;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  background-color: var(--color);
  transition: background-color 0.15s ease;
  border-right: 1px solid var(--color-hover);
  border-bottom: none;
}

header nav ul a:hover,
header nav ul a.--current {
  text-decoration: none;
  background-color: var(--color-hover);
  color: #fff;
}

@media only screen and (min-width: 1024px) {
  header nav ul li:first-of-type a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  header nav ul li:last-of-type a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right: none;
  }
}

/* Mobile-Navigation & Hamburger (.trigger) */
header .switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.trigger_wrapper {
  display: grid;
  place-items: center;
  padding-left: 0.5rem;
}

@media only screen and (min-width: 1024px) {
  .trigger_wrapper {
    display: none;
  }
}

button.trigger {
  cursor: pointer;
  height: var(--hamburger-width);
  width: var(--hamburger-width);
  padding: 0;
  border: none;
  background-color: transparent;
  font-size: 0;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.2s ease;
}

.hamburger {
  --stroke-height: 2px;
  --stroke-spacing: 10px;
  --stroke-color: var(--color);
  display: block;
  pointer-events: none;
}

.hamburger,
.hamburger::after,
.hamburger::before {
  width: var(--hamburger-width);
  height: var(--stroke-height);
  background-color: var(--stroke-color);
  transition-property: all;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger::after,
.hamburger::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: var(--stroke-spacing);
  transition: top 0.1s 0.14s ease, opacity 0.1s ease;
}

.hamburger::after {
  bottom: var(--stroke-spacing);
  transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.trigger[aria-expanded="true"] .hamburger {
  transform: rotate(45deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.trigger[aria-expanded="true"] .hamburger::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease, opacity 0.1s 0.14s ease;
}

.trigger[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media only screen and (max-width: 1023px) {
  nav#header_menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    background-color: var(--color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 30;
  }
  nav#header_menu[data-hidden="false"] {
    display: block;
  }
  nav#header_menu .wrapper_menu {
    width: 100%;
  }
  nav#header_menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  nav#header_menu ul a {
    display: block;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--color-hover);
    padding: 0.85rem calc(1.5 * var(--spacing));
  }
}

/* Rechts im Header: Ursprungsseite-Link im Stil von .language__switch */
.origin__switch {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.origin__switch .origin__globe {
  display: inline-flex;
  align-items: center;
}

.origin__switch svg {
  width: 17px;
  height: 17px;
  display: block;
}

.origin__switch svg path {
  fill: #444;
}

.origin__switch a.origin__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: #444;
  background-color: transparent;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.origin__switch a.origin__pill:hover {
  color: #fff;
  background-color: #444;
  text-decoration: none;
}

/* ==========================================================================
   Hero / Einstiegsbereich
   ========================================================================== */
.hero__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 0.5rem;
}

@media only screen and (min-width: 900px) {
  .hero__intro {
    grid-template-columns: 1.45fr 1fr;
    gap: 3rem;
  }
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}

.hero__intro h1 {
  font-size: 1.85rem;
  line-height: 1.18;
  margin-bottom: 1.1rem;
  color: var(--color);
}

@media only screen and (min-width: 770px) {
  .hero__intro h1 {
    font-size: 2.35rem;
  }
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-txt);
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero__summary {
  background-color: var(--color-bg);
  border-left: 4px solid var(--color);
  border-radius: 5px;
  padding: 1.5rem 1.65rem;
}

.hero__summary h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.hero__summary ul.fakten {
  margin-bottom: 0;
}

/* Grüner Pill-Button (.link__button aus oes-net.de) */
.link__button {
  background-color: var(--color-alt);
  color: #fff !important;
  padding: 0.65rem 1.5rem;
  border-radius: 2rem;
  border-bottom: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  width: max-content;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.link__button:hover {
  background-color: var(--color-alt-hover);
  color: #fff !important;
  text-decoration: none;
}

.link__button svg {
  width: 0.95em;
  height: 0.95em;
  transition: transform 0.2s ease;
}

.link__button:hover svg {
  transform: translateX(3px);
}

.link__button.--white {
  background-color: #fff;
  color: var(--color-dark) !important;
}

.link__button.--white:hover {
  background-color: var(--color-bg-middle);
  color: var(--color-dark) !important;
}

/* ==========================================================================
   Kachel-Übersicht (.cards — 1:1 Optik der Startseiten-Kacheln auf oes-net.de)
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem 1.25rem;
}

@media screen and (min-width: 560px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards article {
  display: flex;
  flex-direction: column;
}

.cards article > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-bottom: none;
}

.cards h2 {
  font-size: 1rem;
  margin: 0 0 0.85rem;
  padding: 0;
  border-bottom: none;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.cards a:hover h2 {
  color: var(--color-dark);
}

.cards figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-middle);
}

.cards figure svg.card-visual {
  width: 100%;
  height: 100%;
  display: block;
}

.cards figcaption {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 100%;
  padding: 1.25rem;
  color: #fff;
  background-color: rgba(60, 60, 60, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.98, 0, 0.22, 0.98);
}

.cards a:hover {
  text-decoration: none;
  border-bottom: none;
}

.cards a:hover figcaption,
.cards a:focus-visible figcaption {
  transform: translateY(-100%);
}

.cards article:not(.txt) figcaption > * {
  transform: translateY(1.25rem);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cards article:not(.txt) figcaption > div {
  transition-delay: 0.18s;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.45;
}

.cards article:not(.txt) figcaption > span {
  transition-delay: 0.24s;
}

.cards article:not(.txt) a:hover figcaption > *,
.cards article:not(.txt) a:focus-visible figcaption > * {
  opacity: 1;
  transform: translateY(0);
}

figcaption .pseudo-link {
  display: inline-block;
  width: max-content;
  margin-top: 1rem;
  border-bottom: 1px solid #fff;
  font-weight: 600;
}

/* Text-Kacheln (.cards .txt) */
.cards .txt figure {
  background-color: #f1f1f1;
  transition: background-color 0.2s ease;
}

.cards .txt figcaption {
  top: 0;
  background-color: transparent;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color);
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem 4.25rem;
  transition: color 0.2s ease;
}

.cards .txt figcaption > div {
  width: 100%;
  line-height: 1.4;
}

.cards .txt a:hover figcaption,
.cards .txt a:focus-visible figcaption {
  transform: none;
  color: var(--color-dark);
}

.cards .txt a:hover figure {
  background-color: #e2e2e2;
}

.cards .txt .pseudo-link {
  transition: background-color 0.2s ease;
  background-color: var(--color);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 0;
  padding: 0.9rem 1rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  border-bottom: none;
}

.cards .txt a:hover .pseudo-link {
  background-color: var(--color-medium-dark);
}

/* ==========================================================================
   Inhaltsraster, Fakten-Listen & Spalten (analog /ueber-oes/)
   ========================================================================== */
.content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--content-gap);
}

@media only screen and (min-width: 768px) {
  .content__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.content__text p:last-child,
.content__loop p:last-child {
  margin-bottom: 0;
}

.info-box {
  background-color: var(--color-bg);
  padding: 1.5rem 1.75rem;
  border-radius: 5px;
  border-top: 3px solid var(--color);
}

.info-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Checkmark-Liste (.fakten aus oes-net.de) */
ul.fakten > li {
  padding-left: 1.35rem;
  margin-bottom: 0.95rem;
}

ul.fakten > li:last-child {
  margin-bottom: 0;
}

ul.fakten > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  transform: rotate(42deg);
  height: 12px;
  width: 6px;
  border-bottom: 3px solid var(--color);
  border-right: 3px solid var(--color);
}

.fakten li > strong {
  color: var(--color-dark);
}

/* Standard Bullet-Liste (wie .content__text ul auf oes-net.de) */
ul.oes-list > li {
  padding-left: 0.95rem;
  margin-bottom: 0.65rem;
}

ul.oes-list > li::before {
  content: "•";
  color: var(--color);
  font-size: 1.45rem;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0.05rem;
}

/* 2-Spalten-Leistungsgrid */
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
}

@media only screen and (min-width: 768px) {
  .pillars__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar__card {
  background-color: #fff;
  border: 1px solid #e0e6ec;
  border-left: 4px solid var(--color);
  border-radius: 5px;
  padding: 1.25rem 1.5rem;
}

.pillar__card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.pillar__card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* ==========================================================================
   Technologie-Akkordeon & Spalten (analog oes-net.de details/summary)
   ========================================================================== */
.spalten_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.tech__card {
  background-color: var(--color-bg);
  border-radius: 5px;
  padding: 1.35rem 1.5rem;
  border-top: 3px solid var(--color);
}

.tech__card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

.tech__card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

section details {
  overflow: hidden;
  border: 1px solid #e1e4e8;
  transition: border-color 0.2s ease;
  color: inherit;
  background-color: #fff;
  border-radius: 0.5rem;
}

section details:hover {
  border-color: var(--color);
}

section details summary {
  padding: 1rem 1.25rem 1rem 2.3rem;
  display: block;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  user-select: none;
  background-color: var(--color-bg);
  color: var(--color-txt);
}

section details summary::-webkit-details-marker {
  display: none;
}

section details summary::before {
  content: "";
  border-width: 0.4rem;
  border-style: solid;
  border-color: transparent transparent transparent var(--color);
  position: absolute;
  top: 1.35rem;
  left: 1rem;
  transform: rotate(0);
  transform-origin: 0.2rem 50%;
  transition: 0.25s transform ease;
}

section details[open] > summary::before {
  transform: rotate(90deg);
}

.details__body {
  padding: 1.25rem 1.5rem;
}

.details__body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Standort-Sektion (.--dark #009ee0)
   ========================================================================== */
.cluster__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.stat__item {
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  padding: 1.15rem 1.25rem;
}

.stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.stat__label {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.origin__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Kontakt & Rechtliches
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media only screen and (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.contact__card {
  background-color: var(--color-bg);
  border-radius: 5px;
  padding: 1.5rem 1.75rem;
}

.contact__card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #fff;
  color: var(--color-medium-dark);
  border: 1px solid var(--color);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background-color: var(--color);
  color: #fff;
}

/* ==========================================================================
   Schwebende Kontaktleiste (.popout auf Desktop ab 1025px)
   ========================================================================== */
.popout {
  display: none;
  margin: 0;
  padding: 0;
}

@media only screen and (min-width: 1025px) {
  .popout {
    display: block;
    position: fixed;
    left: calc(var(--spacing) / 3);
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    visibility: hidden;
  }
  body.--scrolled .popout {
    visibility: visible;
  }
  body.--scrolled.--thendisnear .popout {
    visibility: hidden;
  }
  .popout li {
    background-color: var(--color-alt);
    border-radius: 50%;
    height: var(--popout-size);
    width: var(--popout-size);
    transition: transform var(--anim-timing) var(--anim-easing), opacity var(--anim-timing) var(--anim-easing);
    opacity: 0;
    transform: scale(0.5);
    display: grid;
    place-items: center;
  }
  .popout li:nth-child(1) {
    transition-delay: 0.05s;
    margin-bottom: 10px;
  }
  .popout li:nth-child(2) {
    transition-delay: 0.1s;
    margin-bottom: 10px;
  }
  .popout li:nth-child(3) {
    transition-delay: 0.15s;
    background-color: var(--color-linked);
  }
  body.--scrolled .popout li {
    opacity: 1;
    transform: scale(1);
  }
  body.--scrolled.--thendisnear .popout li {
    opacity: 0;
    transform: scale(0.5);
  }
  .popout li > svg {
    width: 48%;
    height: 48%;
    fill: #fff;
    pointer-events: none;
  }
  .popout a {
    position: absolute;
    left: 0;
    top: 0;
    height: var(--popout-size);
    min-width: var(--popout-size);
    border-radius: 999px;
    background-color: inherit;
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 0 1.1rem 0 calc(var(--popout-size) + 0.35rem);
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--anim-timing) var(--anim-easing);
    border-bottom: none;
  }
  .popout li:hover a,
  .popout li:focus-within a {
    opacity: 1;
    pointer-events: auto;
    text-decoration: none;
  }
}

/* ==========================================================================
   Footer (1:1 zweigeteilter oes-net.de Footer)
   ========================================================================== */
body > footer ul {
  margin: 0;
}

footer section:first-child {
  background-color: var(--color-bg);
  border-top: 1px solid var(--color);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer section:last-child {
  background-color: var(--color);
}

footer a {
  color: var(--color-medium-dark);
  font-weight: 600;
  border-bottom: 1px solid #cecece;
}

footer a:hover {
  text-decoration: none;
  border-bottom: 1px solid var(--color);
  color: var(--color-dark);
}

.wrap__footer_content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media screen and (min-width: 720px) {
  .wrap__footer_content {
    grid-template-columns: 1.25fr 2fr;
  }
}

.footer_adress {
  font-size: 0.95rem;
}

@media screen and (min-width: 450px) {
  .footer_adress {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    column-gap: 1.25rem;
  }
}

.footer_adress p {
  margin-bottom: 1rem;
}

.footer_adress p:first-of-type {
  color: var(--color-medium-dark);
  font-weight: 600;
  grid-column: span 2;
}

.footer_adress p:last-of-type {
  margin-bottom: 0;
}

.footer_logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
}

@media screen and (min-width: 720px) {
  .footer_logos {
    justify-content: flex-end;
  }
}

.footer_logos figure {
  background-color: #fff;
  padding: 0.35rem;
  border-radius: 8px;
  height: 6rem;
  display: flex;
  align-items: center;
}

.footer_logos figure:first-of-type {
  padding: 0.5rem;
}

.footer_logos figure:last-of-type {
  padding: 0.25rem;
}

.footer_logos figure img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.menu.--footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem 1.35rem;
  padding: 1rem 0;
}

.menu.--footer li {
  line-height: 1.2;
}

.menu.--footer li a,
.menu.--footer li button {
  background: transparent;
  border: none;
  border-bottom: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: #fff;
}

.menu.--footer li a:hover,
.menu.--footer li button:hover {
  color: #fff;
  text-decoration: underline;
  border-bottom: none;
}

.footer__origin-note {
  background-color: var(--color);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  padding-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 0.75rem;
}

.footer__origin-note a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.footer__origin-note a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ==========================================================================
   Modale Dialoge (Impressum & Datenschutz, analog .modal in oes-net.de)
   ========================================================================== */
.modal {
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  backdrop-filter: blur(3px);
  background-color: rgba(40, 40, 40, 0.55);
  padding: 1rem;
}

.modal.--show {
  display: grid;
}

.modal-dialog {
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
  border-radius: 14px;
  box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fbfbfb;
  border-radius: 14px;
  max-height: calc(100vh - 3rem);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6e8e9;
  min-height: 3.5rem;
  background: #fff;
  padding: 0.75rem 3.5rem 0.75rem 1.5rem;
}

.modal-title {
  font-size: 1.15rem;
  color: var(--color);
  margin: 0;
}

.btn-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 3.5rem;
  height: 3.5rem;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 0.85rem auto no-repeat;
  border: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.94rem;
  line-height: 1.6;
}

.modal-body h3 {
  font-size: 1.02rem;
  margin: 1.25rem 0 0.45rem;
  color: var(--color-dark);
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body a {
  color: var(--color-medium-dark);
  font-weight: 600;
  border-bottom: 1px solid #cecece;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: #fff;
  border-top: 1px solid #e6e8e9;
  font-size: 0.88rem;
}
