@charset "UTF-8";

/*
 * DJ-Service.com – gemeinsame Gestaltung
 *
 * Zuerst Grundlayout und Inhaltsbereiche, danach Komponenten und deren
 * Zustände. Responsive Anpassungen stehen bei den zugehörigen Regeln.
 * Die Reihenfolge ist Teil der Kaskade: spezifische Zustände stehen später.
 * Menü-Breakpoint (1280px) mit assets/js/site.js synchron halten.
 */


/* Grundlagen und zentrale Farben */
:root {
  --ink: #142634;
  --muted: #52616b;
  --accent: #a74b2b;
  --line: #dce1e4;
  --paper: #fff;
  --pale: #f3f5f6;
  --link-hover: #873d23;
  --link-glow: 0 0 8px #a74b2b40,0 0 18px #a74b2b20;
  --dj-cyan: #22c7f2;
  --dj-cyan-hover: #7ee8ff;
  --header-offset: 145px;
  --intro-text-top: 100px;
  --intro-image-top: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.6;
}

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

a: hover {
  text-decoration: none;
}

button {
  font: inherit;
}

a: focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

/* Seitenbreite */
.wrap {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 48px;
}

/* Grundlayout: Kopfbereich und Navigation */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 122px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.15;
  white-space: nowrap;
}

.header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: .875rem;
}

/* Schaltflächen */
.button {
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-weight: 600;
  font-size: .9375rem;
}

.button:hover {
  background: #873d23;
  text-decoration: none;
}

.button.small {
  padding: 12px 18px;
}

/* Startseite: Einstieg und Typografie */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-top: var(--intro-image-top);
  padding-bottom: 85px;
}

/* Gleicher Textbeginn, unabhängig von Bildhöhe und Textumfang. */
.hero-copy, .service-intro-copy {
  padding-top: calc(var(--intro-text-top) - var(--intro-image-top));
}

.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--accent);
  margin: 0 0 24px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(2.8rem,4.4vw,4.6rem);
  line-height: 1.09;
  font-weight: 400;
  letter-spacing: -.045em;
  margin-bottom: 28px;
}

h1 em {
  font-weight: 400;
  color: var(--accent);
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
  margin: 0;
  height: 540px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.hero-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 25px 22px;
  background: linear-gradient(transparent,#142634d9);
  color: white;
  font-size: .875rem;
}

/* Startseite: Leistungskacheln */
.services {
  padding-top: 72px;
  padding-bottom: 88px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 35px;
}

.section-heading .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 14px;
}

h2 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 400;
  margin-bottom: 16px;
}

.section-heading>p:last-child {
  max-width: 450px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  min-height: 270px;
  transition: background .15s;
}

.service-card:hover {
  background: var(--pale);
  text-decoration: none;
}

.number {
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 28px;
  display: block;
}

.service-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: .9375rem;
}

.more {
  margin-top: auto;
  padding-top: 20px;
  font-size: .875rem;
  font-weight: 600;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.dj-card {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.dj-card:hover {
  background: #223d50;
}

.dj-card .number, .dj-card p {
  color: #d2dde4;
}

/* Kontaktaufruf und Footer */
.contact-band {
  background: var(--ink);
  color: white;
  padding-block: 65px;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.contact-band .eyebrow {
  color: #e5ac91;
  margin-bottom: 15px;
}

.contact-band h2 {
  margin: 0;
  font-size: 2.35rem;
}

.button.light {
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}

.button.light:hover {
  background: #e6ecf0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 48px;
}

.footer p, .footer nav {
  font-size: .8125rem;
  color: var(--muted);
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 22px;
}

/* Unterseiten und Leistungsdetails */
.detail {
  padding-top: var(--intro-text-top);
  padding-bottom: 80px;
  min-height: 60vh;
}

.detail h1 {
  max-width: 1000px;
  overflow-wrap: break-word;
}

.detail--illustrated {
  padding-top: var(--intro-image-top);
}

.detail .lead {
  max-width: 750px;
  font-size: 1.125rem;
}

.detail-tagline {
  font-family: Georgia,serif;
  font-size: 1.7rem;
  color: var(--accent);
}

/* Wie der Startseiten-Einstieg, mit höherem Bildrahmen für das Hochformat. */
.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

/* Bild links nur bei zwei Spalten; im HTML bleibt der Text zuerst. */
@media (min-width: 761px) {
  .service-intro--image-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .service-intro--image-left > figure {
    order: -1;
  }
}

.service-intro h1 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

.service-intro h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}

.service-intro-copy > :last-child {
  margin-bottom: 0;
}

.service-portrait {
  width: 100%;
  height: 660px;
  margin: 0;
}

.service-landscape {
  margin: 0;
}

.service-landscape img {
  display: block;
  width: 100%;
  height: auto;
}

.service-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

@media (max-width: 1000px) {
  .service-intro {
    gap: 28px;
  }

  .service-portrait {
    height: 600px;
  }
}

@media (max-width: 760px) {
  .service-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .service-intro h1 {
    font-size: clamp(2rem, 7vw, 3.4rem);
  }

  .service-portrait {
    height: 480px;
  }
}

@media (max-width: 440px) {
  .service-portrait {
    height: 420px;
  }
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-block: 50px;
}

.topic-grid>div {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.topic-grid h2 {
  font-family: Arial,sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
}

.notice {
  background: var(--pale);
  padding: 32px;
  max-width: 850px;
}

.notice h2 {
  font-size: 1.8rem;
}

.notice p:last-child {
  margin: 0;
}

.draft-note {
  font-size: .875rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 24px;
  max-width: 850px;
}

/* Sprunglink und responsive Grundlayouts */
.skip {
  position: absolute;
  top: -100px;
  left: 15px;
  background: white;
  padding: 12px;
  z-index: 20;
}

.skip:focus {
  top: 10px;
}

.menu-toggle {
  display: none;
}

@media (max-width:1000px) {
  :root {
    --intro-text-top: 60px;
  }

  .wrap {
    padding-inline: 28px;
  }

  .hero {
    gap: 28px;
  }

  .hero-image {
    height: 490px;
  }

  .service-card {
    padding: 24px;
  }

  .brand {
    font-size: 1.25rem;
  }

}

@media (max-width:760px) {
  :root {
    --intro-text-top: 30px;
    --intro-image-top: 30px;
  }

  .wrap {
    padding-inline: 22px;
  }

  .header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
  }

  .js .menu-toggle {
    font-size: .875rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: var(--intro-image-top);
    padding-bottom: 48px;
    gap: 32px;
  }

  h1 {
    font-size: clamp(2.7rem,9vw,4rem);
  }

  .hero-image {
    height: 360px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .services {
    padding-block: 45px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-inner, .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-band {
    padding-block: 44px;
  }

  .contact-band h2 {
    font-size: 2rem;
  }

  .footer {
    padding-block: 35px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .detail {
    padding-block: var(--intro-text-top) 55px;
  }

  .notice {
    padding: 24px;
  }

}

@media (max-width:440px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }

  .hero-image {
    height: 300px;
  }

}

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

  * {
    transition: none!important;
  }

}

/* Originales SVG-Logo: Proportionen erhalten, keine Umfärbung. */
.brand {
  display: block;
  flex-shrink: 0;
  max-width: 100%;
}

.brand-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
}

.footer .brand-logo {
  width: 250px;
}

@media (max-width:1000px) {
  .brand-logo {
    width: 235px;
  }

}

@media (max-width:760px) {
  .brand-logo {
    width: 220px;
  }

}

@media (max-width:360px) {
  .brand-logo {
    width: 185px;
  }

}

/* Gleichwertige Einwilligungsaktionen und tastaturbedienbarer nativer Dialog. */
.text-button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer nav {
  flex-wrap: wrap;
}

.legal-copy {
  max-width: 960px;
}

.legal-copy h2 {
  overflow-wrap: anywhere;
  font-size: 1.75rem;
  margin-top: 38px;
}

.legal-copy code {
  overflow-wrap: anywhere;
}

#consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  max-height: 55vh;
  max-height: 55dvh;
  overflow: auto;
  padding-block: 18px max(18px, env(safe-area-inset-bottom));
  border-top: 2px solid var(--accent);
  color: white;
  background: var(--ink);
  box-shadow: 0 -4px 20px #14263420;
}

body {
  padding-bottom: var(--consent-height, 0px);
}

html {
  scroll-padding-bottom: calc(var(--consent-height, 0px) + 24px);
}

.consent-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.consent-copy {
  flex: 1;
  min-width: 0;
  font-size: .875rem;
}

.consent-copy p {
  margin: 0;
}

#consent a {
  color: #f0b89f;
  font-weight: 600;
}

#consent .consent-preview {
  margin-top: 6px;
  color: #d7e0e5;
  font-size: .8125rem;
}

/* Status für Screenreader; die sichtbare Erläuterung steht direkt darüber. */
.consent-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

#consent h2 {
  overflow-wrap: anywhere;
  font: 700 .9375rem/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  margin-bottom: 6px;
}

#consent .consent-actions {
  flex-shrink: 0;
}

#consent .consent-actions button {
  min-width: 120px;
  min-height: 44px;
  background: transparent;
  border-color: #e5ac91;
  color: white;
  font-size: .875rem;
  font-weight: 700;
}

#consent .consent-actions button:is(:hover, :focus-visible) {
  background: var(--accent);
}

@media (max-width: 900px) {
  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  #consent .consent-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #consent .consent-actions button {
    min-width: 0;
  }
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consent-actions button {
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
}

.consent-actions button:hover {
  background: var(--pale);
}

.consent-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

[hidden] {
  display: none!important;
}

/* Direkter Einstieg für Besucher, die über den bisherigen DJ-Auftritt kommen. */
.dj-signpost {
  background: var(--ink);
  color: #fff;
  margin-bottom: 20px;
}

.dj-signpost-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.dj-signpost p {
  margin: 0;
  font-size: .9375rem;
  max-width: 750px;
}

.dj-signpost strong {
  display: block;
  font-size: 1.125rem;
}

.dj-signpost a {
  font-weight: 700;
  font-size: .9375rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.dj-card-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  width: 100%;
}

.dj-card-heading img {
  display: block;
  width: 90px;
  height: auto;
  flex-shrink: 0;
}

.dj-card-heading h3 {
  margin: 0;
}

.dj-card .number {
  margin-bottom: 18px;
}

@media (max-width:1000px) {
  .dj-signpost-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dj-card-heading {
    gap: 14px;
  }

  .dj-card-heading img {
    width: 72px;
  }

}

@media (max-width:360px) {
  .dj-card-heading {
    flex-wrap: wrap;
  }

}

/* Gemeinsames Kontaktformular */
#kontakt-heading {
  margin-bottom: 32px;
  overflow-wrap: anywhere;
}

@media (max-width: 440px) {
  #kontakt-heading {
    font-size: 2rem;
  }
}

.form-section {
  padding-bottom: 65px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1fr);
  gap: 40px;
}

.contact-box form {
  display: grid;
  gap: 12px;
}

.contact-input {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #8899a5;
  background: white;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
}

.contact-input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.contact-label {
  font-size: .9375rem;
  font-weight: 600;
}

.contact-input+label {
  margin-top: 8px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
}

.privacy-check input {
  margin-top: 6px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.privacy-check a {
  text-decoration: none;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-box .btn {
  padding: 14px 20px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font: inherit;
  cursor: pointer;
}

.contact-box .btn:disabled {
  opacity: .55;
  cursor: wait;
}

.contact-status {
  font-size: .9375rem;
}

.contact-alt {
  background: var(--pale);
  padding: 24px;
  align-self: start;
  /* Erste Beschriftung (1,5rem Zeilenhöhe) plus Formularabstand. */
  margin-top: calc(1.5rem + 12px);
  overflow-wrap: anywhere;
}

.contact-detail {
  display: flex;
  gap: 10px;
}

.contact-box textarea {
  resize: vertical;
}

@media (max-width:760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-alt {
    margin-top: 0;
  }

  .form-section {
    padding-bottom: 40px;
  }

}

/* Linkverhalten nach DJ B-Sonic, mit zum Hintergrund passenden Farben. */
a, .text-button {
  transition: color .2s ease,text-shadow .2s ease,background-color .2s ease,transform .2s ease;
}

a: not(.button):not(.brand):not(.service-card):is(:hover, :focus-visible), .text-button:is(:hover, :focus-visible) {
  color: var(--link-hover);
  text-shadow: var(--link-glow);
  text-decoration: none;
}

.link-arrow {
  display: inline-block;
  transition: transform .2s ease;
}

a: is(:hover, :focus-visible) .link-arrow {
  transform: translateX(4px);
}

a: is(:hover, :focus-visible) .link-arrow--down {
  transform: translateY(3px);
}

.header nav>a:not(.button) {
  display: inline-block;
  transform-origin: center;
}

@media (hover:hover) and (pointer:fine) {
  .header nav>a:not(.button):hover {
    transform: scale(1.12);
  }

}

.service-card:is(:hover, :focus-visible) h3, .service-card:is(:hover, :focus-visible) .more {
  color: var(--link-hover);
  text-shadow: var(--link-glow);
}

.button:is(:hover, :focus-visible) {
  text-shadow: 0 0 8px #ffffff60;
  box-shadow: 0 0 14px #a74b2b30;
}

.dj-link {
  --link-hover: var(--dj-cyan-hover);
  --link-glow: 0 0 8px #22c7f2a6,0 0 18px #00a7e657;
}

.dj-signpost .dj-signpost-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dj-cyan);
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.dj-signpost-link img {
  display: block;
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.dj-signpost .dj-signpost-link:is(:hover, :focus-visible) {
  color: var(--dj-cyan-hover);
}

.dj-card .more {
  color: var(--dj-cyan);
}

.dj-card:is(:hover, :focus-visible) h3, .dj-card:is(:hover, :focus-visible) .more {
  color: var(--dj-cyan-hover);
}

a.dj-link:focus-visible {
  outline-color: var(--dj-cyan);
}

@media (prefers-reduced-motion:reduce) {
  a, .link-arrow {
    transition: none!important;
  }

  .header nav>a:not(.button):hover, a:is(:hover, :focus-visible) .link-arrow {
    transform: none;
  }

}

/* Responsive Navigation mit eindeutigem aktuellem Ziel. */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  position: relative;
}

.hamburger>span {
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform .2s ease,opacity .2s ease;
}

.menu-toggle[aria-expanded=true] .hamburger>span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded=true] .hamburger>span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded=true] .hamburger>span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.header nav a[aria-current], .footer nav a[aria-current] {
  text-decoration: none;
  font-weight: 700;
}

.header nav a[aria-current]:not(.button) {
  color: var(--accent);
}

.header nav a.button[aria-current] {
  box-shadow: inset 0 -3px 0 #fff;
}

@media (max-width:1280px) {
  .header {
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 22px;
    min-height: 100px;
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid var(--line);
    padding: 10px 14px;
    background: white;
    color: var(--ink);
    cursor: pointer;
  }

  .header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .js .menu-toggle[aria-expanded=false]+nav {
    display: none;
  }

  .header nav>a:not(.button), .header nav>a.button {
    padding: 12px 14px;
    min-height: 44px;
    white-space: normal;
    transform: none;
    text-align: left;
  }

  .header nav a[aria-current]:not(.button) {
    background: var(--pale);
    border-left: 3px solid var(--accent);
  }

  .header nav>a.button {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .header nav>a:not(.button):hover {
    transform: none;
  }

}

@media (prefers-reduced-motion:reduce) {
  .hamburger>span {
    transition: none;
  }

}

/* Navigationsband bleibt sichtbar, auch auf schmalen Bildschirmen. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 12px #1426340a;
}

#anfrage {
  scroll-margin-top: 0;
}

.skip {
  position: fixed;
  z-index: 100;
}

@media (max-width:1280px) {
  .site-header {
    max-height: 85vh;
    max-height: 85dvh;
    overflow-y: auto;
  }

  .header nav {
    padding-bottom: 8px;
  }

}

/* Browserunabhängiges Datum: kompakt am Desktop, volle Breite mobil. */
.date-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.date-control,
.contact-input[name="rental_days"] {
  width: 330px;
  max-width: 100%;
}

.date-control {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #8899a5;
  background: white;
}

.date-control:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.date-text-input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 12px 10px 12px 14px;
  color: var(--ink);
  font: inherit;
  background: transparent;
  outline: none;
}

.date-calendar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.date-calendar-icon {
  width: 24px;
  height: 24px;
}

.date-picker {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: 310px;
  max-width: calc(100vw - 48px);
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px #14263430;
  z-index: 20;
}

.date-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.date-picker button {
  font: inherit;
  color: var(--ink);
  border: 0;
  background: var(--pale);
  min-height: 36px;
  cursor: pointer;
}

.date-picker-head button {
  width: 36px;
  font-size: 1.5rem;
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 3px;
  text-align: center;
}

.date-picker-grid>span {
  font-size: .875rem;
}

.date-picker-grid button:is(:hover, :focus-visible), .date-picker-grid button.is-selected {
  background: var(--accent);
  color: white;
}

.date-picker-grid button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.date-weekday {
  font-size: .875rem;
  color: var(--muted);
}

@media (max-width:600px) {
  .date-field {
    display: block;
  }

  .date-control,
  .contact-input[name="rental_days"] {
    width: 100%;
  }

  .date-weekday {
    display: block;
    margin-top: 8px;
  }

  .date-picker {
    width: 100%;
  }

}

.menu-toggle {
  width: 44px;
  justify-content: center;
  flex-shrink: 0;
}

.js .menu-toggle {
  padding-inline: 10px;
}

/* Hochzeit als konkreter Anlass innerhalb der Eventplanung. */
.wedding-planning {
  border-top: 1px solid var(--line);
  padding-top: 38px;
  margin-top: 30px;
}

.wedding-planning>p {
  max-width: 850px;
}

.wedding-planning>p a {
  text-decoration: none;
}

.wedding-dj {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--ink);
  color: white;
  padding: 30px;
  margin-top: 28px;
}

.wedding-dj>img {
  width: 90px;
  height: auto;
  flex-shrink: 0;
}

.wedding-dj h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.wedding-dj p {
  color: #d2dde4;
  max-width: 680px;
}

.wedding-dj .dj-link {
  color: var(--dj-cyan);
  font-weight: 700;
}

.wedding-dj .dj-link:is(:hover, :focus-visible) {
  color: var(--dj-cyan-hover);
}

@media (max-width:600px) {
  .wedding-dj {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
  }

  .wedding-dj>img {
    width: 70px;
  }

}

/* Equipmentkatalog: freigestellte Bilder und einheitliche Anfragekarten. */
.equipment-catalog {
  margin-top: 64px;
}

.equipment-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 28px 40px;
}

.equipment-categories a {
  border: 1px solid var(--line);
  padding: 10px 16px;
  color: var(--accent);
  font-weight: 600;
}

.equipment-group {
  margin-top: 40px;
}

.equipment-group > h3 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
}

.equipment-image {
  position: relative;
  background: var(--pale);
  padding: 20px;
  aspect-ratio: 4 / 3;
}

.equipment-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.equipment-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 24px;
}

.equipment-power {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-power li {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid #e9ded5;
  border-radius: 24px;
  background: #faf3ed;
  color: #a74b2b;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.equipment-power img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.equipment-power-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.equipment-method {
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.equipment-method--setup {
  color: var(--accent);
  font-weight: 700;
}

.equipment-card h4 {
  font-size: 1.25rem;
  margin: 0 0 16px;
}

.equipment-price {
  margin-top: auto;
  padding-top: 12px;
  color: var(--muted);
  font-size: .9375rem;
}

.equipment-inquiry {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1000px) {
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-catalog {
    margin-top: 40px;
  }
}

/* Textlinks ohne Unterstrich: Kupfer und Schriftgewicht machen sie erkennbar. */
main p a:not(.button):not(.dj-link), .privacy-check a, .contact-detail a, .legal-copy a:not(.button):not(.dj-link) {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

main p a:not(.button):not(.dj-link):is(:hover, :focus-visible), .legal-copy a:not(.button):not(.dj-link):is(:hover, :focus-visible) {
  color: var(--link-hover);
  text-shadow: var(--link-glow);
}

.header nav a[aria-current]:not(.button), .footer nav a[aria-current] {
  background: var(--pale);
  color: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 5px var(--pale);
  text-decoration: none;
}

/* Nur ein Hauch Transparenz beim Scrollen; ohne Blur bleibt der Header deckend. */
.site-header {
  transition: background-color .2s ease,box-shadow .2s ease;
}

.site-header .header {
  background: transparent;
}

@supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))) {
  .site-header.is-scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 3px 14px #14263410;
  }

}

.site-header:has(.menu-toggle[aria-expanded=true]) {
  background: #fff;
}

@media (prefers-reduced-transparency:reduce) {
  .site-header.is-scrolled {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}

@media (prefers-reduced-motion:reduce) {
  .site-header {
    transition: none;
  }

}
