:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-deep: #f0f1f3;
  --ink: #1a1a1a;
  --ink-soft: #5c5c5c;
  --brand: #e10600;
  --brand-deep: #b50500;
  --brand-soft: #fff1f0;
  --mist: #ffffff;
  --line: rgba(26, 26, 26, 0.1);
  --accent: #e10600;
  --accent-hover: #c20500;
  --white: #ffffff;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --max: 72rem;
  --page-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  --radius: 0.35rem;
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem + var(--safe-top));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.085rem);
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(90% 55% at 100% 0%, rgba(225, 6, 0, 0.045), transparent 55%),
    radial-gradient(70% 45% at 0% 100%, rgba(225, 6, 0, 0.03), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: calc(-100% + var(--safe-top));
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: calc(0.75rem + var(--safe-top));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--header-h);
  padding:
    calc(0.65rem + var(--safe-top))
    calc(var(--page-inline) + var(--safe-right))
    0.65rem
    calc(var(--page-inline) + var(--safe-left));
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--white);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: clamp(2.15rem, 6vw, 2.65rem);
  width: auto;
  max-width: min(48vw, 12.5rem);
  object-fit: contain;
  margin-left: -0.35rem;
}

.nav {
  display: none;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
}

.nav a:hover {
  color: var(--brand);
}

.header-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  background: var(--brand);
  padding: 0.55rem 0.9rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--brand-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.header-cta-desktop {
  display: none;
}

.header-cta-mobile {
  margin-left: auto;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  border-radius: var(--radius);
}

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

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(26, 26, 26, 0.28);
  animation: fade-in 0.25s var(--ease);
}

.nav-backdrop[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top) + 0.35rem);
  left: calc(var(--page-inline) + var(--safe-left));
  right: calc(var(--page-inline) + var(--safe-right));
  z-index: 35;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.1);
  animation: drop-in 0.35s var(--ease);
}

.mobile-nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.5rem 0.55rem;
  line-height: 0;
  text-decoration: none;
}

.mobile-nav-logo img {
  display: block;
  height: 2.1rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav nav {
  display: grid;
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.9rem 0.75rem;
  font-weight: 500;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-deep);
  outline: none;
}

.mobile-cta {
  margin-top: 0.35rem;
  justify-content: center !important;
  background: var(--brand);
  color: var(--white) !important;
}

.mobile-cta:hover,
.mobile-cta:focus-visible {
  background: var(--brand-deep) !important;
  color: var(--white) !important;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 860px) {
  .nav,
  .header-cta-desktop {
    display: inline-flex;
  }

  .header-cta-mobile,
  .nav-toggle,
  .mobile-nav,
  .nav-backdrop {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(30rem, 72svh, 38rem);
  min-height: clamp(30rem, 72dvh, 38rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.28) 0%, rgba(26, 26, 26, 0.42) 40%, rgba(18, 18, 18, 0.82) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, 0.45) 0%, transparent 58%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) forwards;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translateY(0);
  }
  to {
    transform: scale(1) translateY(-1.5%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), 54rem);
  margin:
    0
    calc(var(--page-inline) + var(--safe-right))
    0
    calc(var(--page-inline) + var(--safe-left));
  padding:
    calc(var(--header-h) + var(--safe-top) + 1.5rem)
    0
    calc(2rem + var(--safe-bottom));
  animation: rise 0.9s var(--ease) both;
}

.brand {
  margin: 0 0 clamp(0.85rem, 2vw, 1.35rem);
}

.brand-logo {
  line-height: 0;
  max-width: min(100%, 26rem);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-weight: 600;
  max-width: 32ch;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.hero-experience {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(225, 6, 0, 0.9);
  border-radius: var(--radius);
}

.lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  max-width: 52ch;
  margin-bottom: 1rem;
}

.media-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  line-height: 1.35;
  max-width: 56ch;
  margin: 0 0 1.25rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  min-height: 2.85rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 559px) {
  .cta-group {
    flex-direction: column;
  }

  .cta-group .btn {
    width: 100%;
  }

  .hero-content {
    padding-bottom: calc(1.75rem + var(--safe-bottom));
  }
}

/* Sections */
.section {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0;
}

.section-intro,
.contact-intro,
.process-copy > h2,
.process-copy > p:first-of-type {
  max-width: 36rem;
}

.section-intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section h2 {
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  color: var(--ink);
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.15rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .service-list li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: baseline;
  }
}

.service-list h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--brand);
  margin: 0;
}

.service-list p {
  margin: 0;
  max-width: 42rem;
}

/* Process */
.process {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .process {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.process-visual {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: clamp(14rem, 42vw, 20rem);
  background: var(--bg-deep);
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .process-visual {
    aspect-ratio: 5 / 4;
    min-height: 0;
    max-height: 34rem;
  }
}

.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.steps {
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1.15rem, 2.5vw, 1.5rem);
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
  line-height: 1.4;
  min-width: 1.75rem;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
}

/* Contact */
.contact {
  padding-bottom: clamp(4rem, 11vw, 8rem);
}

.contact-intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 2.5rem);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.4fr 0.8fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1rem; /* prevents iOS zoom on focus */
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  min-height: 2.85rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.14);
}

.contact-form .btn-submit {
  justify-self: stretch;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
}

.contact-form .btn-submit:focus-visible {
  outline-color: var(--brand);
}

@media (min-width: 560px) {
  .contact-form .btn-submit {
    justify-self: start;
    width: auto;
    min-width: 12rem;
  }
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-deep);
}

.contact-aside h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

.contact-links {
  display: grid;
  gap: 0.55rem;
}

.contact-aside a {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
}

.contact-aside a:hover {
  text-decoration: underline;
}

.aside-meta {
  margin-top: 1.25rem;
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding:
    2.25rem
    calc(var(--gutter) + var(--safe-right))
    calc(2.5rem + var(--safe-bottom))
    calc(var(--gutter) + var(--safe-left));
  text-align: center;
}

.footer-brand {
  margin-bottom: 0.5rem;
  line-height: 0;
}

.footer-brand img {
  display: block;
  height: 2.6rem;
  width: auto;
  max-width: 12rem;
  margin: 0 auto;
  object-fit: contain;
}

.site-footer p {
  margin: 0 auto 0.5rem;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin: 1rem 0 0.25rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--brand);
}

.contact-aside address {
  font-style: normal;
}

/* Spam honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status.is-error {
  color: var(--brand-deep);
}

/* Impressum */
.legal-intro {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 700px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-grid h3 {
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 0.45rem;
}

.legal-grid h2 {
  font-size: 1.15rem;
  color: var(--brand);
  margin-bottom: 0.45rem;
}

.page-legal {
  padding-top: calc(var(--header-h) + var(--safe-top) + 2.5rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal-intro h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  color: var(--ink);
}

.legal-grid p {
  margin-bottom: 0.65rem;
  max-width: 38rem;
}

.legal-grid a {
  color: var(--brand);
  word-break: break-word;
}

.legal-note,
.legal-disclaimer {
  font-size: 0.9rem;
  color: rgba(92, 92, 92, 0.95);
}

.legal-disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-meta {
  margin: 0.85rem auto 0.35rem !important;
  font-size: 0.86rem;
  color: rgba(92, 92, 92, 0.95);
  max-width: 36rem;
}

.footer-legal {
  margin-top: 1.25rem !important;
  font-size: 0.88rem;
  color: rgba(92, 92, 92, 0.95);
}

/* Legal long-form */
.legal-article {
  max-width: 48rem;
}

.legal-toc {
  margin: 0 0 2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.toc-title {
  font-size: 1rem !important;
  margin: 0 0 0.65rem !important;
  color: var(--ink) !important;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-toc li {
  margin: 0.25rem 0;
}

.legal-toc a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  text-decoration: underline;
}

.legal-prose {
  display: grid;
  gap: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.legal-prose section h2 {
  font-size: 1.2rem;
  color: var(--pine, var(--brand));
  color: var(--brand);
  margin-bottom: 0.55rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-soft);
  max-width: 42rem;
}

.legal-prose ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.legal-prose code {
  font-size: 0.9em;
  background: rgba(26, 26, 26, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

/* Accessibility: stronger focus */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn:focus-visible,
.header-cta:focus-visible,
.nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

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

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Large desktop */
@media (min-width: 1200px) {
  :root {
    --max: 76rem;
  }

  .hero-content {
    width: min(100% - (var(--gutter) * 2), 58rem);
  }
}

/* Performance / mobile stability */
@media (max-width: 859px) {
  body {
    background-attachment: scroll;
  }
}

@media (min-width: 860px) {
  body {
    background-attachment: fixed;
  }
}

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

  .hero-media img,
  .hero-content,
  .reveal,
  .mobile-nav,
  .nav-backdrop {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: none) {
  .btn:hover,
  .header-cta:hover {
    transform: none;
  }
}

/* EU Cookie Banner */
.cookie-banner {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(1rem, env(safe-area-inset-bottom, 1rem)) !important;
  transform: translateX(-50%);
  z-index: 2147483000 !important;
  width: min(40rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #ffffff !important;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 0.45rem;
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.18);
  display: block;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.is-open {
  display: block !important;
}

.cookie-banner h2 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
  color: #1a1a1a;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  color: #5c5c5c;
}

.cookie-banner a {
  color: #e10600;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  min-height: 2.6rem;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(26, 26, 26, 0.15);
}

.btn-secondary:hover {
  background: #f7f7f8;
  color: #1a1a1a;
}

.btn-secondary:focus-visible {
  outline: 2px solid #e10600;
  outline-offset: 2px;
}

@media (max-width: 559px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

body.cookie-open {
  overflow: hidden;
}

.cookie-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147482990 !important;
  background: rgba(26, 26, 26, 0.35);
  display: block;
}

.cookie-backdrop[hidden] {
  display: none !important;
}

.cookie-backdrop.is-open {
  display: block !important;
}

/* ========== Barrierefreie Ansicht ========== */
html.a11y-view {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-deep: #ffffff;
  --ink: #000000;
  --ink-soft: #000000;
  --brand: #000000;
  --brand-deep: #000000;
  --brand-soft: #ffff00;
  --mist: #ffffff;
  --line: #000000;
  --accent: #000000;
  --accent-hover: #000000;
  --white: #ffffff;
  --font-display: "Segoe UI", "Arial", sans-serif;
  --font-body: "Segoe UI", "Arial", sans-serif;
}

html.a11y-view body {
  background: #fff !important;
  color: #000 !important;
  font-size: 1.2rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

html.a11y-view a {
  color: #0000ee !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

html.a11y-view a:visited {
  color: #551a8b !important;
}

html.a11y-view .site-header,
html.a11y-view .site-header.is-scrolled {
  background: #fff !important;
  border-bottom: 2px solid #000 !important;
  backdrop-filter: none !important;
}

html.a11y-view .logo img,
html.a11y-view .footer-brand img {
  outline: 2px solid #000;
  outline-offset: 2px;
}

html.a11y-view .logo,
html.a11y-view .footer-brand,
html.a11y-view .brand,
html.a11y-view .brand-sub,
html.a11y-view .section h2,
html.a11y-view .legal-grid h2,
html.a11y-view .legal-prose section h2,
html.a11y-view .service-list h3,
html.a11y-view .step-num,
html.a11y-view .contact-aside h3 {
  color: #000 !important;
}

html.a11y-view .hero {
  min-height: auto;
  background: #fff;
  color: #000;
  border-bottom: 2px solid #000;
}

html.a11y-view .hero-media {
  display: none !important;
}

html.a11y-view .hero-content {
  width: min(100% - 2.5rem, 48rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  animation: none !important;
  color: #000;
}

html.a11y-view .brand {
  margin-bottom: 1rem;
}

html.a11y-view .brand-logo img {
  outline: 3px solid #000;
  outline-offset: 4px;
  max-width: 20rem;
}

html.a11y-view .hero h1,
html.a11y-view .hero-experience,
html.a11y-view .lede,
html.a11y-view .media-note,
html.a11y-view p {
  color: #000 !important;
}

html.a11y-view .media-note {
  border-left: 4px solid #000;
  padding-left: 0.75rem;
}

html.a11y-view .btn,
html.a11y-view .header-cta,
html.a11y-view .mobile-cta {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #000 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

html.a11y-view .btn-ghost,
html.a11y-view .btn-secondary {
  background: #fff !important;
  color: #000 !important;
  border: 2px solid #000 !important;
}

html.a11y-view .btn:hover,
html.a11y-view .btn:focus-visible,
html.a11y-view .header-cta:hover {
  background: #ffff00 !important;
  color: #000 !important;
  outline: 3px solid #000 !important;
  outline-offset: 2px;
}

html.a11y-view .service-list,
html.a11y-view .service-list li,
html.a11y-view .legal-toc,
html.a11y-view .site-footer,
html.a11y-view .mobile-nav,
html.a11y-view .contact-form input,
html.a11y-view .contact-form textarea {
  border-color: #000 !important;
  background: #fff !important;
  color: #000 !important;
}

html.a11y-view .process-visual {
  display: none !important;
}

html.a11y-view .process {
  grid-template-columns: 1fr !important;
}

html.a11y-view .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.a11y-view .hero-media img,
html.a11y-view .hero-content,
html.a11y-view .mobile-nav {
  animation: none !important;
}

html.a11y-view :focus-visible {
  outline: 3px solid #000 !important;
  outline-offset: 3px !important;
  background-color: #ffff00;
}

html.a11y-view .cookie-banner {
  border: 3px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

html.a11y-view .cookie-banner h2,
html.a11y-view .cookie-banner p {
  color: #000 !important;
}

html.a11y-view .nav-backdrop,
html.a11y-view .cookie-backdrop {
  background: rgba(0, 0, 0, 0.55) !important;
}

html.a11y-view .footer-meta,
html.a11y-view .footer-legal,
html.a11y-view .aside-meta,
html.a11y-view .optional {
  color: #000 !important;
}

html.a11y-view .skip-link:focus {
  background: #000;
  color: #ffff00 !important;
}
