/*
Theme Name: Masson-Elektrotechnik
Author: Masson-Elektrotechnik
Description: Firmen-Website von Masson-Elektrotechnik, Pantelitz. Startseite, Impressum und Datenschutz sind fest im Theme hinterlegt.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: masson
*/

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --blau: #0A4670;        /* Logo-Blau */
  --tiefblau: #072F4C;
  --weiss: #FFFFFF;
  --kalk: #EDF1F4;        /* kühles Wandgrau */
  --schrift: #16222D;
  --grau: #4B5965;
  --linie: #D5DDE3;
  --licht: #F3B241;       /* warmes LED-Licht, sparsam */
  --glow: 0 0 6px rgba(243,178,65,.75), 0 0 18px rgba(243,178,65,.45);
  --rand: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--weiss); color: var(--schrift);
  font-family: "Inter", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--licht); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: "Inter Display", "Inter", sans-serif; color: var(--tiefblau); margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }

/* Lichtlinie: das wiederkehrende Element, angelehnt an die LED-Voute */
.lichtlinie { height: 3px; background: var(--licht); box-shadow: var(--glow); border: 0; margin: 0; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.kopf-logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--schrift); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav a:hover { color: var(--blau); text-decoration: underline; text-underline-offset: 4px; }
.nav .tel-klein { color: var(--weiss); background: var(--blau); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.nav .tel-klein:hover { background: var(--tiefblau); color: var(--weiss); text-decoration: none; }
@media (max-width: 960px) { .kopf-logo img { height: 32px; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(780px, calc(100vh - 79px)); }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 64px clamp(24px, 4vw, 64px) 64px max(var(--rand), calc((100vw - var(--max)) / 2 + var(--rand))); }
.hero-text p { font-size: 1.2rem; color: var(--grau); max-width: 34em; }
.hero-bild { position: relative; background: var(--tiefblau); overflow: hidden; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bild figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 16px; background: rgba(7,47,76,.85); color: var(--weiss); font-size: .88rem; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 48px var(--rand) 40px; }
  .hero-bild { aspect-ratio: 4 / 3; }
}

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.05rem;
  padding: 15px 22px; border-radius: 6px; border: 2px solid var(--blau); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf-voll { background: var(--blau); color: var(--weiss); }
.knopf-voll:hover { background: var(--tiefblau); border-color: var(--tiefblau); }
.knopf-rand { color: var(--blau); background: transparent; }
.knopf-rand:hover { background: var(--kalk); }

/* Kleinaufträge */
.klein { background: var(--tiefblau); color: var(--weiss); }
.klein-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.klein h2 { color: var(--weiss); }
.klein p { color: #CFDCE6; margin-top: 16px; max-width: 36em; }
.klein-tel { justify-self: end; text-align: right; }
.klein-tel a { color: var(--weiss); text-decoration: none; font-family: "Inter Display", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; white-space: nowrap; }
.klein-tel a:hover { color: var(--licht); }
.klein-tel span { display: block; color: #CFDCE6; font-size: .95rem; margin-top: 4px; }
@media (max-width: 860px) {
  .klein-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .klein-tel { justify-self: start; text-align: left; }
}

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 112px) 0; }
.abschnitt-kalk { background: var(--kalk); }
.kopfzeile { max-width: 40em; margin-bottom: 48px; }
.kopfzeile p { margin-top: 16px; color: var(--grau); font-size: 1.12rem; }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }
.leistung { padding-top: 22px; position: relative; }
.leistung::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--licht); box-shadow: var(--glow); }
.leistung p { margin-top: 10px; color: var(--grau); }
@media (max-width: 960px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .leistungen { grid-template-columns: 1fr; gap: 36px; } }

/* Referenzen */
.galerie { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie .bildrahmen { overflow: hidden; }
.galerie figcaption { padding: 12px 2px 0; font-size: .95rem; color: var(--grau); }
.g-breit { grid-column: span 12; }
.g-breit .bildrahmen { aspect-ratio: 1320 / 620; }
.g-breit img { object-position: center 40%; }
.g-halb { grid-column: span 6; }
.g-halb .bildrahmen { aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .g-halb { grid-column: span 12; }
  .g-breit .bildrahmen { aspect-ratio: 4 / 3; }
}

/* Über uns */
.ueber { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ueber-text p + p { margin-top: 18px; }
.ueber-text p { max-width: 36em; }
.ueber-seite { display: grid; gap: 28px; }
.ueber-seite .bildrahmen { aspect-ratio: 4 / 5; overflow: hidden; }
.ueber-seite .bildrahmen img { width: 100%; height: 100%; object-fit: cover; }
.partner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.partner a img { width: 220px; height: auto; }
.partner p { font-size: .95rem; color: var(--grau); max-width: 22em; }
@media (max-width: 860px) { .ueber { grid-template-columns: 1fr; } .ueber-seite .bildrahmen { aspect-ratio: 4 / 3; } }

/* Gebiet */
.gebiet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.orte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.orte li { border: 1.5px solid var(--linie); background: var(--weiss); padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.orte li.sitz { border-color: var(--blau); color: var(--blau); }
@media (max-width: 860px) { .gebiet { grid-template-columns: 1fr; gap: 28px; } }

/* Kontakt */
.kontakt { background: var(--blau); color: var(--weiss); }
.kontakt h2 { color: var(--weiss); }
.kontakt .kopfzeile p { color: #D6E3EC; }
.kontakt-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.kontakt-raster h3 { color: #D6E3EC; font-family: "Inter", sans-serif; font-weight: 500; font-size: 1rem; letter-spacing: 0; }
.kontakt-raster a, .kontakt-raster address { display: block; margin-top: 6px; color: var(--weiss); font-style: normal;
  font-family: "Inter Display", sans-serif; font-weight: 700; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.kontakt-raster a:hover { color: var(--licht); }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; gap: 24px; } }

/* Fuß */
.fuss { background: var(--tiefblau); color: #B9CBD8; font-size: .92rem; }
.fuss-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
.fuss img { height: 34px; width: auto; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: #B9CBD8; }
.fuss a:hover { color: var(--weiss); }

/* Rechtstexte */
.recht { max-width: 46em; padding: 64px 0 96px; }
.recht h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 32px; }
.recht h2 { font-size: 1.35rem; margin: 40px 0 10px; letter-spacing: -0.01em; }
.recht p, .recht ul { margin: 0 0 14px; }
.recht ul { padding-left: 1.2em; }
.recht li { margin-bottom: 6px; }

/* WordPress: Admin-Leiste für angemeldete Benutzer */
body.admin-bar .kopf { top: 32px; }
@media (max-width: 782px) { body.admin-bar .kopf { top: 0; } }
.recht h1 + .wp-content > :first-child { margin-top: 0; }

/* ===================== Mehrseitige Website ===================== */

.springen { position: absolute; left: -9999px; top: 8px; background: var(--weiss); padding: 10px 14px; z-index: 50; }
.springen:focus { left: 16px; }
.hero-bild { margin: 0; }

/* Menü */
.nav { display: flex; align-items: center; gap: 28px; }
.nav-liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.nav-liste > li { position: relative; }
.nav-liste > li > a { display: block; padding: 26px 0; }
.nav-liste > li.aktiv > a { color: var(--blau); box-shadow: inset 0 -3px 0 var(--blau); }
.hat-unter > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.unter { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 260px; background: var(--weiss);
  border-top: 3px solid var(--licht); box-shadow: 0 14px 30px rgba(7,47,76,.14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hat-unter:hover .unter, .hat-unter:focus-within .unter { opacity: 1; visibility: visible; transform: none; }
.unter a { display: block; padding: 10px 18px; }
.unter li.aktiv a { color: var(--blau); font-weight: 600; }
.unter a:hover { background: var(--kalk); text-decoration: none; }
.menue-knopf { display: none; align-items: center; gap: 10px; background: none; border: 2px solid var(--blau); color: var(--blau); border-radius: 6px; padding: 8px 12px; font: 600 1rem "Inter", sans-serif; cursor: pointer; }
.menue-striche, .menue-striche::before, .menue-striche::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s; }
.menue-striche::before { position: absolute; top: -6px; }
.menue-striche::after { position: absolute; top: 6px; }
.menue-offen .menue-striche { background: transparent; }
.menue-offen .menue-striche::before { transform: translateY(6px) rotate(45deg); }
.menue-offen .menue-striche::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav a:not(.tel-klein) { display: block; }
  .menue-knopf { display: inline-flex; }
  .kopf-inner { min-height: 64px; position: relative; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--weiss); padding: 8px var(--rand) 24px; box-shadow: 0 18px 30px rgba(7,47,76,.15); max-height: calc(100vh - 70px); overflow-y: auto; }
  .menue-offen .nav { display: flex; }
  .nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-liste > li > a { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 1.1rem; }
  .nav-liste > li.aktiv > a { box-shadow: none; }
  .hat-unter > a::after { display: none; }
  .unter { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; }
  .unter a { padding: 9px 0; color: var(--grau); }
  .nav .tel-klein { margin-top: 18px; text-align: center; padding: 14px; }
}
@media (min-width: 961px) { .kopf-logo img { height: 42px; } }

/* Seitenkopf der Unterseiten */
.seitenkopf { background: var(--kalk); }
.seitenkopf-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.seitenkopf.mit-bild .seitenkopf-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.seitenkopf-text { display: flex; flex-direction: column; gap: 20px; }
.seitenkopf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.seitenkopf .lead { font-size: 1.2rem; color: var(--grau); max-width: 36em; }
.seitenkopf-bild { aspect-ratio: 4 / 3; overflow: hidden; box-shadow: 0 0 0 1px var(--linie); }
.seitenkopf-bild img { width: 100%; height: 100%; object-fit: cover; }
.pfad { font-size: .92rem; color: var(--grau); display: flex; flex-wrap: wrap; gap: 8px; }
.pfad a { color: var(--grau); }
.pfad [aria-current] { color: var(--schrift); font-weight: 500; }
@media (max-width: 860px) { .seitenkopf.mit-bild .seitenkopf-inner { grid-template-columns: 1fr; gap: 32px; } }

.abschnitt-oben-eng { padding-top: clamp(40px, 6vw, 72px); }

/* Fließtext-Spalten */
.zweispaltig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.fliesstext h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 18px; }
.fliesstext h2:not(:first-child) { margin-top: 40px; }
.fliesstext p { max-width: 38em; }
.fliesstext p + p { margin-top: 16px; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } }

.punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.punkte li { position: relative; padding-left: 28px; }
.punkte li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 3px; background: var(--licht); box-shadow: var(--glow); }

.partner-logo { display: inline-block; margin-top: 24px; }
.partner-logo img { width: 220px; }

/* Teaser-Kacheln (Leistungen) */
.teaser-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--linie); border: 2px solid var(--linie); }
.teaser { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px; background: var(--weiss); color: var(--schrift); text-decoration: none; position: relative; }
.teaser::before { content: ""; position: absolute; top: 0; left: 28px; width: 44px; height: 3px; background: var(--licht); box-shadow: var(--glow); }
.teaser p { color: var(--grau); flex: 1; }
.teaser .mehr { color: var(--blau); font-weight: 600; }
.teaser:hover { background: #F7F9FA; }
.teaser:hover .mehr { text-decoration: underline; text-underline-offset: 4px; }
.teaser-dunkel { background: var(--tiefblau); }
.teaser-dunkel h3 { color: var(--weiss); }
.teaser-dunkel p { color: #CFDCE6; }
.teaser-dunkel .mehr { color: var(--licht); }
.teaser-dunkel:hover { background: var(--blau); }
.abschnitt-kalk .teaser-liste { background: var(--linie); }
.klein-titel { font-size: 1.6rem; margin-bottom: 28px; }
@media (max-width: 960px) { .teaser-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .teaser-liste { grid-template-columns: 1fr; } }

/* Schwerpunkte auf der Startseite */
.schwerpunkte { display: grid; gap: clamp(56px, 8vw, 96px); }
.schwerpunkt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.schwerpunkt-gedreht .schwerpunkt-bild { order: 2; }
.schwerpunkt-bild { aspect-ratio: 4 / 5; overflow: hidden; }
.schwerpunkt-bild img { width: 100%; height: 100%; object-fit: cover; }
.schwerpunkt-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.schwerpunkt-text p { color: var(--grau); max-width: 36em; }
.schwerpunkt-text .knopf { margin-top: 8px; }
@media (max-width: 860px) {
  .schwerpunkt { grid-template-columns: 1fr; }
  .schwerpunkt-gedreht .schwerpunkt-bild { order: 0; }
  .schwerpunkt-bild { aspect-ratio: 4 / 3; }
}

/* Ablauf */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: schritt; }
.ablauf li { counter-increment: schritt; border-top: 2px solid var(--linie); padding-top: 18px; }
.ablauf li::before { content: counter(schritt); display: block; font-family: "Inter Display", sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--blau); margin-bottom: 14px; }
.ablauf li:first-child { border-top-color: var(--licht); box-shadow: 0 -1px 8px -2px rgba(243,178,65,.6); }
.ablauf h3 { font-size: 1.15rem; margin-bottom: 6px; }
.ablauf p { color: var(--grau); font-size: 1rem; }
@media (max-width: 960px) { .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

.kopfzeile-mit-link { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kopfzeile-mit-link > div { max-width: 40em; }

/* Einsatzgebiet */
.gebiet { align-items: start; }
.gebiet-text { margin-top: 16px; color: var(--grau); font-size: 1.12rem; max-width: 32em; }
.radien { margin: 0; display: grid; gap: 0; }
.radien > div { display: grid; grid-template-columns: 14px 1fr; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.radien > div:first-child { border-top: 1px solid var(--linie); }
.radien > div::before { content: ""; grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; border: 3px solid var(--blau); }
.radien > div:nth-child(2)::before { border-style: dashed; }
.radien > div:nth-child(3)::before { border-color: var(--licht); box-shadow: var(--glow); }
.radien dt { font-family: "Inter Display", sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--tiefblau); }
.radien dd { margin: 2px 0 0; color: var(--grau); }

/* Leistungsübersicht */
.leistung-reihen { display: grid; gap: 2px; background: var(--linie); border: 2px solid var(--linie); }
.leistung-reihe { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--weiss); color: var(--schrift); text-decoration: none; }
.leistung-reihe-bild { overflow: hidden; aspect-ratio: 3 / 2; }
.leistung-reihe-bild img { width: 100%; height: 100%; object-fit: cover; }
.leistung-reihe-text { padding: 28px clamp(20px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.leistung-reihe-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.leistung-reihe-text p { color: var(--grau); max-width: 40em; }
.leistung-reihe .mehr { color: var(--blau); font-weight: 600; }
.leistung-reihe:hover { background: #F7F9FA; }
.leistung-reihe:hover .mehr { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .leistung-reihe { grid-template-columns: 1fr; } }

/* Über uns */
.ueber-seite figure { margin: 0; }
.ueber-seite figcaption { padding-top: 12px; font-size: .95rem; color: var(--grau); }

/* Kontakt */
.kontakt-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--linie); border: 2px solid var(--linie); }
.kontakt-karten > div { background: var(--weiss); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.kontakt-karten h2 { font-family: "Inter", sans-serif; font-weight: 500; font-size: 1rem; color: var(--grau); letter-spacing: 0; }
.kontakt-karten a, .kontakt-karten address { font-family: "Inter Display", sans-serif; font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--tiefblau); text-decoration: none; font-style: normal; overflow-wrap: anywhere; line-height: 1.3; }
.kontakt-karten a:hover { color: var(--blau); text-decoration: underline; }
.kontakt-karten p { color: var(--grau); font-size: .95rem; }
@media (max-width: 860px) { .kontakt-karten { grid-template-columns: 1fr; } }

/* Anruf-Band: E-Mail */
.klein-tel .mail { font-family: "Inter", sans-serif; font-weight: 500; font-size: 1rem; color: #CFDCE6; text-decoration: underline; text-underline-offset: 3px; white-space: normal; }
.klein-tel .mail:hover { color: var(--weiss); }

/* Fuß, mehrspaltig */
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.fuss-firma img { height: 38px; width: auto; }
.fuss-firma p { margin-top: 16px; max-width: 22em; }
.fuss h2 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 1rem; color: var(--weiss); margin-bottom: 14px; letter-spacing: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.fuss-unten nav { display: flex; gap: 24px; }
@media (max-width: 960px) { .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fuss-firma { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss-raster { grid-template-columns: 1fr; } }

.teaser-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .teaser-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .teaser-vier { grid-template-columns: 1fr; } }
