.mod_visitors .invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    float: left;
	width:0px;
	height:0px;
}
/**
 * CLICKPRESS CSS-Grid
 * @author: Stefan Schulz-Lauterbach
 *
 * thanks to Dinko Skopljak for co-working
 */
.justify-items-start {
  justify-items: start;
}

.justify-items-center {
  justify-items: center;
}

.justify-items-end {
  justify-items: end;
}

.justify-items-stretch {
  justify-items: stretch;
}

.content-start {
  align-content: start;
}

.content-center {
  align-content: center;
}

.content-end {
  align-content: end;
}

.items-start {
  align-items: start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: end;
}

.items-stretch {
  align-items: stretch;
}

.items-baseline {
  align-items: baseline;
}

[class*=grid_] {
  display: grid;
  grid-gap: 1rem;
}
[class*=grid_] > .block {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .grid_mobile_100 {
    grid-template-columns: 1fr;
  }
  .grid_mobile_50_50 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid_mobile_33_33_33 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid_mobile_25_25_25_25 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid_mobile_75_25 {
    grid-template-columns: 3fr 1fr;
  }
  .grid_mobile_25_75 {
    grid-template-columns: 1fr 3fr;
  }
  .grid_mobile_66_33 {
    grid-template-columns: 2fr 1fr;
  }
  .grid_mobile_33_66 {
    grid-template-columns: 1fr 2fr;
  }
  .grid_mobile_60_40 {
    grid-template-columns: 3fr 2fr;
  }
  .grid_mobile_40_60 {
    grid-template-columns: 2fr 3fr;
  }
  .grid_mobile_50_25_25 {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid_mobile_25_50_25 {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .grid_mobile_25_25_50 {
    grid-template-columns: 1fr 1fr 2fr;
  }
  .grid_mobile_40_30_30 {
    grid-template-columns: 4fr 3fr 3fr;
  }
  .grid_mobile_30_40_30 {
    grid-template-columns: 3fr 4fr 3fr;
  }
  .grid_mobile_30_30_40 {
    grid-template-columns: 3fr 3fr 4fr;
  }
  .gap_mobile_0 {
    grid-gap: 0;
  }
  .gap_mobile_1 {
    grid-gap: 1rem;
  }
  .gap_mobile_2 {
    grid-gap: 2rem;
  }
  .gap_mobile_3 {
    grid-gap: 3rem;
  }
  .gap_mobile_4 {
    grid-gap: 4rem;
  }
  .gap_mobile_5 {
    grid-gap: 5rem;
  }
  .gap_mobile_6 {
    grid-gap: 6rem;
  }
  .gap_mobile_7 {
    grid-gap: 7rem;
  }
  .gap_mobile_8 {
    grid-gap: 8rem;
  }
  .gap_mobile_9 {
    grid-gap: 9rem;
  }
  .gap_mobile_10 {
    grid-gap: 10rem;
  }
  .gap_mobile_11 {
    grid-gap: 11rem;
  }
  .gap_mobile_12 {
    grid-gap: 12rem;
  }
}
@media (min-width: 768px) {
  .grid_tablet_100 {
    grid-template-columns: 1fr;
  }
  .grid_tablet_50_50 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid_tablet_33_33_33 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid_tablet_25_25_25_25 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid_tablet_75_25 {
    grid-template-columns: 3fr 1fr;
  }
  .grid_tablet_25_75 {
    grid-template-columns: 1fr 3fr;
  }
  .grid_tablet_66_33 {
    grid-template-columns: 2fr 1fr;
  }
  .grid_tablet_33_66 {
    grid-template-columns: 1fr 2fr;
  }
  .grid_tablet_60_40 {
    grid-template-columns: 3fr 2fr;
  }
  .grid_tablet_40_60 {
    grid-template-columns: 2fr 3fr;
  }
  .grid_tablet_50_25_25 {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid_tablet_25_50_25 {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .grid_tablet_25_25_50 {
    grid-template-columns: 1fr 1fr 2fr;
  }
  .grid_tablet_40_30_30 {
    grid-template-columns: 4fr 3fr 3fr;
  }
  .grid_tablet_30_40_30 {
    grid-template-columns: 3fr 4fr 3fr;
  }
  .grid_tablet_30_30_40 {
    grid-template-columns: 3fr 3fr 4fr;
  }
  .grid_tablet_20_40_40 {
    grid-template-columns: 1fr 2fr 2fr;
  }
  .grid_tablet_40_20_40 {
    grid-template-columns: 2fr 1fr 2fr;
  }
  .grid_tablet_40_40_20 {
    grid-template-columns: 2fr 2fr 1fr;
  }
  .gap_tablet_0 {
    grid-gap: 0;
  }
  .gap_tablet_1 {
    grid-gap: 1rem;
  }
  .gap_tablet_2 {
    grid-gap: 2rem;
  }
  .gap_tablet_3 {
    grid-gap: 3rem;
  }
  .gap_tablet_4 {
    grid-gap: 4rem;
  }
  .gap_tablet_5 {
    grid-gap: 5rem;
  }
  .gap_tablet_6 {
    grid-gap: 6rem;
  }
  .gap_tablet_7 {
    grid-gap: 7rem;
  }
  .gap_tablet_8 {
    grid-gap: 8rem;
  }
  .gap_tablet_9 {
    grid-gap: 9rem;
  }
  .gap_tablet_10 {
    grid-gap: 10rem;
  }
  .gap_tablet_11 {
    grid-gap: 11rem;
  }
  .gap_tablet_12 {
    grid-gap: 12rem;
  }
}
@media (min-width: 992px) {
  .grid_desktop_100 {
    grid-template-columns: 1fr;
  }
  .grid_desktop_50_50 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid_desktop_50_25_25 {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid_desktop_33_33_33 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid_desktop_75_25 {
    grid-template-columns: 3fr 1fr;
  }
  .grid_desktop_25_75 {
    grid-template-columns: 1fr 3fr;
  }
  .grid_desktop_66_33 {
    grid-template-columns: 2fr 1fr;
  }
  .grid_desktop_60_40 {
    grid-template-columns: 3fr 2fr;
  }
  .grid_desktop_40_60 {
    grid-template-columns: 2fr 3fr;
  }
  .grid_desktop_33_66 {
    grid-template-columns: 1fr 2fr;
  }
  .grid_desktop_50_25_25 {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid_desktop_40_30_30 {
    grid-template-columns: 4fr 3fr 3fr;
  }
  .grid_desktop_50_25_25 {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .grid_desktop_25_50_25 {
    grid-template-columns: 1fr 2fr 1fr;
  }
  .grid_desktop_25_25_50 {
    grid-template-columns: 1fr 1fr 2fr;
  }
  .grid_desktop_40_30_30 {
    grid-template-columns: 4fr 3fr 3fr;
  }
  .grid_desktop_30_40_30 {
    grid-template-columns: 3fr 4fr 3fr;
  }
  .grid_desktop_30_30_40 {
    grid-template-columns: 3fr 3fr 4fr;
  }
  .grid_desktop_20_40_40 {
    grid-template-columns: 1fr 2fr 2fr;
  }
  .grid_desktop_40_20_40 {
    grid-template-columns: 2fr 1fr 2fr;
  }
  .grid_desktop_40_40_20 {
    grid-template-columns: 2fr 2fr 1fr;
  }
  .grid_desktop_25_25_25_25 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid_desktop_40_20_20_20 {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .grid_desktop_20_40_20_20 {
    grid-template-columns: 1fr 2fr 1fr 1fr;
  }
  .grid_desktop_20_20_40_20 {
    grid-template-columns: 1fr 1fr 2fr 1fr;
  }
  .grid_desktop_20_20_20_40 {
    grid-template-columns: 1fr 1fr 1fr 2fr;
  }
  .grid_desktop_20_20_20_20_20 {
    grid-template-columns: repeat(5, 1fr);
  }
  .gap_desktop_0 {
    grid-gap: 0;
  }
  .gap_desktop_1 {
    grid-gap: 1rem;
  }
  .gap_desktop_2 {
    grid-gap: 2rem;
  }
  .gap_desktop_3 {
    grid-gap: 3rem;
  }
  .gap_desktop_4 {
    grid-gap: 4rem;
  }
  .gap_desktop_5 {
    grid-gap: 5rem;
  }
  .gap_desktop_6 {
    grid-gap: 6rem;
  }
  .gap_desktop_7 {
    grid-gap: 7rem;
  }
  .gap_desktop_8 {
    grid-gap: 8rem;
  }
  .gap_desktop_9 {
    grid-gap: 9rem;
  }
  .gap_desktop_10 {
    grid-gap: 10rem;
  }
  .gap_desktop_11 {
    grid-gap: 11rem;
  }
  .gap_desktop_12 {
    grid-gap: 12rem;
  }
}

/*# sourceMappingURL=clickpress-grid.css.map */

/* =========================================================================
   Schreinerei Würmseher · Theme
   Grundlage: Startseiten-Entwurf 13.07.2026 (DESIGN.md)
   Struktur kommt aus Standard-Inhaltselementen + Clickpress-Grid,
   dieses Stylesheet macht daraus das Layout. Kein Struktur-HTML.
   ========================================================================= */

@font-face {
  font-family: 'Source Sans 3';
  src: url('../../files/themes/wuermseher/fonts/SourceSans3.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #4b4b4d;
  --accent: #ee7f00;
  --sand: #f1eee9;
  --sand-deep: #e6e2dc;
  --muted: #76747a;
  --white: #fff;

  --font: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
  --pad-x: 24px;
  --section-y: 100px;
  /* Einheitliche Höhe für beide Kopfbild-Varianten (geteilt und Vollbild). */
  --hero-h: 440px;
  --gap: 24px;
  --radius: 6px;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }

/* Contao setzt bei Pflichtfeldern ein unsichtbares Präfix voraus. */
.invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typografie ---------- */

h1, .h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2, .h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--ink);
}

h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

/* Akzentwort in Überschriften. Kein zweiter Font, nur Farbe. */
h1 em, h2 em, h3 em {
  font-style: normal;
  color: var(--accent);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.rte a { color: var(--accent); font-weight: 600; }
.rte a:hover { text-decoration: underline; }

.eyebrow p,
p.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.lead p { font-size: 20px; line-height: 1.5; }

/* ---------- Buttons ---------- */

.content-hyperlink { margin-top: 32px; }

.content-hyperlink a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 34px;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.content-hyperlink a:hover {
  background: #d67200;
  transform: translateY(-1px);
}

/* Symbole an Schaltflächen: die Masken stehen in icons.css, damit im
   Beschriftungsfeld reiner Text stehen bleibt. Hier nur die Groesse. */
.btn-tel a::before,
.btn-mail a::before {
  font-size: 19px;
  margin-right: 10px;
  /* Die Schaltflaeche ist inline-flex, ohne das hier staucht der Text das
     Symbol zusammen. */
  flex: 0 0 auto;
}

/* Zweite Stufe: orange gerahmt statt gefüllt. Nie neutral. */
.btn-ghost a {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.btn-ghost a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Sektionen ---------- */

.section {
  padding-block: var(--section-y);
  background: var(--white);
}

/* Die Maximalbreite meint die Inhaltsbreite, das Seitenpolster kommt oben
   drauf. Sonst wäre der Inhalt 48 px schmaler als im Entwurf. */
.section > * {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section--sand { background: var(--sand); }
.section--sand-deep { background: var(--sand-deep); }

/* Abstände nach dem Entwurf: Überschrift 24 zum Untertitel, Untertitel 56
   zum Raster, beim Zeitstrahl 64. */
.section > * + * { margin-top: 24px; }
.section > * + [class*='grid_'] { margin-top: 48px; }
.section > [class*='grid_'] + * { margin-top: 48px; }
.section > .section-sub + [class*='grid_'] { margin-top: 56px; }
.section > .section-sub + .timeline { margin-top: 64px; }

.section-head { text-align: center; }
.section-head + .section-sub { margin-top: 24px; }

.section-sub {
  text-align: center;
  max-width: 720px;
}

.section-sub p { font-size: 20px; line-height: 1.5; }

/* Clickpress-Grid: das Gridset rendert eine <section> als Wrapper und darin
   das eigentliche Raster als .grid_start. Die cssID-Klasse sitzt am Wrapper. */
.grid_start { grid-gap: var(--gap); }

/* ---------- Kopfzeile ---------- */

#header {
  position: relative;
  z-index: 20;
  background: var(--white);
  height: 96px;
}

#header .inside {
  position: relative;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  height: 96px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
}

/* Marken-Fahne: weißes Feld, das unter der Kopfzeile in den Hero ragt.
   Liegt über dem mobilen Menü-Overlay, sonst wird sie beim Öffnen
   angeschnitten. */
#header .site-logo {
  position: absolute;
  left: var(--pad-x);
  top: 0;
  z-index: 40;
  background: var(--white);
  padding: 26px 32px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

/* Das Seitenverhältnis steht im Stylesheet, weil Contao bei SVG keine
   Maße ins Markup schreibt. So bleibt der Platz vor dem Laden reserviert. */
#header .site-logo img {
  height: 96px;
  width: auto;
  aspect-ratio: 491 / 227;
}

#header .mod_navigation { margin-left: auto; }

#header .mod_navigation > ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

#header .mod_navigation a,
#header .mod_navigation strong {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding-block: 8px;
}

#header .mod_navigation a:hover,
#header .mod_navigation .trail > a,
#header .mod_navigation strong.active {
  color: var(--accent);
  font-weight: 600;
}

/* Aufklappmenü „Möbel nach Maß" */
#header .mod_navigation li { position: relative; }

#header .mod_navigation .submenu > a::after,
#header .mod_navigation .submenu > strong::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

#header .mod_navigation ul ul {
  position: absolute;
  left: -24px;
  top: 100%;
  width: 296px;
  padding: 14px 24px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

#header .mod_navigation li:hover > ul,
#header .mod_navigation li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#header .mod_navigation ul ul a { padding-block: 11px; }

#header .content-hyperlink { margin: 0 0 0 32px; }

#header .content-hyperlink a {
  padding: 10px 22px;
  font-size: 15px;
}

/* Direktkontakt: steht nur im mobilen Menü, auf Desktop übernimmt das die
   Schaltfläche „Kontakt". */
#header .nav-contact { display: none; }

/* Burger, wird von nav.js eingehängt */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 40;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Hero ---------- */

#hero {
  position: relative;
  height: 720px;
  padding: 0;
  overflow: hidden;
}

#hero > * {
  max-width: none;
  padding-inline: 0;
  margin-top: 0;
}

#hero .hero-bg,
#hero .hero-bg figure,
#hero .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#hero .hero-bg img { object-fit: cover; }

/* Zwei Verlaufs-Ebenen wie im Entwurf: von unten und von links. */
#hero::before,
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.58) 100%); }
#hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.38) 44%, rgba(0, 0, 0, 0) 74%); }

#hero .hero-in {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 96px;
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  transform: translateX(-50%);
  padding-inline: var(--pad-x);
  display: block;
}

#hero .hero-in > * { max-width: 792px; }
#hero .hero-in h1 { color: var(--white); }
#hero .hero-in h1 em { color: var(--accent); }

#hero .hero-in .hero-lead {
  margin-top: 24px;
  max-width: 600px;
}

#hero .hero-in .hero-lead p {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

#hero .hero-in .eyebrow p { margin-bottom: 20px; }

/* ---------- USP-Reihe ---------- */

.usp-item .rte { color: var(--muted); }

.usp-item .usp-ico {
  display: block;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
}

.usp-item h3 { margin-bottom: 12px; }

/* ---------- Karten ---------- */

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Contao stellt die Überschrift vor das Bild. Auf der Karte gehört das Foto
   nach oben, deshalb wird das figure vorgezogen. */
.card figure {
  order: -1;
  height: 180px;
  flex: none;
  overflow: hidden;
}

.card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 28px 28px 12px;
}

/* Der Fließtext schließt bündig ab, den Abstand zur Marke setzt .card-more. */
.card .rte > p { margin-bottom: 0; }

.card .rte {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 28px 30px;
}

/* Weiterlesen-Marke: sitzt immer am Kartenfuß, rechtsbündig. */
.card .card-more {
  margin: 22px 0 0;
  margin-top: auto;
  padding-top: 22px;
  text-align: right;
}

.card .card-more a {
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.card .card-more a:hover { color: #d67200; }

/* ---------- Bad-Galerie ---------- */

.gallery-bad ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.gallery-bad li { margin: 0; }

.gallery-bad li:first-child { grid-column: 1 / -1; }

.gallery-bad figure,
.gallery-bad img {
  width: 100%;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-bad img { object-fit: cover; }

.gallery-bad li:first-child figure,
.gallery-bad li:first-child img { height: 340px; }

/* ---------- Text-Bild-Sektionen ---------- */

.split-img figure,
.split-img img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}

.split-img img { object-fit: cover; }

.split-text > * + * { margin-top: 16px; }
.split-text h2 { margin-bottom: 24px; }

/* Spalten mittig ausrichten */
.split > .grid_start { align-items: center; }

/* ---------- Zeitstrahl ---------- */

.timeline { position: relative; }

/* Durchgehende Linie hinter den Marken */
.timeline::before {
  content: '';
  position: absolute;
  left: 34px;
  right: 34px;
  top: 34px;
  height: 2px;
  background: var(--accent);
  opacity: 0.28;
}

.tl-step { position: relative; counter-increment: tlstep; }

.tl-step::before {
  content: counter(tlstep);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 28px;
}

.timeline { counter-reset: tlstep; }

.tl-step h3 { margin-bottom: 12px; }
.tl-step .rte { font-size: 16px; }

/* Untereinander statt nebeneinander: für Abläufe mit mehr als vier Schritten
   oder längeren Texten. Die Linie läuft dann senkrecht durch die Nummern. */
.timeline--vertikal::before {
  left: 34px;
  right: auto;
  top: 34px;
  bottom: 34px;
  width: 2px;
  height: auto;
}

.timeline--vertikal > .grid_start { row-gap: 40px; }

.timeline--vertikal .tl-step {
  display: grid;
  grid-template-columns: 68px 1fr;
  column-gap: 32px;
  align-items: start;
  max-width: 820px;
}

.timeline--vertikal .tl-step::before {
  margin-bottom: 0;
  grid-row: 1 / span 2;
}

.timeline--vertikal .tl-step h3 { margin-top: 16px; }

/* ---------- Kontakt-CTA ---------- */

#cta .section { padding-block: 90px; }

#cta .portrait figure,
#cta .portrait img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
}

#cta .portrait img { object-fit: cover; object-position: center top; }

#cta .cta-text h2 { margin-bottom: 20px; }

/* Nur der Fließtext wird schmal gehalten, sonst bricht die Überschrift
   „Erzählen Sie mir von Ihrem Raum." um. */
#cta .cta-text .rte p { max-width: 560px; }

/* Beide Schaltflächen stehen nebeneinander, ohne Wrapper-Element. */
#cta .cta-text .content-hyperlink {
  display: inline-block;
  margin: 32px 16px 0 0;
}

/* ---------- Fußzeile ---------- */

#footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 80px;
}

#footer .inside {
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 300px 1fr 1.25fr 1fr;
  column-gap: var(--gap);
  row-gap: 0;
  align-items: start;
}

#footer p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

#footer h4,
#footer .footer-head p {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

/* Marke, Anschrift, Direktkontakt, Rechtliches: vier feste Spalten. Die
   Zuordnung steht hier, damit die Reihenfolge im Artikel frei bleibt. */
#footer .footer-brand { grid-column: 1; grid-row: 1 / span 2; }
#footer .footer-brand img {
  height: 88px;
  width: auto;
  aspect-ratio: 491 / 227;
}

#footer .footer-address { grid-column: 2; grid-row: 1 / span 2; }
#footer .footer-contact { grid-column: 3; grid-row: 1 / span 2; }
#footer .footer-legal { grid-column: 4; grid-row: 1 / span 2; }

#footer .footer-contact .bi {
  display: inline-block;
  width: 26px;
  color: rgba(255, 255, 255, 0.42);
}


/* Links in der Fußzeile bleiben im Fließtext-Grau und färben sich erst beim
   Überfahren, sonst zerfällt der Block optisch in orange Schnipsel. */
#footer .rte a {
  color: inherit;
  font-weight: inherit;
}

#footer .rte a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Markenzeile und Copyright teilen sich den dunklen Balken. Er läuft über die
   volle Breite, ohne das Raster zu sprengen: der Schatten füllt die
   Seitenränder, clip-path hält ihn in der Zeile. */
#footer .footer-note,
#footer .footer-copy {
  grid-column: 1 / -1;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.28);
  clip-path: inset(0 -100vmax);
}

#footer .footer-note {
  margin-top: 64px;
  padding-top: 20px;
}

#footer .footer-note p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.42);
}

#footer .footer-copy { padding-bottom: 22px; }
#footer .footer-copy p { font-size: 14px; }

/* ---------- Animation ---------- */

/* Den Startzustand setzt WOW.js selbst. Eine eigene visibility-Regel würde
   Inhalte dauerhaft verstecken, sobald das Skript nicht greift. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .contao-cookiebar.cc-active:not(.cc-saved) .cc-inner {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .contao-cookiebar.cc-saved .cc-inner {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* =========================================================================
   Tablet
   ========================================================================= */

@media (max-width: 991px) {
  :root { --section-y: 72px; }

  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 32px; }

  #header .site-logo { padding: 18px 22px 16px; }
  #header .site-logo img { height: 72px; }

  #hero { height: 600px; }

  .split-img figure,
  .split-img img { height: 340px; }

  /* Zeitstrahl: die Linie endet sonst im Leeren, wenn die Schritte umbrechen. */
  .timeline::before { display: none; }

  #footer .inside { grid-template-columns: 1fr 1fr; }
  #footer .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  #footer .footer-address { grid-column: 1; grid-row: auto; }
  #footer .footer-contact { grid-column: 2; grid-row: auto; }
  #footer .footer-legal { grid-column: 1; grid-row: auto; }

  /* Der Zeilenabstand ist auf 0 gesetzt, damit der dunkle Balken unten
     zusammenhängt. Auf umgebrochenen Rastern wird er hier nachgeholt. */
  #footer .footer-address,
  #footer .footer-contact,
  #footer .footer-legal { margin-top: 34px; }
}

/* =========================================================================
   Mobil
   ========================================================================= */

@media (max-width: 767px) {
  :root {
    --section-y: 56px;
    --pad-x: 20px;
    --gap: 20px;
  }

  body { font-size: 16px; }

  h1, .h1 { font-size: 34px; line-height: 1.06; }
  h2, .h2 { font-size: 26px; }
  h3 { font-size: 19px; }

  .lead p,
  .section-sub p,
  #hero .hero-in .hero-lead p { font-size: 17px; }

  .eyebrow p, p.eyebrow { font-size: 12px; margin-bottom: 14px; }

  .content-hyperlink a { font-size: 16px; padding: 14px 24px; }

  /* Kopfzeile: nur Logo und Burger */
  #header,
  #header .inside { height: 72px; }

  #header .site-logo { padding: 14px 16px 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); }
  #header .site-logo img { height: 56px; }

  .nav-toggle { display: block; }

  #header .mod_navigation {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 72px;
    z-index: 30;
    margin: 0;
    /* unten Platz für den Direktkontakt, der über dem Menü liegt */
    padding: 24px var(--pad-x) 150px;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  #header .mod_navigation.is-open { transform: none; }

  /* Telefon und E-Mail direkt antippbar, am Fuß des offenen Menüs. */
  #header .nav-contact {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 31;
    margin: 0;
    padding: 20px var(--pad-x) 28px;
    background: var(--sand);
    border-top: 1px solid var(--sand-deep);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  #header.nav-open .nav-contact { transform: none; }

  #header .nav-contact p { margin: 0; font-size: 17px; }
  #header .nav-contact p + p { margin-top: 14px; }

  #header .nav-contact .bi {
    display: inline-block;
    width: 28px;
    color: var(--accent);
  }

  #header .nav-contact a { color: var(--ink); font-weight: 600; }

  #header .mod_navigation > ul {
    display: block;
    gap: 0;
  }

  #header .mod_navigation a,
  #header .mod_navigation strong {
    font-size: 18px;
    padding-block: 14px;
    border-bottom: 1px solid var(--sand-deep);
  }

  /* Untermenü klappt per Klick auf, nicht per Hover */
  #header .mod_navigation ul ul {
    position: static;
    width: auto;
    padding: 0 0 0 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  #header .mod_navigation li.is-open > ul { display: block; }
  #header .mod_navigation li:hover > ul { display: none; }
  #header .mod_navigation li.is-open:hover > ul { display: block; }

  #header .content-hyperlink { display: none; }

  /* Hero */
  #hero { height: 520px; }

  #hero .hero-in { bottom: 48px; }
  #hero .hero-in > * { max-width: none; }
  #hero .hero-in .hero-lead { margin-top: 18px; max-width: none; }

  #hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0.72) 100%); }
  #hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%); }

  .card figure { height: 190px; }
  .card h3 { margin: 22px 22px 10px; }
  .card .rte { padding: 0 22px 22px; }

  .split-img figure,
  .split-img img { height: 240px; }

  .gallery-bad figure,
  .gallery-bad img { height: 120px; }

  .gallery-bad li:first-child figure,
  .gallery-bad li:first-child img { height: 230px; }

  /* Zeitstrahl: Marke links, Text rechts daneben */
  .tl-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    align-items: start;
  }

  .tl-step::before {
    width: 56px;
    height: 56px;
    font-size: 23px;
    margin-bottom: 0;
    grid-row: 1 / span 2;
  }

  #cta .portrait figure,
  #cta .portrait img { width: 150px; height: 150px; }

  #cta .cta-text .rte p { max-width: none; }

  #cta .cta-text .content-hyperlink {
    display: block;
    margin: 12px 0 0;
  }

  #cta .cta-text .content-hyperlink:first-of-type { margin-top: 32px; }
  #cta .cta-text .content-hyperlink a { justify-content: center; }

  #footer { padding-top: 56px; }
  #footer .inside { grid-template-columns: 1fr; }

  #footer .footer-brand,
  #footer .footer-address,
  #footer .footer-contact,
  #footer .footer-legal { grid-column: 1; grid-row: auto; }

  #footer .footer-address,
  #footer .footer-legal { margin-top: 30px; }

  #footer .footer-brand img { height: 74px; }
}

/* =========================================================================
   Bausteine für die Unterseiten
   ========================================================================= */

/* ---------- Seitenkopf, Variante geteilt ---------- */

.page-hero {
  padding-block: 0;
  background: var(--sand);
  overflow: hidden;
}

.page-hero > * {
  max-width: none;
  padding-inline: 0;
  margin-top: 0;
}

.page-hero .grid_start { grid-gap: 0; align-items: stretch; min-height: var(--hero-h); }

.page-hero .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px 48px max(var(--pad-x), calc((100vw - var(--container)) / 2));
}

/* Im geteilten Kopf steht weniger Breite zur Verfügung als auf der
   Startseite, deshalb eine Stufe kleiner. */
.page-hero .hero-copy h1 { font-size: 46px; line-height: 1.04; }

.page-hero .hero-copy > * + * { margin-top: 24px; }
.page-hero .hero-copy .content-hyperlink { margin-top: 32px; }
.page-hero .hero-copy .eyebrow p { margin-bottom: 0; }

.page-hero .hero-copy .hero-lead p {
  font-size: 20px;
  line-height: 1.5;
}

/* Das Bild wird absolut in seine Grid-Zelle gelegt, damit es die Zeilenhöhe
   nicht auf seine natürliche Höhe aufbläht. Die Höhe kommt so allein aus
   --hero-h (min-height der Grid-Zeile). */
.page-hero .hero-shot { position: relative; width: 100%; }

.page-hero .hero-shot figure,
.page-hero .hero-shot picture,
.page-hero .hero-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero .hero-shot img { object-fit: cover; }

/* ---------- Seitenkopf, Variante Vollbild ---------- */

.page-hero--image {
  position: relative;
  height: var(--hero-h);
  padding: 0;
  background: var(--ink);
}

.page-hero--image > * {
  max-width: none;
  padding-inline: 0;
  margin-top: 0;
}

.page-hero--image .hero-bg,
.page-hero--image .hero-bg figure,
.page-hero--image .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero--image .hero-bg img { object-fit: cover; }

.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.1) 78%);
}

.page-hero--image .hero-in {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  transform: translateX(-50%);
  /* Oben Reserve für den überlagernden Header (rund 96 px), damit die
     Überschrift nie unter Logo und Navigation rutscht. */
  padding: 100px var(--pad-x) 40px;
}

.page-hero--image .hero-in > * { max-width: 720px; }
.page-hero--image .hero-in h1 { color: var(--white); font-size: 40px; line-height: 1.08; }

.page-hero--image .hero-in .hero-lead p {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Intro, schmal und zentriert ---------- */

.intro {
  max-width: 800px !important;
  text-align: center;
}

.intro p { font-size: 20px; line-height: 1.6; }
.intro p + p { margin-top: 16px; }

/* ---------- Merkmale mit Symbol ---------- */

.feature .feat-ico {
  display: block;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature h3 { margin-bottom: 10px; font-size: 19px; }
.feature .rte { font-size: 16px; }

/* ---------- Aussage-Block ---------- */

.statement {
  background: var(--ink);
  padding-block: 88px;
}

.statement .content-text {
  max-width: 900px;
  text-align: center;
}

.statement p {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--white);
}

.statement em {
  font-style: normal;
  color: var(--accent);
}

.statement .statement-meta p {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Breitbild ---------- */

.bleed { padding-block: 0; }

.bleed > * {
  max-width: none;
  padding-inline: 0;
}

.bleed figure,
.bleed img {
  width: 100%;
  height: 460px;
}

.bleed img { object-fit: cover; }

/* ---------- Zweispaltige Bildreihe mit Text ---------- */

.shots ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.shots li { margin: 0; }
.shots li:first-child { grid-column: 1 / -1; }

.shots figure,
.shots img {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
}

.shots img { object-fit: cover; }

.shots li:first-child figure,
.shots li:first-child img { height: 360px; }

/* ---------- Weiter zu ---------- */

.related { background: var(--sand); }
.related .card .rte { font-size: 16px; }

/* ---------- Aufzählungen im Fließtext ---------- */

.rte ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rte ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.rte ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 991px) {
  .page-hero .hero-copy { padding: 64px var(--pad-x); }
  .page-hero .hero-copy h1 { font-size: 36px; }
  .page-hero .hero-shot img { min-height: 340px; }
  .page-hero--image { height: 440px; }
  .bleed figure, .bleed img { height: 360px; }
  .statement p { font-size: 24px; }
}

@media (max-width: 767px) {
  /* Einspaltig darf der Kopf nicht auf die Bildhöhe gezwungen werden. Das
     absolut liegende Bild braucht dann eine feste Höhe an seiner Zelle. */
  .page-hero .grid_start { min-height: 0; }
  .page-hero .hero-shot { height: 260px; }
  .page-hero .hero-copy { padding: 48px var(--pad-x); }
  .page-hero .hero-copy h1 { font-size: 32px; }

  .page-hero--image { height: 400px; }
  .page-hero--image .hero-in { padding-top: 84px; }
  .page-hero--image .hero-in > * { max-width: none; }

  .intro p { font-size: 17px; }
  .statement { padding-block: 56px; }
  .statement p { font-size: 21px; }

  .bleed figure, .bleed img { height: 240px; }

  .shots figure, .shots img { height: 130px; }
  .shots li:first-child figure,
  .shots li:first-child img { height: 220px; }
}

/* ---------- Fragen und Antworten ---------- */

.pm-faq {
  max-width: 860px !important;
  margin-inline: auto;
}

.pm-faq__item {
  border-bottom: 1px solid var(--sand-deep);
}

.pm-faq__item:first-child { border-top: 1px solid var(--sand-deep); }

.pm-faq__question {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.pm-faq__question::-webkit-details-marker { display: none; }

.pm-faq__question:hover { color: var(--accent); }

.pm-faq__text { flex: 1; }

/* Plus, das sich beim Aufklappen zum Minus dreht */
.pm-faq__icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.pm-faq__icon::before,
.pm-faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent);
  transition: transform 0.2s ease;
}

.pm-faq__icon::before {
  width: 18px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.pm-faq__icon::after {
  width: 2px;
  height: 18px;
  transform: translate(-50%, -50%);
}

.pm-faq__item[open] .pm-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.pm-faq__answer {
  padding: 0 40px 26px 0;
  font-size: 17px;
  line-height: 1.6;
}

.pm-faq__answer p + p { margin-top: 14px; }

@media (max-width: 767px) {
  .pm-faq__question { font-size: 17px; padding: 18px 0; gap: 14px; }
  .pm-faq__answer { padding: 0 0 22px; font-size: 16px; }
}

/* ---------- Bildreihe im Hochformat ----------
   Das Material aus der Imagebroschüre ist durchweg hochformatig. In der
   liegenden Bildreihe bliebe davon nur ein Streifen übrig, deshalb hier drei
   gleich hohe Kacheln nebeneinander. */

.shots--hoch ul {
  grid-template-columns: repeat(3, 1fr);
}

.shots--hoch li:first-child { grid-column: auto; }

.shots--hoch figure,
.shots--hoch img,
.shots--hoch li:first-child figure,
.shots--hoch li:first-child img {
  height: auto;
  aspect-ratio: 3 / 4;
}

.shots--hoch img { object-fit: cover; }

/* Hochformat in der Text-Bild-Sektion */
.split-img--hoch figure,
.split-img--hoch img {
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 620px;
}

.split-img--hoch img { object-fit: cover; }

@media (max-width: 767px) {
  .shots--hoch ul { grid-template-columns: 1fr 1fr; }
  .shots--hoch li:last-child { grid-column: 1 / -1; }

  .split-img--hoch figure,
  .split-img--hoch img { aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Anfrageformular ---------- */

.anfrage-formular {
  max-width: 760px;
  margin-inline: auto;
}

.anfrage-formular .formbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  row-gap: 22px;
}

/* Nur Name und E-Mail teilen sich eine Zeile, alles andere läuft durch. */
.anfrage-formular .widget { grid-column: 1 / -1; }
.anfrage-formular .widget.col2 { grid-column: span 1; }

.anfrage-formular label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* Der Stern hinter Pflichtfeldern ist ein eigenes Element. */
.anfrage-formular label .mandatory,
.anfrage-formular label .invisible { color: var(--accent); }

.anfrage-formular input[type='text'],
.anfrage-formular input[type='email'],
.anfrage-formular input[type='tel'],
.anfrage-formular textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(75, 75, 77, 0.22);
  border-radius: 4px;
  background: var(--white);
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.anfrage-formular textarea {
  min-height: 170px;
  resize: vertical;
}

.anfrage-formular input:focus,
.anfrage-formular textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(238, 127, 0, 0.16);
}

/* Datenschutz: Häkchen und Text nebeneinander, Text nicht unter das Häkchen. */
.anfrage-formular .widget-checkbox fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.anfrage-formular .widget-checkbox span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.anfrage-formular .widget-checkbox input { margin-top: 4px; }

.anfrage-formular .widget-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

.anfrage-formular .widget-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

.anfrage-formular .widget-submit button {
  padding: 16px 34px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.anfrage-formular .widget-submit button:hover {
  background: #d67200;
  transform: translateY(-1px);
}

/* Fehlermeldungen und Honeypot */
.anfrage-formular p.error {
  margin-top: 8px;
  font-size: 15px;
  color: #b3261e;
}

.anfrage-formular .widget input.error,
.anfrage-formular .widget textarea.error { border-color: #b3261e; }

@media (max-width: 767px) {
  .anfrage-formular .formbody { grid-template-columns: 1fr; }
  .anfrage-formular .widget.col2 { grid-column: 1 / -1; }
}

/* Georg-Portraets oben ausrichten, damit Kopf nie abgeschnitten wird */
.portrait-top img{object-position:center top !important;}

/* ---------- Bild-Feinschliff August 2026 (Teil 2) ---------- */

/* Über mich · Maschinenpark: 1 Bild links unter dem Text, 2 rechts, mehr Abstand */
.maschinen-links { margin-top: 24px; }
.maschinen-links img { height: 300px; }
.maschinen-galerie ul {
  display: grid;
  gap: 24px;
  margin: 0;
}
.maschinen-galerie li { margin: 0; }
/* 374px: 2 Bilder + 24px Abstand = Hoehe der linken Spalte, damit die Bilder in einer Flucht stehen */
.maschinen-galerie figure,
.maschinen-galerie img { height: 374px; }

/* Kontakt · Anschrift: Briefkasten klein unter der Adresse */
.anschrift-bild { margin-top: 24px; max-width: 320px; }
.anschrift-bild img { border-radius: var(--radius); }

/* Kontakt · Wo ich arbeite: Luftbild kleiner darunter */
.einzugsgebiet-bild { margin-top: 32px; max-width: 720px; }
.einzugsgebiet-bild img { border-radius: var(--radius); }

/* Tische · Galerie: oberes Bild höher, damit es nicht flach gequetscht wirkt */
.shots--tall li:first-child figure,
.shots--tall li:first-child img { height: 480px; }

@media (max-width: 991px) {
  .maschinen-links img,
  .maschinen-galerie figure,
  .maschinen-galerie img { height: 240px; }
  .shots--tall li:first-child figure,
  .shots--tall li:first-child img { height: 380px; }
}

@media (max-width: 767px) {
  .maschinen-links img,
  .maschinen-galerie figure,
  .maschinen-galerie img { height: 200px; }
  .maschinen-galerie ul { gap: 16px; }
  .shots--tall li:first-child figure,
  .shots--tall li:first-child img { height: 260px; }
}

/* Kontakt · Anfahrt als Karte mit leichtem weißem Hintergrund, Briefkasten rechts darunter */
.anfahrt-karte {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 28px 32px;
}

/* HWR-Bildkarree (Korrektur 11.08.): zwei Bilder, das zweite voll breit statt halb */
.hwr-karree li:nth-child(2) { grid-column: 1 / -1; }
.hwr-karree li:nth-child(2) img { height: 240px; }

/* ---------- Bestaetigung nach dem Absenden (17.08.) ----------
   Stand vorher als grauer Fliesstext zwischen Intro und Formular und ging unter. */
.form-confirmation {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 22px 26px;
  background: var(--sand);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.form-confirmation::before {
  content: '';
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.5 4.5 6.5 11.5 2.5 7.5l1-1 3 3 6-6z'/%3E%3C/svg%3E") center/16px 16px no-repeat;
}

.form-confirmation p { margin: 0; }
.form-confirmation p + p { margin-top: 8px; }

@media (max-width: 767px) {
  .form-confirmation {
    margin-bottom: 28px;
    padding: 18px 20px;
    font-size: 17px;
  }
}

/* Hinweis auf die automatische Weiterleitung der 404-Seite */
.redirect-hinweis {
  max-width: 640px;
  margin: -8px auto 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}
.redirect-hinweis #redirect-countdown {
  font-weight: 600;
  color: var(--accent);
}

