/*
Theme Name: DEG POWER
Theme URI: https://degpower.de/
Author: DEG POWER
Description: Schlankes klassisches WordPress Theme für DEG POWER Elektrotechnik aus Blender. Startseite und Unterseiten sind im Blockeditor bearbeitbar. Keine externen Schriften, keine Tracking Dienste, keine Abhängigkeiten.
Version: 1.3.0
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: deg-power
*/

/* ---------- Grundlagen ---------- */
:root {
  --navy: #0a1340;
  --navy-2: #121e57;
  --navy-3: #1d2c70;
  --yellow: #f7d533;
  --yellow-2: #ffe36b;
  --blue: #0b5ce8;
  --blue-soft: #e8f0fe;
  --ink: #141b38;
  --muted: #4f5a74;
  --line: #dde3ee;
  --bg: #f5f7fb;
  --white: #fff;
  --on-navy: #d9e2f5;
  --radius: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: inherit; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.page-hero :focus-visible, .deg-hero :focus-visible, .site-footer :focus-visible, .deg-process :focus-visible { outline-color: var(--yellow); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.deg-icon { flex: none; }

/* ---------- Schaltflächen ---------- */
.btn,
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border: 2px solid transparent; border-radius: 8px;
  background: var(--navy); color: var(--white); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover, .wp-block-button__link:hover { background: var(--navy-3); color: var(--white); }
.btn--yellow, .is-style-deg-yellow .wp-block-button__link { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover, .is-style-deg-yellow .wp-block-button__link:hover { background: var(--yellow-2); color: var(--navy); }
.btn--outline, .is-style-deg-outline .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline:hover, .is-style-deg-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.btn--white, .is-style-deg-white .wp-block-button__link { background: var(--white); color: var(--navy); }
.btn--white:hover, .is-style-deg-white .wp-block-button__link:hover { background: var(--blue-soft); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.25em; }
.wp-block-button { margin: 0; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { flex: none; display: block; margin-right: auto; }
.brand__logo { display: block; width: 224px; height: auto; }
.site-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); font-weight: 650; font-size: .98rem; text-decoration: none; }
.site-nav a:hover { background: var(--bg); color: var(--navy); }
.site-nav .current-menu-item > a { color: var(--navy); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 6px 6px 0 0; }
.header-call { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 8px; background: var(--yellow); color: var(--navy); font-weight: 750; text-decoration: none; white-space: nowrap; }
.header-call:hover { background: var(--yellow-2); color: var(--navy); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand__logo { width: 184px; }
  .site-header__inner { gap: 10px; }
  .header-call { width: 46px; padding: 0; justify-content: center; }
  .header-call__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); font-weight: 700; cursor: pointer; }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -6px; }
  .menu-toggle__bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(10, 19, 64, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .site-nav .current-menu-item > a { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; border-radius: 0; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-nav { order: 5; width: 100%; }
  .no-js .menu-toggle { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 380px) {
  .brand__logo { width: 150px; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { width: 46px; justify-content: center; padding: 0; }
}

/* ---------- Gemeinsame Bausteine ---------- */
.deg-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.deg-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }
.deg-illu { display: block; line-height: 0; }
.deg-illu img { display: block; width: 100%; height: auto; }

.is-style-deg-check { list-style: none; padding: 0; margin: 0 0 1.25em; }
.is-style-deg-check li { position: relative; padding: 0 0 0 32px; margin: 0 0 .6em; }
.is-style-deg-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%230a1340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

.is-style-deg-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.is-style-deg-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 70px; background: var(--bg); border-radius: var(--radius); min-height: 72px; }
.is-style-deg-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; }
.is-style-deg-steps li strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- Startseite ---------- */
/* Klassische Themes erhalten von WordPress einen zusätzlichen Container in Gruppenblöcken.
   Mit display: contents gelten Raster und Abstände direkt für die enthaltenen Blöcke. */
.home-content .wp-block-group__inner-container,
.entry-content .wp-block-group__inner-container { display: contents; }
.home-content > * { margin: 0; }
.home-content .wp-block-group { margin: 0; }
.home-content .deg-section-head { margin-bottom: 32px; }
.deg-section { padding: clamp(48px, 7vw, 84px) max(var(--gutter), (100% - var(--wrap)) / 2); }
.deg-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 12px 48px; align-items: end; margin-bottom: 32px; }
.deg-section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0; }
.deg-section-head .deg-eyebrow { grid-column: 1 / -1; margin: 0; }
.deg-section-head > p:last-child:not(.deg-eyebrow) { color: var(--muted); margin: 0; }

.deg-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 72px) max(var(--gutter), (100% - var(--wrap)) / 2) clamp(40px, 5vw, 64px); }
.deg-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.deg-hero > * { position: relative; }
.deg-hero .wp-block-columns { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; margin: 0; }
.deg-hero .wp-block-column { min-width: 0; }
.deg-hero .deg-eyebrow { color: var(--yellow); }
.deg-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -.035em; margin: 0 0 18px; max-width: 14em; }
.deg-hero h1 mark, .deg-hero h1 .deg-accent { background: none; color: var(--yellow); }
.deg-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-navy); max-width: 34em; margin-bottom: 26px; }
.deg-facts { list-style: none; padding: 20px 0 0; margin: 8px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-navy); font-size: .95rem; }
.deg-facts li { display: flex; align-items: center; gap: 8px; }
.deg-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.deg-facts strong { color: var(--white); }
.deg-hero .deg-illu--haus { max-width: 540px; margin-inline: auto; }

.deg-services { background: var(--white); }
.deg-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.deg-service { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px 8px 24px 0; border-bottom: 1px solid var(--line); }
.deg-service .deg-illu { background: var(--blue-soft); border-radius: 12px; padding: 8px; transition: background-color .15s; }
.deg-service h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.deg-service h3 a { color: var(--navy); text-decoration: none; }
.deg-service h3 a::after { content: ""; position: absolute; inset: 0; }
.deg-service h3 a::before { content: "→"; float: right; margin-left: 12px; color: var(--blue); transition: transform .15s; }
.deg-service p { color: var(--muted); margin: 0; font-size: 1rem; }
.deg-service:hover .deg-illu { background: #fff4bf; }
.deg-service:hover h3 a::before { transform: translateX(4px); }
.deg-service:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.deg-service h3 a:focus-visible { outline: none; }
.deg-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 28px 0 0 !important; padding: 16px 20px; border-left: 5px solid var(--yellow); background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; }
.deg-notice a { font-weight: 700; }

.deg-process { background: var(--navy); color: var(--white); }
.deg-process .deg-eyebrow { color: var(--yellow); }
.deg-process .deg-section-head > p:last-child:not(.deg-eyebrow) { color: var(--on-navy); }
.deg-process .is-style-deg-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.deg-process .is-style-deg-steps li { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-navy); padding: 70px 22px 22px; }
.deg-process .is-style-deg-steps li::before { background: var(--yellow); color: var(--navy); top: 20px; left: 22px; }
.deg-process .is-style-deg-steps li strong { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }

.deg-local { background: var(--bg); }
.deg-local .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.deg-card { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); }
.deg-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.deg-card p:last-child { margin-bottom: 0; }
.deg-card .deg-illu--marke { width: 92px; margin-bottom: 18px; }
.deg-card .deg-illu--kontakt { max-width: 220px; margin-bottom: 18px; }
.deg-card-meta { color: var(--muted); font-size: .95rem; }

.deg-cta { background: var(--yellow); color: var(--navy); }
.deg-cta .wp-block-columns { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; margin: 0; }
.deg-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.deg-cta p { margin: 0; }
.deg-cta .wp-block-buttons { margin: 0 0 10px; }
.deg-cta .deg-small { font-size: .95rem; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 60px); }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.page-hero--illu .page-hero__inner { grid-template-columns: minmax(0, 1fr) 240px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.03em; margin: 0 0 14px; max-width: 18em; }
.page-hero__lead { color: var(--on-navy); font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 40em; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-hero__illu { background: var(--white); border-radius: 16px; padding: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.page--contact .page-hero__illu { padding: 10px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .9rem; color: var(--on-navy); }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; opacity: .6; }
.breadcrumb a { color: var(--yellow); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--yellow); }

.entry { padding: clamp(40px, 6vw, 64px) 0; }
.entry-content { max-width: 880px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.6em 0 .55em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.entry-content p, .entry-content li { max-width: 68ch; }
.entry-content .is-style-deg-steps li, .entry-content .deg-note, .entry-content .deg-warning, .entry-content .deg-open { max-width: none; }
.entry-content ul:not([class]), .entry-content ol:not([class]), .entry-content .wp-block-list:not([class*="is-style"]) { padding-left: 1.3em; }
.entry-content .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin: 1.6em 0; }
.entry-content .wp-block-column { min-width: 0; }
.entry-content .wp-block-column > h2:first-child, .entry-content .wp-block-column > h3:first-child { margin-top: 0; }
.entry-content .deg-intro { font-size: 1.15rem; color: var(--ink); }
.entry-content .deg-panel { background: var(--bg); border-radius: 14px; padding: clamp(20px, 3vw, 28px); }
.entry-content .deg-panel > :last-child { margin-bottom: 0; }
.entry-content .deg-panel h2 { margin-top: 0; }
.entry-content .deg-note { border-left: 5px solid var(--yellow); background: var(--bg); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.entry-content .deg-warning { border-left: 5px solid #c62828; background: #fdf1f1; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.entry-content .deg-service-list { margin: 1.2em 0 2em; grid-template-columns: minmax(0, 1fr); }
.entry-content .deg-service { grid-template-columns: 96px minmax(0, 1fr); }
.entry-content .deg-service h3 { margin-top: 2px; }
.entry-content .wp-block-table { margin: 1.2em 0 2em; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.entry-content thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.entry-content thead th:first-child { border-radius: 8px 0 0 0; }
.entry-content thead th:last-child { border-radius: 0 8px 0 0; }
.entry-content td a { font-weight: 700; }
.link-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.link-list a { font-weight: 700; font-size: 1.1rem; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .deg-icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.contact-list__label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-list a { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.map-slot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; background: var(--bg); border-radius: 14px; padding: 16px; margin: 0 0 1.5em; }
.map-slot__text { font-size: 1.05rem; }

.related { background: var(--bg); padding: clamp(36px, 5vw, 56px) 0; }
.related__title { font-size: 1.4rem; margin-bottom: 18px; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.related__link { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.related__link:hover { border-color: var(--blue); color: var(--ink); }
.related__link .deg-illu { width: 64px; flex: none; background: var(--blue-soft); border-radius: 8px; padding: 4px; }
.related__link strong { display: block; color: var(--navy); line-height: 1.25; }
.related__link small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; margin-top: 2px; }

.cta-band { background: var(--yellow); color: var(--navy); padding: clamp(36px, 5vw, 56px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Rechtstexte */
.page--legal .entry-content { max-width: 760px; }
.page--legal .entry-content h2 { font-size: 1.4rem; }
.deg-open { background: #fff4bf; border: 2px dashed #b89400; border-radius: 8px; padding: 12px 16px; }

.post-list article { border-bottom: 1px solid var(--line); padding: 0 0 20px; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #070e30; color: #c5cfe6; font-size: .96rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.site-footer__brand img { display: block; width: 210px; margin-bottom: 14px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__title { color: var(--yellow); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal a { display: inline-block; padding: 4px 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .deg-hero .wp-block-columns { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .deg-hero .deg-illu--haus { max-width: 420px; }
  .deg-section-head { grid-template-columns: minmax(0, 1fr); }
  .deg-service-list { grid-template-columns: minmax(0, 1fr); }
  .deg-process .is-style-deg-steps { grid-template-columns: minmax(0, 1fr); }
  .deg-process .is-style-deg-steps li { padding: 18px 20px 18px 74px; }
  .deg-process .is-style-deg-steps li::before { top: 18px; left: 20px; }
  .deg-local .wp-block-columns, .entry-content .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
  .deg-cta .wp-block-columns, .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero--illu .page-hero__inner { grid-template-columns: minmax(0, 1fr) 160px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .deg-hero .wp-block-buttons .wp-block-button, .page-hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .deg-hero .wp-block-button__link { width: 100%; }
  .deg-hero .deg-illu--haus { max-width: 300px; }
  .deg-facts { flex-direction: column; gap: 8px; }
  .deg-service, .entry-content .deg-service { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .deg-service h3 { font-size: 1.12rem; }
  .page-hero--illu .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .page-hero__illu { display: none; }
  .related__list, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .map-slot { grid-template-columns: minmax(0, 1fr); }
  .entry-content th, .entry-content td { padding: 10px; }
  .cta-band__actions .btn, .deg-cta .wp-block-button { width: 100%; }
  .deg-cta .wp-block-button__link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .menu-toggle, .cta-band, .related, .site-footer__grid { display: none; }
  .page-hero, .deg-hero, .deg-process { background: none; color: #000; }
}
