/* =========================================================
   Fonts (lokal, via extra CSS eingebunden)
   ========================================================= */
/* Erwartet: @import './spd-the-sans.css'; ganz oben */

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --brand: #C40F0F;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #d9d9d9;
  --bg: #ffffff;

  --container-max: 1920px;
  --content-max: 1220px;
  --pad: clamp(16px, 2.2vw, 44px);
}

/* =========================================================
   Reset / Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'SPD The Sans', Roboto, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.45;
  width: 100%;
}

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

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

a:hover {
  text-decoration: underline;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 2px solid var(--brand);
  border-radius: 8px;
  z-index: 9999;
}

/* =========================================================
   Layout Container
   ========================================================= */
[data-layout="container"] {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

[data-layout="content"] {
  width: min(var(--content-max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar {
  padding: 12px 0 14px;
}

.topbar__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.topbar__title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(21px, 2.4vw, 54px);
}

.topbar__name {
  color: var(--brand);
}

.topbar__support {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.topbar__support-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar__logos {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.topbar__logos img {
  height: 34px;
  width: auto;
}

/* Mobile */
@media (max-width: 760px) {
  .topbar__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topbar__support {
    justify-items: center;
    position: absolute;
   right: 4%;
  }
  .topbar__logos img {
  height: 30px;
  width: auto;
}

}

/* =========================================================
   Hero
   ========================================================= */
#section-hero {
  padding: 10px 0 18px;
}

.hero {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

.hero img {
  width: 100%;
  height: auto;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  pointer-events: none;

  /* Desktop: neben der Person */
  transform: translateX(clamp(80px, 18vw, 350px));
}

@media (max-width: 768px) {
  .hero__overlay {
    transform: translateX(clamp(20px, 6vw, 80px));
  }
}

.hero__rotate {
  position: relative;
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  line-height: 0.9;

  transition: opacity 450ms ease, transform 450ms ease;
}

.hero__rotate.is-out {
  opacity: 0;
  transform: translateY(10px);
}

/* Headlines */
.hero__line2 {
  display: block;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1.05;
}

.hero__line1 {
  display: block;
  font-weight: 900;
  font-size: calc(clamp(22px, 4vw, 64px) * 2);
  line-height: 1.25;
  margin-bottom: -0.06em;
  margin-left: -4px;
  padding-left: 0;
}

/* Meta-Zeile */
.hero__meta {
  position: absolute;
  left: 0;
  bottom: 50px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce) {
  .hero__rotate {
    transition: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero__meta {
    font-size: 12px;
    bottom: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero__overlay {
    top: -20px;
    transform: translateX(clamp(20px, 6vw, 80px));
  }

  .hero__meta {
    font-size: 10px;
    bottom: 10px;
  }
}

/* =========================================================
   Claim
   ========================================================= */
#section-claim {
  padding: 10px 0 18px;
}

.claim {
  margin: 0;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 2.1vw, 30px);
}

.claim__accent {
  color: var(--brand);
}

/* =========================================================
   Accordion
   ========================================================= */
.acc {
  border-top: 1px solid var(--line);
  padding-block: 10px;
}

.acc__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.acc__summary::-webkit-details-marker {
  display: none;
}

.acc__title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--brand);
}

.acc__icon {
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: #777;
}

.acc__minus {
  display: none;
}

.acc[open] .acc__plus {
  display: none;
}

.acc[open] .acc__minus {
  display: inline;
}

.acc__content {
  padding: 6px 0 14px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 18px 0 10px;
  color: var(--muted);
}

.footer__nav {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__copy {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
}