/* ── Tailwind Theme-Variablen ─────────────────────────────────────────── */
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-sm: 24rem;
    --container-lg: 32rem;
    --container-2xl: 42rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --tracking-widest: 0.1em;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --radius-xs: 0.125rem;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --blur-sm: 8px;
    --blur-2xl: 40px;
    --aspect-video: 16 / 9;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-border: var(--border);
  }
}

/* ── Tailwind Preflight (Reset) ───────────────────────────────────────── */
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

/* ── Farbvariablen der Seite ──────────────────────────────────────────── */

:root {
  --radius: 0.25rem;
  --gold: #C9A84C;
  --gold-light: #e0c06a;
  --dark-bg: #0d0d0d;
  --dark-section: #111111;
  --dark-card: #1a1a1a;
  --dark-card2: #222222;
  --background: oklch(0.08 0 0);
  --foreground: oklch(0.95 0 0);
  --card: oklch(0.12 0 0);
  --card-foreground: oklch(0.95 0 0);
  --popover: oklch(0.12 0 0);
  --popover-foreground: oklch(0.95 0 0);
  --primary: oklch(0.72 0.12 75);
  --primary-foreground: oklch(0.08 0 0);
  --secondary: oklch(0.15 0 0);
  --secondary-foreground: oklch(0.85 0 0);
  --muted: oklch(0.18 0 0);
  --muted-foreground: oklch(0.6 0 0);
  --accent: oklch(0.72 0.12 75);
  --accent-foreground: oklch(0.08 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.985 0 0);
  --border: oklch(0.25 0 0);
  --input: oklch(0.2 0 0);
  --ring: oklch(0.72 0.12 75);
  --sidebar: oklch(0.1 0 0);
  --sidebar-foreground: oklch(0.95 0 0);
  --sidebar-accent: oklch(0.15 0 0);
  --sidebar-accent-foreground: oklch(0.95 0 0);
  --sidebar-border: oklch(0.25 0 0);
  --sidebar-ring: oklch(0.72 0.12 75);
  --sidebar-primary: oklch(0.72 0.12 75);
  --sidebar-primary-foreground: oklch(0.08 0 0);
}

/* ── Basis-Typografie ─────────────────────────────────────────────────── */
@layer base {
  * {
    border-color: var(--border);
    outline-color: var(--ring);
    @supports (color: color-mix(in lab, red, red)) {
      outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
    }
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0d0d0d;
    color: #f0f0f0;
  }
  button:not(:disabled), [role="button"]:not([aria-disabled="true"]), [type="button"]:not(:disabled), [type="submit"]:not(:disabled), [type="reset"]:not(:disabled), a[href], select:not(:disabled), input[type="checkbox"]:not(:disabled), input[type="radio"]:not(:disabled) {
    cursor: pointer;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
  }
}

/* ── Komponenten (Buttons, Karten, Inputs, Nav) ───────────────────────── */
@layer components {
  .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .flex {
    min-height: 0;
    min-width: 0;
  }
  @media (min-width: 640px) {
    .container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  @media (min-width: 1024px) {
    .container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: 1200px;
    }
  }
  .btn-gold {
    background-color: #C9A84C;
    color: #0d0d0d;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.875rem 2.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
  }
  .btn-gold:hover {
    background-color: #e0c06a;
    transform: translateY(-1px);
  }
  .btn-gold:active {
    transform: scale(0.97);
  }
  .btn-gold-outline {
    background-color: transparent;
    color: #C9A84C;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.875rem 2.5rem;
    border: 2px solid #C9A84C;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
  }
  .btn-gold-outline:hover {
    background-color: #C9A84C;
    color: #0d0d0d;
  }
  .headline-gold {
    color: #C9A84C;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
  }
  .gold-line {
    width: 60px;
    height: 2px;
    background-color: #C9A84C;
    margin: 1rem 0;
  }
  .section-dark {
    background-color: #0d0d0d;
  }
  .section-dark2 {
    background-color: #111111;
  }
  .section-dark3 {
    background-color: #161616;
  }
  .card-dark {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    transition: border-color 0.2s ease;
  }
  .card-dark:hover {
    border-color: #C9A84C;
  }
  .testimonial-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 2rem;
    position: relative;
  }
  .testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: #C9A84C;
    opacity: 0.3;
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
  }
  .quote-section {
    background-color: #111111;
    border-left: 4px solid #C9A84C;
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }
  .nav-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }
  .nav-link:hover {
    color: #C9A84C;
  }
  .input-dark {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    color: #f0f0f0;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
    outline: none;
  }
  .input-dark:focus {
    border-color: #C9A84C;
  }
  .input-dark::placeholder {
    color: #666666;
  }
}

/* ── Layout-Raster und Breakpoints ────────────────────────────────────── */

.ueber-mich-outer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.ueber-mich-img {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.ueber-mich-headline {
  grid-column: 2;
  grid-row: 1;
  padding-top: 1rem;
}
.ueber-mich-body {
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 768px) {
  .ueber-mich-outer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .ueber-mich-headline {
    order: 1 !important;
    margin-bottom: 1.5rem;
  }
  .ueber-mich-img {
    order: 2 !important;
    margin-bottom: 2rem;
    max-width: 100% !important;
  }
  .ueber-mich-img > div {
    max-width: 100% !important;
    height: 380px !important;
  }
  .ueber-mich-body {
    order: 3 !important;
  }
}
@media (max-width: 768px) {
  .module-card {
    display: flex !important;
    flex-direction: column !important;
  }
  .module-card-text {
    order: 1 !important;
    padding: 2rem 1.5rem 1rem !important;
  }
  .module-card-img {
    order: 2 !important;
    min-height: 260px !important;
  }
  .module-card-text .module-card-body {
    display: none !important;
  }
  .module-card-text-full {
    order: 3 !important;
    display: flex !important;
    padding: 0 1.5rem 2rem !important;
  }
}
@media (max-width: 640px) {
  .vorteile-headline-mobile {
    display: block !important;
    padding: 2rem 1.5rem 1rem !important;
    background-color: #161616;
  }
  .vorteile-headline-desktop {
    display: none !important;
  }
  .vorteile-outer {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .vorteile-img {
    order: 1 !important;
    min-height: 280px !important;
  }
  .vorteile-text {
    order: 2 !important;
    padding: 2rem 1.5rem !important;
  }
}

/* ── Aus dem Markup ausgelagert ───────────────────────────────────────── */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
  }
@media (max-width: 768px) {
  .module-card {
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
  }
  .module-card-text {
  order: 1 !important;
  padding: 2rem 1.5rem 1rem !important;
  }
  .module-card-img {
  order: 2 !important;
  min-height: 260px !important;
  }
  .module-card-text .module-card-body {
  display: none !important;
  }
  .module-card-text-full {
  order: 3 !important;
  display: flex !important;
  padding: 0 1.5rem 2rem !important;
  }
  }
@media (max-width: 640px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr) !important; }
  }

/* ── Hero: Formate und Verfügbarkeit ──────────────────────────────────────
   Ohne Trennzeichen: die beiden Angaben stehen untereinander.               */
.hero-formate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  color: rgb(204, 204, 204);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  text-shadow: rgba(0, 0, 0, 0.8) 0 1px 6px;
}
.hero-formate-zusatz {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: rgb(178, 178, 178);
}

/* ── Kontaktformular ──────────────────────────────────────────────────── */
.hp-feld {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.feld-fehler {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #e2705f;
}
.feld-fehler.sichtbar { display: block; }
.input-dark.fehlerhaft { border-color: #e2705f !important; }

.datenschutz-zustimmung {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #999;
}
.datenschutz-zustimmung input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: none;
  accent-color: #c9a84c;
}
.datenschutz-zustimmung a { color: #c9a84c; }

#formular-status {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.9rem 1.1rem;
  border: 1px solid #2a2a2a;
}
#formular-status.sichtbar { display: block; }
#formular-status.erfolg { color: #e0c06a; border-color: rgba(201, 168, 76, 0.55); }
#formular-status.fehler { color: #e2705f; border-color: rgba(226, 112, 95, 0.45); }

.btn-gold[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ── Navigation ───────────────────────────────────────────────────────── */
nav[data-nav].nav-gescrollt {
  background-color: rgba(10, 10, 10, 0.94) !important;
  border-bottom-color: #1e1e1e !important;
}

.nav-menue { display: flex; gap: 2rem; align-items: center; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 0 auto;
  background: #eee;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: flex; }

  .nav-menue {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    background-color: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid transparent;
    transition: max-height 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  }
  .nav-menue.offen {
    max-height: calc(100vh - 72px);
    padding: 0.5rem 1.25rem 1.75rem;
    border-bottom-color: #1e1e1e;
    overflow-y: auto;
  }
  .nav-menue .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 1rem;
  }
  .nav-menue .btn-gold {
    margin-top: 1.5rem;
    text-align: center;
  }
}

/* ── Rechtstexte (Impressum, Datenschutz) ─────────────────────────────── */
.rechtstext {
  max-width: 780px;
  margin: 0 auto;
  padding: 10rem 1.5rem 5rem;
}
.rechtstext h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rechtstext .gold-line { margin: 1.75rem 0 3rem; }
.rechtstext h2 {
  color: #c9a84c;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2.75rem 0 1rem;
}
.rechtstext p,
.rechtstext li {
  color: #aaa;
  font-size: 0.94rem;
  line-height: 1.85;
}
.rechtstext p { margin-bottom: 1rem; }
.rechtstext ul { margin: 0 0 1rem 1.25rem; }
.rechtstext li { list-style: disc; margin-bottom: 0.4rem; }
.rechtstext a { color: #c9a84c; }
.rechtstext strong { color: #eee; }
.rechtstext .zurueck {
  display: inline-block;
  margin-top: 3rem;
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
}
.rechtstext .zurueck:hover { color: #c9a84c; }
