/* ==========================================================================
   Leisner Lohndienstleistungen – WordPress-Block-Theme
   Schriften lokal (SIL OFL). Keine externen Abhängigkeiten.
   ========================================================================== */

/* ---------- Schriften ---------- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

/* ---------- Designwerte ---------- */
:root {
  --c-anthracite: #181A1B;
  --c-anthracite-2: #232628;
  --c-offwhite: #F6F5F1;
  --c-white: #FFFFFF;
  --c-strip: #ECEAE4;
  --c-accent: #FFB000;
  --c-accent-dark: #E09A00;
  --c-text: #181A1B;
  --c-text-muted: #4A4D50;
  --c-text-light: #F6F5F1;
  --c-text-light-muted: #C9CBCC;

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-kicker: 0.875rem;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --header-h: 84px;

  --focus: var(--c-accent);
  --ease: cubic-bezier(.2,.7,.2,1);

  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-offwhite);
  overflow-x: hidden;
}
.wp-site-blocks { padding: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.admin-bar .wp-site-blocks { min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px)); min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px)); }
.wp-site-blocks > .site-main { flex: 1 0 auto; }
.wp-site-blocks > .site-footer { margin-top: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.0; letter-spacing: 0.005em; margin: 0; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.1; }
p { margin: 0; }
.site-header ul, .site-main ul, .site-footer ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* WordPress-Standardabstände neutralisieren */
.site-main .wp-block-image { margin: 0; }
.site-main .wp-block-image img { vertical-align: bottom; }
.site-main .wp-block-image figcaption.wp-element-caption { margin: 0; text-align: left; }
.site-main .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-main .wp-block-button { margin: 0; }

.screen-reader-text:focus, .skip-link:focus { z-index: 1000; }

/* Sichtbare Fokuszustände */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.section-light, .site-header, .service-strip, .section-accent { --focus: var(--c-anthracite); }
.hero, .section-dark, .site-footer { --focus: var(--c-accent); }

/* ---------- Kicker ---------- */
.kicker {
  font-family: var(--f-body); font-weight: 600; font-size: var(--fs-kicker);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.25rem; display: inline-block;
}
.kicker::after { content: ""; display: block; width: 56px; height: 4px; background: var(--c-accent); margin-top: .6rem; }
.kicker-light { color: var(--c-text-light); }

/* ---------- Buttons (eckig) – Header-Links (.btn) und Button-Blöcke ---------- */
.btn,
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.2; letter-spacing: .02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active, .wp-block-button .wp-block-button__link:active { transform: translateY(1px); }
.btn-primary, .wp-block-button.btn-primary > .wp-block-button__link { background: var(--c-accent); color: var(--c-anthracite); border-color: var(--c-accent); }
.btn-primary:hover, .wp-block-button.btn-primary > .wp-block-button__link:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: var(--c-anthracite); }
.wp-block-button.btn-ghost-light > .wp-block-button__link { background: rgba(24,26,27,.35); color: var(--c-white); border-color: var(--c-white); }
.wp-block-button.btn-ghost-light > .wp-block-button__link:hover { background: var(--c-white); color: var(--c-anthracite); }
.wp-block-button.btn-dark > .wp-block-button__link { background: var(--c-anthracite); color: var(--c-white); border-color: var(--c-anthracite); }
.wp-block-button.btn-dark > .wp-block-button__link:hover { background: #000; border-color: #000; color: var(--c-white); }
.wp-block-button.btn-outline-dark > .wp-block-button__link { background: transparent; color: var(--c-anthracite); border-color: var(--c-anthracite); }
.wp-block-button.btn-outline-dark > .wp-block-button__link:hover { background: var(--c-anthracite); color: var(--c-accent); }

/* Icons in Buttons per CSS-Maske (bleiben beim Bearbeiten im Editor erhalten) */
.wp-block-button.icon-phone > .wp-block-button__link::before,
.wp-block-button.icon-mail > .wp-block-button__link::before {
  content: ""; width: 1.15em; height: 1.15em; flex: none; background: currentColor;
  -webkit-mask: var(--icon-phone) center / contain no-repeat; mask: var(--icon-phone) center / contain no-repeat;
}
.wp-block-button.icon-mail > .wp-block-button__link::before { -webkit-mask-image: var(--icon-mail); mask-image: var(--icon-mail); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid #E4E2DC;
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); position: relative; }
.brand { display: block; flex: none; padding-block: 8px; }
.brand img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2.25rem; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav ul a {
  font-family: var(--f-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: .01em;
  text-decoration: none; padding-block: .5rem; position: relative;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  min-height: 48px; padding: 0 .9rem;
  background: var(--c-anthracite); color: var(--c-white); border: 0; border-radius: 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s var(--ease), opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 150px; }
  .js .nav-toggle { display: inline-flex; }
  .js .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-white); border-bottom: 4px solid var(--c-accent);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 16px 32px rgba(0,0,0,.12);
  }
  .js .main-nav:not(.is-open) { display: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid #E4E2DC; font-size: 1.375rem; }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 1.25rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: .75rem; }
  html:not(.js) .main-nav { flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  html:not(.js) .main-nav ul a { border: 0; padding: .25rem 0; font-size: 1.125rem; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--c-anthracite); color: var(--c-white);
  min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: center;
}
.site-main .hero > .hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.site-main .hero > .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,15,16,.94) 0%, rgba(14,15,16,.82) 32%, rgba(14,15,16,.35) 58%, rgba(14,15,16,.05) 80%),
    linear-gradient(0deg, rgba(14,15,16,.55) 0%, rgba(14,15,16,0) 30%);
}
.hero-content { padding-block: clamp(4rem, 8vw, 6rem); }
.hero h1 { font-size: var(--fs-h1); max-width: 11ch; margin-bottom: 1.5rem; text-wrap: balance; color: var(--c-white); }
.hero-lead { font-size: var(--fs-lead); max-width: 30ch; color: var(--c-text-light); margin-bottom: 2.25rem; }

@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .site-main .hero > .hero-media { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; }
  .site-main .hero > .hero-media img { object-position: 50% 50%; }
  .hero::before {
    inset: auto 0 auto 0; top: 0; aspect-ratio: 4 / 3; z-index: 1;
    background: linear-gradient(0deg, rgba(24,26,27,1) 0%, rgba(24,26,27,0) 28%);
  }
  .hero-content { position: relative; z-index: 2; margin-top: -2.5rem; padding-top: 0; padding-bottom: 2.75rem; }
  .hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
  .hero .wp-block-buttons .wp-block-button__link { width: 100%; }
}

/* ---------- Leistungsleiste ---------- */
.service-strip { background: var(--c-strip); border-bottom: 1px solid #DDDAD2; }
.service-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-strip li { position: relative; }
.service-strip li + li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 28px; transform: translateY(-50%); background: var(--c-accent);
}
.service-strip a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 72px; padding: .75rem 1rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  text-decoration: none;
}
.service-strip a:hover { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Smartphone: drei gleich breite Felder, Akzentstrich über dem Text, dünne Trennlinien */
@media (max-width: 640px) {
  .service-strip ul { padding-inline: 0; }
  .service-strip li + li::before { top: 1rem; bottom: 1rem; height: auto; width: 1px; transform: none; background: #D3D0C7; }
  .service-strip a {
    flex-direction: column; justify-content: flex-start; gap: .5rem;
    min-height: 84px; padding: 1rem .6rem;
    font-size: 1rem; line-height: 1.15; text-wrap: balance; hyphens: manual;
  }
  .service-strip a::before { content: ""; width: 24px; height: 3px; background: var(--c-accent); flex: none; }
  .service-strip a:hover { text-decoration: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-light { background: var(--c-offwhite); }
.section-dark { background: var(--c-anthracite); color: var(--c-text-light); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-accent { background: var(--c-accent); color: var(--c-anthracite); }
.section h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); text-wrap: balance; }
.section-lead { font-size: var(--fs-lead); color: var(--c-text-light-muted); max-width: 46ch; margin: -1.5rem 0 clamp(2rem, 4vw, 3rem); }

/* ---------- Leistungs-Karten (immer nebeneinander) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.card { background: var(--c-white); display: flex; flex-direction: column; }
.site-main .card-media { aspect-ratio: 1 / 1; overflow: hidden; background: #DDD; }
.site-main .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.5rem 1.5rem 1.75rem; border-top: 4px solid var(--c-accent); flex: 1; }
.card-num { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--c-anthracite); line-height: 1; margin-bottom: .5rem; }
.card h3 { margin-bottom: .75rem; }
.card p:not(.card-num) { color: var(--c-text-muted); }
@media (max-width: 900px) {
  .cards { gap: 1rem; }
  .card-body { padding: 1.1rem 1rem 1.25rem; }
  .card h3 { font-size: 1.375rem; }
  .card p:not(.card-num) { font-size: .9375rem; }
}
@media (max-width: 640px) {
  .cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
  }
  .card { scroll-snap-align: start; }
}

/* ---------- Maschinen: ein Foto + Infospalte (Maschinen, Einsatzorte) ---------- */
.machines { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.site-main .machine { margin: 0; background: var(--c-anthracite-2); }
.site-main .machine img { width: 100%; aspect-ratio: 4 / 4.4; height: auto; object-fit: cover; object-position: 50% 60%; }
.site-main .machine figcaption.wp-element-caption {
  display: block; background: var(--c-offwhite); color: var(--c-text-muted); font-size: .9375rem;
  padding: 1rem 1.25rem; border-left: 6px solid var(--c-accent);
}
.machine figcaption strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: 1.625rem; line-height: 1.1; color: var(--c-anthracite); }
.machine-info { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.5rem); }
.machine-types { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; border-top: 1px solid #3A3D40; padding-top: 1.5rem; }
.section .machine-types h3 { font-family: var(--f-body); font-weight: 600; font-size: var(--fs-kicker); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-light-muted); margin: 0; }
.machine-types ul { display: flex; flex-wrap: wrap; gap: .75rem; }
.machine-types li {
  font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; line-height: 1;
  padding: .6rem 1rem; border: 2px solid var(--c-accent); color: var(--c-white);
}
@media (max-width: 760px) {
  .machines { grid-template-columns: 1fr; }
  .site-main .machine img { aspect-ratio: 4 / 3; }
  .machine-types li { font-size: 1.1875rem; padding: .5rem .85rem; }
}

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.site-main .about-media { aspect-ratio: 4 / 5; overflow: hidden; }
.site-main .about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.about-text h2 { margin-bottom: 1.75rem; }
.person-name { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; }
.person-role { color: var(--c-text-muted); font-weight: 500; margin-bottom: 1.25rem; }
.about-copy { font-size: var(--fs-lead); max-width: 40ch; margin-bottom: 2rem; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .site-main .about-media { aspect-ratio: 4 / 3.4; }
  .site-main .about-media img { object-position: 30% 35%; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-intro { border-right: 2px solid rgba(24,26,27,.35); padding-right: clamp(1rem, 4vw, 3rem); }
.section .contact-intro h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.contact-sub { font-size: var(--fs-lead); font-weight: 600; }
.contact-list { display: grid; gap: 1rem; margin-bottom: 2rem !important; }
.contact-list li { display: flex; align-items: center; gap: .9rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); font-weight: 500; min-width: 0; min-height: 44px; }
.contact-list li::before {
  content: ""; width: 1.15em; height: 1.15em; flex: none; background: currentColor;
  -webkit-mask: var(--icon-pin) center / contain no-repeat; mask: var(--icon-pin) center / contain no-repeat;
}
.contact-list li.contact-phone::before { -webkit-mask-image: var(--icon-phone); mask-image: var(--icon-phone); }
.contact-list li.contact-mail::before { -webkit-mask-image: var(--icon-mail); mask-image: var(--icon-mail); }
.contact-list a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list li.contact-phone a { font-weight: 700; font-family: var(--f-display); font-size: 1.6em; letter-spacing: .01em; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { border-right: 0; padding-right: 0; border-bottom: 2px solid rgba(24,26,27,.35); padding-bottom: 2rem; }
  .section-accent .wp-block-buttons .wp-block-button { flex: 1 1 220px; }
  .section-accent .wp-block-buttons .wp-block-button__link { width: 100%; }
}

/* ---------- Kontaktformular ---------- */
.contact-form-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact-form-wrap { background: var(--c-white); color: var(--c-anthracite); padding: clamp(1.5rem, 4vw, 3rem); border-top: 6px solid var(--c-anthracite); scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-form-title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); margin-bottom: 1.5rem; }
.contact-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.contact-form .form-field { display: flex; flex-direction: column; gap: .4rem; margin: 0; }
.contact-form .form-field-wide { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; font-size: .9375rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--c-anthracite);
  background: var(--c-offwhite); border: 2px solid #8A8D90; border-radius: 0; box-sizing: border-box;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 0; border-color: var(--c-anthracite); }
.contact-form input::placeholder { color: #6B6E71; }
.contact-form .form-note { font-size: .875rem; color: var(--c-text-muted); margin: 1.25rem 0 0; max-width: 70ch; }
.contact-form .form-note a { color: var(--c-anthracite); }
.contact-form .form-submit { margin: 1.5rem 0 0; }
.contact-form .btn-dark { background: var(--c-anthracite); color: var(--c-white); border-color: var(--c-anthracite); cursor: pointer; }
.contact-form .btn-dark:hover { background: #000; border-color: #000; }
.contact-form .form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1.1rem; margin: 0 0 1.5rem; font-weight: 600; border-left: 6px solid; }
.form-status-success { background: #E5F4E4; border-color: #2E7D32; color: #1B4D1E; }
.form-status-error { background: #FBEBEB; border-color: #B3261E; color: #7A1A14; }
@media (max-width: 640px) {
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .contact-form .btn-dark { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0F1011; color: var(--c-text-light-muted); padding-block: 2.5rem; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 1.5rem 2.5rem; align-items: center; }
.footer-logo { display: block; }
.footer-logo img { width: 170px; }
.footer-company { border-left: 1px solid #3A3D40; padding-left: 2rem; }
.footer-title { color: var(--c-white); font-weight: 600; }
.footer-company a, .footer-legal a { text-decoration: none; }
.footer-company a:hover, .footer-legal a:hover { color: var(--c-accent); text-decoration: underline; }
.footer-company a { overflow-wrap: anywhere; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--c-white); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: auto minmax(0, 1fr); }
  .footer-legal, .footer-copy { grid-column: 1 / -1; }
  .footer-copy { border-top: 1px solid #2A2D30; padding-top: 1rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { justify-self: start; }
  .footer-company { border-left: 0; padding-left: 0; }
}

/* ---------- Rechtliche Seiten / Standardseiten ---------- */
.legal { padding-block: var(--section-y); }
.legal h1 { font-size: var(--fs-h2); margin-bottom: 2rem; }
.legal h2 { font-size: var(--fs-h3); margin: 2.5rem 0 .75rem; }
.legal p, .legal li { max-width: 70ch; }
.legal p + p { margin-top: 1rem; }
.site-main.legal ul { list-style: square; padding-left: 1.25rem; display: grid; gap: .35rem; }
.legal .notice { background: #FFF4D6; border: 2px solid var(--c-accent); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.legal a { text-underline-offset: 3px; }

/* ---------- Dezente Animationen (Klasse .reveal setzt main.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover .card-media img { transform: none; }
}

/* ---------- Editor: Animationen aus, Header nicht sticky ---------- */
.editor-styles-wrapper .reveal { opacity: 1 !important; transform: none !important; }
