:root {
  color-scheme: light;
  --bg: #fbfaf8;
  --surface: #fbfaf8;
  --surface-elevated: rgba(251, 250, 248, 0.98);
  --topbar-bg: #e8e2d9;
  --tile-bg: #eee9e1;
  --text: #111111;
  --text-strong: #000000;
  --text-inverted: #ffffff;
  --muted: #716d66;
  --nav-muted: rgba(17, 17, 17, 0.58);
  --soft: #aaa59d;
  --line: #e8e2d9;
  --focus: #000000;
  --shadow: rgba(17, 17, 17, 0.08);
  --selection-bg: #111111;
  --selection-text: #ffffff;
  --logo-filter: none;
  --max: 1180px;
  --content-max: 800px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --section: clamp(2.4rem, 5vw, 4.5rem);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11100f;
  --surface: #161412;
  --surface-elevated: rgba(22, 20, 18, 0.98);
  --topbar-bg: #1d1a17;
  --tile-bg: #24201c;
  --text: #f3eee7;
  --text-strong: #ffffff;
  --text-inverted: #11100f;
  --muted: #c1b8ad;
  --nav-muted: rgba(243, 238, 231, 0.64);
  --soft: #8f877d;
  --line: #34302b;
  --focus: #f3eee7;
  --shadow: rgba(0, 0, 0, 0.34);
  --selection-bg: #f3eee7;
  --selection-text: #11100f;
  --logo-filter: invert(1) brightness(1.65) contrast(0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: geometricPrecision;
  transition: background-color 180ms ease, color 180ms ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface-elevated);
  color: var(--text-strong);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border: 1px solid var(--focus);
}

.container,
.topbar-inner,
.footer-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

/* Theme Toggle */

.theme-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--nav-muted);
  padding: 0.48rem 0.7rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text-strong);
  border-color: var(--text-strong);
  outline: none;
}

.theme-toggle-icon {
  font-size: 0.9rem;
  line-height: 1;
}

/* Header / Navigation */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  width: clamp(2.7rem, 5vw, 3.5rem);
  height: auto;
  max-height: 2.8rem;
  object-fit: contain;
  flex: 0 0 auto;
  filter: var(--logo-filter);
  transition: filter 180ms ease;
}

.brand-text {
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  grid-column: 3;
  grid-row: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  justify-self: end;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 1.55rem;
  height: 1px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger {
  position: relative;
}

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

.hamburger::before {
  transform: translateY(-0.48rem);
}

.hamburger::after {
  transform: translateY(0.48rem);
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.nav-toggle:checked + .nav-toggle-label .hamburger {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle-label .hamburger::before {
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label .hamburger::after {
  transform: rotate(-45deg);
}

nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.9rem, 2.8vw, 2.2rem);
}

nav a,
.nav-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nav-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-main::after {
  content: "▾";
  font-size: 0.68rem;
  color: var(--soft);
  transform: translateY(-0.04rem);
}

nav a:hover,
nav a:focus-visible,
.nav-item:hover > .nav-main,
.nav-item:focus-within > .nav-main {
  color: var(--text-strong);
  border-color: var(--text-strong);
  outline: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.75rem;
  right: -0.75rem;
  height: 1rem;
  z-index: 1;
}

.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.2rem);
  min-width: 15.5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.48rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0ms linear 120ms;
}

.submenu a {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0ms;
}

/* Allgemeines Layout */

main {
  padding: var(--section) 0;
  min-height: calc(100vh - 140px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 4vw, 3.5rem);
}

.eyebrow {
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.intro {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
}

/* Seiten wie Über mich, Kontakt, Impressum */

.page {
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

h1 {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

.lead {
  max-width: 72ch;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.2vw, 1.02rem);
  margin-bottom: 1.5rem;
}

.content-block {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  color: var(--muted);
}

.content-block h2,
.info-grid h2 {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

main a {
  color: var(--text);
  border-bottom: 1px solid var(--soft);
  transition: border-color 180ms ease, color 180ms ease;
}

main a:hover,
main a:focus-visible {
  border-color: var(--text);
  outline: none;
}

/* Galerie */

.gallery {
  width: 80%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 1vw, 0.75rem);
}

.tile {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tile-bg);
  isolation: isolate;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(0.92) brightness(0.96);
  transform: scale(1.01);
  transition:
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms ease;
}

.tile span {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  z-index: 2;
  color: var(--text-inverted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 220ms ease, transform 220ms ease;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.36), transparent 48%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
  z-index: 1;
}

.tile:hover img,
.tile:focus-visible img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.045);
}

.tile:hover span,
.tile:focus-visible span,
.tile:hover::after,
.tile:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.tile:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/* Infobereich Startseite */

.info-grid {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 5rem);
  color: var(--muted);
}

.info-grid-single {
  grid-template-columns: 1fr;
}

.info-grid-single section {
  max-width: 100%;
}
/* Portraitbild Über mich */

.about-page {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy {
  min-width: 0;
  max-width: 860px;
}

.portrait-card {
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: 20rem;
}

.content-block-first {
  margin-top: 0;
}

.portrait-frame {
  display: block;
  position: relative;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tile-bg);
  border: 1px solid var(--line);
  isolation: isolate;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%) contrast(0.92) brightness(0.96);
  transform: scale(1.01);
  transition:
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 420ms ease;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 48%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
  z-index: 1;
}

.portrait-frame:hover .portrait-image,
.portrait-frame:focus-within .portrait-image {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.045);
}

.portrait-frame:hover::after,
.portrait-frame:focus-within::after {
  opacity: 1;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-copy {
  justify-self: start;
  margin: 0;
  color: var(--muted);
}

.footer-social {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--text);
  border: 0;
  line-height: 1;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.social-pictogram {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  overflow: visible;
}

.footer-impressum {
  justify-self: end;
  text-align: right;
  color: var(--nav-muted);
  transition: color 180ms ease;
}

.footer-impressum:hover,
.footer-impressum:focus-visible {
  color: var(--text-strong);
  outline: none;
}

/* Barrierefreiheit */

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

/* Reduzierte Bewegung */

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Tablet / Mobile Navigation */

@media (max-width: 900px) {
  .topbar-inner {
    position: relative;
    grid-template-columns: auto auto auto;
    min-height: 64px;
    gap: 0.75rem 1rem;
    padding: 0.65rem 0;
  }

  .nav-toggle-label {
    display: inline-flex;
  }
  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    padding: 0.55rem 0.62rem;
  }

  .theme-toggle-label {
    display: none;
  }


  nav {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    justify-self: auto;
    width: min(18rem, calc(100vw - var(--gutter) * 2));
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--surface-elevated);
    border: 1px solid var(--line);
    box-shadow: 0 1.2rem 2.4rem var(--shadow);
    z-index: 60;
    transition:
      max-height 260ms ease,
      opacity 180ms ease,
      visibility 0ms linear 180ms;
  }

  .nav-toggle:checked ~ nav {
    max-height: 34rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0ms;
  }

  nav > ul {
    display: grid;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    padding: 0.65rem 1rem 0.9rem;
  }

  nav a,
  .nav-main {
    width: 100%;
    padding: 0.72rem 0;
  }

  .nav-main::after {
    content: "";
  }

  .nav-item {
    display: block;
  }

  .nav-item::after {
    content: none;
  }

  .submenu {
    position: static;
    transform: none;
    min-width: 0;
    background: transparent;
    border: 0;
    padding: 0 0 0.55rem 1.15rem;
    display: grid;
    gap: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .submenu a {
    padding: 0.42rem 0;
    color: var(--nav-muted);
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    transform: none;
  }

  .section-head,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page {
    width: min(100%, var(--max));
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    justify-self: start;
    max-width: 20rem;
    order: -1;
  }
}


/* Kleine Smartphones */

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
  }

  .topbar-inner {
    min-height: auto;
  }

  .brand-logo {
    width: clamp(2.4rem, 10vw, 3rem);
    max-height: 2.35rem;
  }

  .brand-text {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-copy,
  .footer-impressum {
    font-size: 0.72rem;
  }
}

/* UX-Erweiterungen: Hero, Ablauf und Anfrageformular */

.section-spaced {
  margin-top: clamp(2.8rem, 7vw, 6rem);
}

.section-title {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero {
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(1.8rem, 6vw, 5rem);
  align-items: end;
}

.hero-copy h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 5.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: none;
  margin-bottom: clamp(1.3rem, 3vw, 2rem);
}

.hero-copy .lead {
  max-width: 64ch;
}

.hero-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button,
main a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.82rem 1rem;
  border: 1px solid var(--text-strong);
  font: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible,
main a.button:hover,
main a.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary,
main a.button-primary {
  background: var(--text-strong);
  color: var(--text-inverted);
  border-color: var(--text-strong);
}

.button-secondary,
main a.button-secondary {
  background: transparent;
  color: var(--text-strong);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-strong);
}

.compact-list {
  gap: 0.45rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-card {
  min-height: 15rem;
  background: var(--surface);
  padding: clamp(1rem, 2vw, 1.4rem);
}

.process-number {
  display: block;
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 2.4rem;
}

.process-card h3,
.contact-teaser h2,
.inquiry-form h2 {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-teaser {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.4rem, 4vw, 2.4rem);
}

.contact-teaser-action {
  align-self: end;
}

.contact-cta,
main a.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18rem);
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  background: var(--text-strong);
  color: var(--text-inverted);
  border: 1px solid var(--text-strong);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease;
}

.contact-cta:hover,
.contact-cta:focus-visible,
main a.contact-cta:hover,
main a.contact-cta:focus-visible {
  transform: translateY(-1px);
  opacity: 0.9;
  outline: none;
}

.contact-page {
  width: min(100%, 980px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}

.inquiry-form {
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  padding: clamp(1.1rem, 3vw, 1.8rem);
}

.inquiry-form label {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 1rem 0 0.35rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 0.78rem 0.85rem;
  font: inherit;
  line-height: 1.4;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--focus);
  outline: 2px solid transparent;
}

.inquiry-form .button {
  margin-top: 1.1rem;
  width: 100%;
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(1.75rem, 11vw, 2.8rem);
  }

  .button-row,
  .button,
  main a.button,
  .contact-cta,
  main a.contact-cta {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }

  .process-number {
    margin-bottom: 1.2rem;
  }
}


/* PHP-Formularmeldungen */

.form-message {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  margin: 0 0 1rem;
  color: var(--muted);
  background: var(--surface-elevated);
}

.form-message p {
  margin-bottom: 0.55rem;
  color: var(--text);
}

.form-message ul {
  margin: 0;
  padding-left: 1.1rem;
}

.form-message-success {
  border-color: var(--text-strong);
}

.form-message-error {
  border-color: var(--soft);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Kontaktformular: Meldungen und Formular bleiben in der rechten Spalte */
.contact-layout .contact-details {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.contact-layout .form-message,
.contact-layout .inquiry-form {
  grid-column: 2;
}

@media (max-width: 900px) {
  .contact-layout .contact-details,
  .contact-layout .form-message,
  .contact-layout .inquiry-form {
    grid-column: auto;
    grid-row: auto;
  }
}
