@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
}

:root {
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --color-ink: #241f26;
  --color-text-muted: #6b6470;
  --color-surface: #ffffff;
  --color-page-bg: #fdf9f6;
  --color-border: #efe4de;
  --color-footer-bg: #060a14;
  --color-footer-text: #b7c2d6;

  --color-accent-orange: #2f6fed;
  --gradient-shell: linear-gradient(135deg, #05070d 0%, #0a1830 30%, #0f3a70 55%, #1c5fc4 78%, #05070d 100%);
  --gradient-cta: linear-gradient(120deg, #0f3a70 0%, #2f6fed 100%);

  --radius-shell: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 48px rgba(5, 10, 25, 0.28);
  --shadow-card: 0 10px 30px rgba(60, 40, 30, 0.08);

  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-page-bg);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 16px;
}

.accent {
  color: var(--color-accent-orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 58, 112, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 58, 112, 0.4);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--color-ink);
  text-decoration: none;
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.75rem;
}

/* Eyebrow / ad badge pill */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.ad-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-page-bg);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}

.logo span {
  color: var(--color-accent-orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0;
}

.main-nav a:hover {
  color: var(--color-accent-orange);
  text-decoration: none;
}

.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle .chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 6px);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  min-width: 230px;
  list-style: none;
  margin: 0;
  display: grid;
  align-items: stretch;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease 0.2s, transform 0.15s ease 0.2s, visibility 0s linear 0.35s;
  z-index: 50;
}

.main-nav .dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.main-nav .dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
}

.main-nav .dropdown a:hover {
  background: var(--color-page-bg);
  text-decoration: none;
}

.nav-cta {
  white-space: nowrap;
}

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

  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    justify-content: flex-start;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 0 6px;
    border-top: 1px solid var(--color-border);
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 10px 0;
  }

  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    border-top: none;
    transition: none;
    padding: 4px 0 4px 14px;
    margin-top: 4px;
  }

  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown {
    transform: none;
  }

  .main-nav .dropdown::before {
    display: none;
  }

  .main-nav .dropdown a {
    padding: 8px 14px;
  }

  .nav-cta {
    display: none;
  }
}

/* Hero shell (gradient frame) */
.hero-shell {
  padding: 14px;
  border-radius: var(--radius-shell);
  background: var(--gradient-shell);
  margin: 14px auto 0;
  max-width: 1400px;
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-text {
  padding: 24px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-accent-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.hero-text h1 {
  margin-bottom: 18px;
}

.hero-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-text .btn {
  align-self: flex-start;
}

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 320px;
  align-self: center;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title-only {
  padding: 32px 48px 48px;
}

.hero-title-only .eyebrow-badge {
  margin-bottom: 18px;
}

.hero-title-only .hero-lead {
  max-width: 640px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 22px 48px 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

/* Trust / benefits row inside the gradient shell */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px 0 2px;
}

.trust-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-item .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.trust-item h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
    order: -1;
  }

  .hero-text {
    padding: 36px 28px 40px;
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-shell {
    padding: 8px;
    border-radius: 26px;
  }

  .header-inner {
    padding: 16px 18px;
  }

  .hero-text {
    padding: 28px 20px 32px;
  }

  .breadcrumb {
    padding: 18px 20px 0;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .section-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Promo banner (image ad) */
.promo-banner {
  display: inline-block;
}

.promo-banner-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  text-align: center;
}

/* Product / category cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.product-card__body h3 {
  font-size: 1.15rem;
  margin: 0;
}

.product-card__body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
  flex-grow: 1;
}

.product-card__link {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-ink);
}

.product-card__link:hover {
  color: var(--color-accent-orange);
  text-decoration: none;
}

/* Widget / ad section */
.widget-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  margin-top: 8px;
}

.widget-frame-wrap {
  min-height: 120px;
}

.widget-fallback {
  margin-top: 16px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.widget-fallback a {
  font-weight: 700;
  color: var(--color-accent-orange);
}

.widget-fallback a:hover {
  text-decoration: underline;
}

/* E-Mail-Adressen: Rückfall ohne JavaScript, das @ kommt nur aus dem CSS */
.obf-at::before {
  content: "@";
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-ink);
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent-orange);
  outline-offset: 1px;
  background: var(--color-surface);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-accent-orange);
}

.form-check a,
.form-note a {
  color: var(--color-accent-orange);
  font-weight: 600;
}

.contact-form .btn {
  justify-self: start;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}

.form-status--success {
  background: #e7f6ec;
  border: 1px solid #b6e2c4;
  color: #17603a;
}

.form-status--error {
  background: #fdecec;
  border: 1px solid #f3bcbc;
  color: #8a1f1f;
}

.form-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
}

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

/* Consent placeholders for gated third-party widgets */
.consent-placeholder {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-page-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

.consent-placeholder p {
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

/* FAQ */
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-top: 12px;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 26px;
  margin-top: 24px;
  border-radius: var(--radius-shell) var(--radius-shell) 0 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.site-footer h3, .site-footer h4 {
  color: #fff;
}

.site-footer h3 {
  font-size: 1.3rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--color-footer-text);
}

.site-footer a:hover {
  color: var(--color-accent-orange);
}

.disclosure {
  font-size: 0.82rem;
  color: #8a94ab;
  border-top: 1px solid #1c2740;
  padding-top: 22px;
}

.copyright {
  font-size: 0.8rem;
  color: #626d85;
  margin: 0;
}

@media (max-width: 700px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-footer-bg);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  max-width: 560px;
  color: var(--color-footer-text);
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
}

.btn-cookie-essential {
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: #fff;
  border: 1px solid #2a3550;
}

.btn-cookie-essential:hover {
  border-color: #5b6f9c;
}

@media (max-width: 700px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions button {
    flex: 1;
  }
}
