/* ===========================================================================
   Mobile-first product layer — EHC Freiburg B2B Sponsoring
   Phone is the baseline. Wider layouts are progressive enhancements below.
   Loaded last so the mobile product rules stay authoritative.
   ========================================================================== */

:root {
  --header-h: 64px;
  --mobile-gutter: 18px;
}

html {
  scroll-padding-top: calc(var(--header-h) + 12px);
}

.editorial-site {
  font-size: 16px;
}

.editorial-site .container,
.editorial-site .header-inner,
.editorial-site .benefit-ribbon-inner {
  padding-inline: var(--mobile-gutter);
}

.editorial-site .btn,
.editorial-site button,
.editorial-site input,
.editorial-site textarea,
.editorial-site summary,
.editorial-site .radio-card {
  touch-action: manipulation;
}

.editorial-site .btn {
  min-height: 48px;
}

/* Compact utility bar and thumb-friendly header. */
.editorial-site .benefit-ribbon-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  min-height: 54px;
  padding-block: 8px;
}

.editorial-site .benefit-label {
  align-self: center;
  padding: 5px 7px;
  font-size: 7.5px;
}

.editorial-site .benefit-ribbon p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.editorial-site .benefit-ribbon a {
  display: none;
}

.editorial-site .site-header {
  top: 54px;
}

.editorial-site .site-header.scrolled {
  top: 0;
}

.editorial-site .header-inner {
  height: var(--header-h);
  gap: 10px;
}

.editorial-site .brand-lockup {
  width: auto;
  height: 46px;
}

.editorial-site .brand-claim,
.editorial-site .btn-txt-long {
  display: none;
}

.editorial-site .header-inner .btn-sm {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12.5px;
}

/* First viewport: message, action and authentic photography. */
.editorial-site .hero {
  min-height: auto;
  align-items: flex-start;
  padding: calc(var(--header-h) + 26px) 0 76px;
  background: #06101B;
}

.editorial-site .hero-bg {
  inset: 0;
  background-image: none;
  filter: none;
  transform: none !important;
  will-change: auto;
}

.editorial-site .hero-vignette {
  background:
    radial-gradient(circle at 82% 10%, rgba(42, 101, 119, 0.2), transparent 38%),
    linear-gradient(180deg, rgba(5, 13, 22, 0.22), rgba(5, 13, 22, 0.98));
}

.editorial-site .hero-photo-note {
  display: none;
}

.editorial-site .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.editorial-site .hero-copy {
  display: contents;
  border-left: 0;
  padding-left: 0;
}

.editorial-site .hero .kicker {
  order: 1;
  grid-column: 1;
  max-width: 34ch;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  font-size: 9px;
  line-height: 1.55;
}

.editorial-site .hero h1 {
  order: 2;
  grid-column: 1;
  max-width: 12.5ch;
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  font-size: clamp(38px, 11.8vw, 52px);
  line-height: 0.96;
}

.editorial-site .hero-sub {
  order: 4;
  grid-column: 1;
  max-width: 42ch;
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.5;
}

.editorial-site .hero-aktion {
  order: 5;
  grid-column: 1;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 0;
}

.editorial-site .aktion-badge {
  align-self: flex-start;
  padding: 6px 8px;
  font-size: 9px;
}

.editorial-site .aktion-text {
  font-size: 14px;
  line-height: 1.45;
}

.editorial-site .hero .disclaimer {
  order: 6;
  grid-column: 1;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
}

.editorial-site .hero-ctas {
  order: 7;
  grid-column: 1;
  margin-top: 22px;
}

.editorial-site .hero-ctas .btn-primary {
  width: 100%;
  min-height: 54px;
  padding: 16px 18px;
  font-size: 16px;
}

.editorial-site .hero-ctas .btn-ghost {
  display: none;
}

.editorial-site .hero-trust {
  order: 8;
  grid-column: 1;
  gap: 7px 14px;
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.35;
}

.editorial-site .hero-jersey {
  order: 3;
  grid-column: 1;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.editorial-site .hero-jersey-fig {
  width: min(100%, 400px);
  max-width: 400px;
}

.editorial-site .hero-square-photo {
  padding: 5px;
  border-radius: 24px;
  background: #07101A;
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.24);
}

.editorial-site .hero-square-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.editorial-site .hero-square-photo .jersey-photo {
  border-radius: 19px;
}

.editorial-site .hero-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}

.editorial-site .stat,
.editorial-site .stat:not(:first-child),
.editorial-site .stat:last-child {
  min-width: 0;
  padding: 15px 10px 12px 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.editorial-site .stat:nth-child(even) {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.editorial-site .stat dt {
  min-height: 2.7em;
  margin-bottom: 7px;
  font-size: 8.5px;
  line-height: 1.35;
}

.editorial-site .stat dd {
  font-size: clamp(23px, 7.5vw, 31px);
}

.editorial-site .ticker {
  padding-block: 9px;
}

/* One-column reading flow is the phone default. */
.editorial-site .section {
  padding: 64px 0;
}

.editorial-site .section-head {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 34px;
  padding-top: 16px;
}

.editorial-site .section-head .claw-deco {
  display: none;
}

.editorial-site .section-head .kicker,
.editorial-site .section-head h2,
.editorial-site .section-head .section-sub {
  grid-column: 1;
}

.editorial-site .section-head h2,
.editorial-site .steuer-text h2 {
  max-width: 16ch;
  font-size: clamp(34px, 10.5vw, 46px);
  line-height: 1;
}

.editorial-site .section-head .section-sub {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.55;
}

.editorial-site .grid-4,
.editorial-site .grid-3g,
.editorial-site .paket-grid,
.editorial-site .ablauf-grid,
.editorial-site .boards-wrap,
.editorial-site .steuer-inner,
.editorial-site .field-grid,
.editorial-site .radio-grid,
.editorial-site .radio-grid-3,
.editorial-site .radio-grid-4 {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-site #gruende .card,
.editorial-site #ablauf .card {
  padding: 18px 0 24px;
}

.editorial-site .fan-moment {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 34px;
}

.editorial-site .fan-moment-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.editorial-site .fan-moment-media::after {
  background: linear-gradient(180deg, transparent 62%, rgba(7, 17, 27, 0.9) 100%);
}

.editorial-site .fan-moment-copy {
  margin-left: 0;
  padding: 28px 20px 32px;
  background: #07111B;
}

.editorial-site .fan-moment-copy h3 {
  font-size: clamp(31px, 9vw, 42px);
}

.editorial-site .fan-moment-copy .text-link,
.editorial-site .paket-footnote a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.editorial-site .werbung-input-row {
  max-width: none;
  padding-left: 0;
}

.editorial-site .werbung-input-row input {
  width: 100%;
  min-height: 50px;
  font-size: 18px;
}

.editorial-site .boards-wrap {
  gap: 22px;
}

.editorial-site .werbung-cta .btn,
.editorial-site .steuer-text .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.editorial-site .paket-grid {
  gap: 0;
}

.editorial-site .paket-card,
.editorial-site .paket-card:nth-child(2),
.editorial-site .paket-card:last-child {
  padding: 26px 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.editorial-site .paket-card:last-child {
  border-bottom: 0;
}

.editorial-site .steuer-inner {
  gap: 34px;
}

.editorial-site .steuer-callout::after {
  right: -0.1em;
  bottom: -0.12em;
  font-size: 180px;
}

/* Conversion form: large touch targets and no side-by-side squeeze. */
.editorial-site #fragebogen .fb-card {
  padding: 20px 14px;
  overflow: visible;
}

.editorial-site #fragebogen .fb-progress {
  gap: 5px;
  margin-bottom: 24px;
}

.editorial-site #fragebogen .fb-progress-step {
  min-width: 0;
  padding: 8px 2px 10px;
  font-size: 10px;
}

.editorial-site #fragebogen .radio-card {
  min-height: 60px;
  padding: 15px 14px;
}

.editorial-site #fragebogen .field input,
.editorial-site #fragebogen .field textarea {
  min-height: 50px;
  padding: 14px 2px;
  font-size: 16px;
}

.editorial-site #fragebogen .check-label {
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.editorial-site #fragebogen .check-label input {
  width: 22px;
  height: 22px;
}

.editorial-site #fragebogen .fb-nav {
  gap: 9px;
}

.editorial-site #fragebogen .fb-nav .btn {
  min-height: 52px;
  padding-inline: 16px;
}

.editorial-site #fragebogen .fb-nav .btn-primary {
  flex: 1;
  margin-left: 0;
}

.editorial-site .faq-item summary {
  min-height: 58px;
  padding: 18px 44px 18px 0;
  font-size: 18px;
  line-height: 1.25;
}

.editorial-site .faq-item p {
  padding: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.6;
}

.editorial-site .site-footer {
  padding: 52px 0 118px;
}

.editorial-site .footer-inner,
.editorial-site .footer-ai-disclosure {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-site .footer-brand {
  align-items: center;
}

.editorial-site .footer-nav {
  gap: 14px 18px;
}

.editorial-site .footer-nav a,
.editorial-site .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.editorial-site .footer-ai-disclosure {
  gap: 18px;
  padding: 24px 0;
}

.editorial-site .footer-ai-disclosure .footer-ai-kicker {
  grid-column: 1;
}

.editorial-site .consent {
  left: 10px;
  right: 10px;
  bottom: 82px;
}

.editorial-site .consent-inner {
  padding: 15px;
  gap: 12px;
}

.editorial-site .consent-actions .btn {
  min-height: 48px;
}

/* Small phones keep every control on-canvas. */
@media (max-width: 359px) {
  :root {
    --mobile-gutter: 14px;
  }

  .editorial-site .header-inner .btn-sm {
    padding-inline: 9px;
    font-size: 11.5px;
  }

  .editorial-site .hero h1 {
    font-size: 36px;
  }

  .editorial-site .mobile-cta-text span {
    display: none;
  }
}

/* Larger phones: a little more space, still a single reading column. */
@media (min-width: 480px) {
  :root {
    --mobile-gutter: 24px;
  }

  .editorial-site .hero-copy {
    padding-left: 18px;
  }

  .editorial-site .hero h1 {
    font-size: clamp(48px, 10vw, 60px);
  }

  .editorial-site .hero-jersey-fig {
    max-width: 430px;
  }
}

/* Tablet: richer composition without giving up thumb-friendly controls. */
@media (min-width: 768px) {
  :root {
    --header-h: 72px;
    --mobile-gutter: 32px;
  }

  .editorial-site {
    font-size: 17px;
  }

  .editorial-site .benefit-ribbon-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 50px;
  }

  .editorial-site .benefit-ribbon p {
    display: block;
    overflow: visible;
    font-size: 13px;
  }

  .editorial-site .benefit-ribbon a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .editorial-site .site-header {
    top: 50px;
  }

  .editorial-site .brand-lockup {
    height: 54px;
  }

  .editorial-site .brand-claim,
  .editorial-site .btn-txt-long {
    display: inline;
  }

  .editorial-site .header-inner .btn-sm {
    padding: 11px 18px;
    font-size: 14px;
  }

  .editorial-site .hero {
    padding: calc(var(--header-h) + 68px) 0 110px;
  }

  .editorial-site .hero-bg {
    background: url('../img/ehcf-teamjubel.webp') 58% 38% / cover no-repeat;
    filter: saturate(0.72) contrast(1.08) brightness(0.78);
  }

  .editorial-site .hero-vignette {
    background:
      linear-gradient(90deg, rgba(5, 13, 22, 0.97), rgba(5, 13, 22, 0.7)),
      linear-gradient(180deg, rgba(5, 13, 22, 0.35), rgba(5, 13, 22, 0.98));
  }

  .editorial-site .hero-photo-note {
    display: block;
  }

  .editorial-site .hero h1 {
    font-size: clamp(58px, 8.5vw, 76px);
  }

  .editorial-site .hero-sub {
    font-size: 18px;
  }

  .editorial-site .hero-jersey-fig {
    width: min(100%, 460px);
    max-width: 460px;
  }

  .editorial-site .hero-square-photo {
    padding: 6px;
    border-radius: 30px;
  }

  .editorial-site .hero-square-photo .jersey-photo {
    border-radius: 24px;
  }

  .editorial-site .hero-stats {
    margin-top: 54px;
  }

  .editorial-site .section {
    padding: 88px 0;
  }

  .editorial-site .section-head {
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 24px;
    margin-bottom: 48px;
    padding-top: 20px;
  }

  .editorial-site .section-head .claw-deco {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 4;
  }

  .editorial-site .section-head .kicker,
  .editorial-site .section-head h2,
  .editorial-site .section-head .section-sub {
    grid-column: 2;
  }

  .editorial-site .section-head h2,
  .editorial-site .steuer-text h2 {
    font-size: clamp(44px, 6vw, 58px);
  }

  .editorial-site .grid-4,
  .editorial-site .paket-grid,
  .editorial-site .ablauf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-site .grid-3g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-site .boards-wrap,
  .editorial-site .field-grid,
  .editorial-site .radio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-site .radio-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editorial-site .radio-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-site .steuer-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .editorial-site .werbung-cta .btn,
  .editorial-site .steuer-text .btn {
    width: auto;
  }

  .editorial-site .paket-card,
  .editorial-site .paket-card:nth-child(2) {
    padding: 30px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .editorial-site .paket-card:nth-child(even) {
    border-right: 0;
  }

  .editorial-site .site-footer {
    padding-bottom: 120px;
  }

  .editorial-site .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .editorial-site .footer-ai-disclosure {
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
  }

  .editorial-site .footer-ai-disclosure .footer-ai-kicker {
    grid-column: 1;
  }
}

/* Desktop: progressively enhance the proven phone flow. */
@media (min-width: 1024px) {
  :root {
    --mobile-gutter: 24px;
  }

  .editorial-site .hero {
    min-height: 100svh;
    align-items: center;
    padding: calc(var(--header-h) + 86px) 0 120px;
  }

  .editorial-site .hero-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
    gap: clamp(42px, 5vw, 78px);
    align-items: center;
  }

  .editorial-site .hero-copy {
    display: block;
    border-left: 2px solid var(--red);
    padding-left: clamp(22px, 3vw, 38px);
  }

  .editorial-site .hero .kicker,
  .editorial-site .hero h1 {
    padding-left: 0;
    border-left: 0;
  }

  .editorial-site .hero h1 {
    font-size: clamp(68px, 6.3vw, 90px);
  }

  .editorial-site .hero-ctas .btn-primary {
    width: auto;
  }

  .editorial-site .hero-ctas .btn-ghost {
    display: inline-flex;
  }

  .editorial-site .hero-jersey {
    order: initial;
    grid-column: auto;
    align-items: flex-end;
    margin-top: 0;
  }

  .editorial-site .hero-jersey-fig {
    width: min(100%, 430px);
    max-width: 430px;
  }

  .editorial-site .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 72px;
  }

  .editorial-site .stat,
  .editorial-site .stat:not(:first-child),
  .editorial-site .stat:last-child {
    padding: 20px 20px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
    border-left: 0;
  }

  .editorial-site .stat:first-child {
    padding-left: 0;
  }

  .editorial-site .stat:last-child {
    border-right: 0;
  }

  .editorial-site .stat dt {
    min-height: 0;
    font-size: 10px;
  }

  .editorial-site .section {
    padding: clamp(96px, 9vw, 132px) 0;
  }

  .editorial-site .section-head {
    grid-template-columns: 150px minmax(0, 1fr);
    column-gap: 30px;
    margin-bottom: 62px;
  }

  .editorial-site .section-head h2,
  .editorial-site .steuer-text h2 {
    font-size: clamp(50px, 4.7vw, 64px);
  }

  .editorial-site .grid-4,
  .editorial-site .paket-grid,
  .editorial-site .ablauf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .editorial-site .grid-3g {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editorial-site .radio-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .editorial-site .fan-moment {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
    margin-top: 58px;
  }

  .editorial-site .fan-moment-media {
    min-height: 520px;
    aspect-ratio: auto;
  }

  .editorial-site .fan-moment-media::after {
    background: linear-gradient(90deg, transparent 72%, rgba(7, 17, 27, 0.92) 100%);
  }

  .editorial-site .fan-moment-copy {
    margin-left: -72px;
    padding: 52px 44px 52px 72px;
    background: linear-gradient(120deg, rgba(7, 17, 27, 0.78), #07111B 28%);
  }

  .editorial-site .werbung-input-row {
    max-width: 620px;
    padding-left: 180px;
  }

  .editorial-site .paket-card,
  .editorial-site .paket-card:nth-child(2),
  .editorial-site .paket-card:nth-child(even),
  .editorial-site .paket-card:last-child {
    padding: 32px 24px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
  }

  .editorial-site .paket-card:last-child {
    border-right: 0;
  }

  .editorial-site .site-footer {
    padding-bottom: 76px;
  }

  .editorial-site .consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (min-width: 1280px) {
  .editorial-site .hero-jersey-fig {
    width: min(100%, 450px);
    max-width: 450px;
  }
}
