/* ==========================================================================
   KI-Salon Masterclass 2026 — Intercoiffure Deutschland x FRISEUR.digital
   Design: "Blaupause" — technische Zeichnung auf Konzeptpapier.
   Alle Farben, Fonts und Abstände hängen an den Variablen in :root.
   ========================================================================== */

:root {
  /* --- Farben (direkt aus der Präsentation gemessen) --- */
  --paper:        #F6F1EA;
  --paper-card:   #FCFAF6;
  --paper-warm:   #F1EADF;
  --ink:          #0E2547;
  --ink-soft:     #24405F;
  --ink-mute:     #5C6E86;
  --copper:       #A67354;
  --copper-light: #C9926B;
  --copper-pale:  #E3CBB6;
  --line:         rgba(14, 37, 71, .18);
  --line-soft:    rgba(14, 37, 71, .09);
  --line-light:   rgba(255, 255, 255, .18);
  --white:        #FFFFFF;
  --danger:       #A32B2B;

  /* --- Typografie --- */
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-hero:  clamp(2.9rem, 8.5vw, 6.2rem);
  --fs-h2:    clamp(1.9rem, 4.2vw, 3.3rem);
  --fs-h3:    clamp(1.12rem, 1.9vw, 1.42rem);
  --fs-lead:  clamp(1.02rem, 1.6vw, 1.22rem);
  --fs-body:  clamp(.97rem, 1.25vw, 1.06rem);
  --fs-small: .86rem;
  --fs-micro: .69rem;

  /* --- Raster & Rhythmus --- */
  --shell:      1240px;
  --shell-pad:  clamp(1.15rem, 4vw, 2.5rem);
  --sec-pad:    clamp(3.75rem, 9vw, 7.5rem);
  --radius:     3px;
  --radius-lg:  6px;

  --shadow-sm: 0 1px 2px rgba(14, 37, 71, .06);
  --shadow-md: 0 12px 32px -18px rgba(14, 37, 71, .45);
  --shadow-lg: 0 28px 70px -34px rgba(14, 37, 71, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset (auf .blueprint begrenzt, damit nichts am Host-CMS kollidiert) - */
.blueprint *,
.blueprint *::before,
.blueprint *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.blueprint {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Reset über :where() – Spezifität 0. Sonst schlägt der Reset jede spätere
   Klassen-Regel (margin, height, color) und die Abstände fallen weg. */
:where(.blueprint) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
:where(.blueprint) :where(ul, ol) { padding: 0; list-style: none; }
:where(.blueprint) :where(img, picture, svg) { display: block; max-width: 100%; height: auto; }
:where(.blueprint) :where(a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.blueprint :focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Millimeterpapier-Untergrund -------------------------------------- */
body.blueprint::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px),
    linear-gradient(rgba(14, 37, 71, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 37, 71, .045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 16px 16px, 16px 16px;
  opacity: .85;
}
body.blueprint > * { position: relative; z-index: 1; }

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1.2rem; background: var(--ink); color: var(--white);
  font-size: var(--fs-small); font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================  BAUSTEINE  */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--shell-pad); }
.shell--narrow { max-width: 760px; }

.section { padding-block: var(--sec-pad); }
.section--alt { background: var(--paper-warm); border-block: 1px solid var(--line-soft); }

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
}
.section--dark > * { position: relative; }

/* --- Kleinlabel im Zeichnungsstil ------------------------------------- */
.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--copper-light); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}
.h2--light { color: var(--white); }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-mute);
  max-width: 56ch;
  margin-top: 1.15rem;
}
.lead--light { color: rgba(255, 255, 255, .74); }
.lead--light strong { color: var(--white); font-weight: 600; }

.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.dim-label {
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: .72;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .82rem 1.6rem;
  min-height: 48px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
/* Höhere Spezifität als der a{color:inherit}-Reset – sonst bleibt der
   Button-Text in der Textfarbe des Elternelements stehen. */
.blueprint .btn { color: var(--btn-fg); }

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--sm { padding: .55rem 1.1rem; min-height: 40px; font-size: .84rem; }
.btn--lg { padding: 1.05rem 2.1rem; min-height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn--primary:hover { --btn-bg: #14315C; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: rgba(14, 37, 71, .05); --btn-bd: var(--ink); }
.btn--ghost.btn--light { --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .35); }
.btn--ghost.btn--light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: var(--white); }

.btn--gold {
  --btn-fg: var(--white);
  --btn-bd: transparent;
  background: linear-gradient(103deg, #8E5C3F 0%, var(--copper) 42%, var(--copper-light) 100%);
  position: relative;
  overflow: hidden;
}
.btn--gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(103deg, transparent 25%, rgba(255,255,255,.28) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }

.icon { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; fill: none;
        stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ============================================================== HEADER  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 234, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px -8px rgba(14,37,71,.3); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
  padding-block: .7rem;
}

.header-brands { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.3rem); }
/* Selektoren bewusst mit img davor – sonst gewinnt die height:auto-Regel des Resets. */
.header-brands img.brand--ic { width: auto; height: clamp(34px, 4.4vw, 44px); }
.header-brands img.brand--fd { width: auto; height: clamp(19px, 2.5vw, 25px); }
.brand-x { width: 1px; height: 30px; background: var(--line); }

.header-nav { display: none; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.header-nav a:not(.btn) {
  font-size: .87rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; position: relative; padding-block: .3rem;
}
.header-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--copper); transition: width .3s var(--ease);
}
.header-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Ohne diese Regel schlägt das display:flex unten das hidden-Attribut
   und das Menü stünde dauerhaft offen. */
.mobile-nav[hidden] { display: none; }

.mobile-nav {
  display: flex; flex-direction: column; gap: .25rem;
  padding: .6rem var(--shell-pad) 1.5rem;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}
.mobile-nav a { padding: .8rem .2rem; font-size: 1.02rem; font-weight: 500; color: var(--ink);
                text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-nav__cta {
  margin-top: .9rem; border: 0 !important; border-radius: var(--radius);
  background: var(--ink); color: var(--white) !important;
  text-align: center; padding: .95rem 1rem !important; font-weight: 600;
}

@media (min-width: 900px) {
  .header-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ================================================================ HERO  */
.hero { padding-block: clamp(2.75rem, 7vw, 5.5rem) 0; }

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero-year {
  display: block;
  font-size: .42em;
  letter-spacing: .3em;
  color: var(--copper);
  margin-top: .55rem;
  padding-left: .18em;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink-mute);
  margin-top: clamp(1.5rem, 3vw, 2.3rem);
  max-width: 46ch;
  line-height: 1.5;
}
.hero-sub em { font-family: var(--font-display); font-style: italic; color: var(--ink); }

.hero-facts {
  display: grid;
  gap: 1px;
  margin-top: 2.4rem;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 560px) { .hero-facts { grid-template-columns: repeat(3, 1fr); } }

.fact { background: rgba(252, 250, 246, .7); padding: 1.05rem 1.2rem; }
.fact dt {
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--copper); margin-bottom: .45rem;
}
.fact dd strong { display: block; font-size: .99rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.fact dd span { display: block; font-size: var(--fs-small); color: var(--ink-mute); margin-top: .1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
@media (max-width: 460px) { .hero-actions .btn { width: 100%; } }

.hero-figure { margin: 0; text-align: center; }
.hero-figure img { margin-inline: auto; mix-blend-mode: multiply; }
.hero-figure figcaption { margin-top: .6rem; }

.hero-rule {
  display: flex; align-items: center; gap: 0;
  max-width: var(--shell); margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  padding-inline: var(--shell-pad);
}
.hero-rule .line { flex: 1; height: 1px; background: var(--line); }
.hero-rule .tick { width: 1px; height: 11px; background: var(--line); }

/* ============================================================= KONZEPT  */
.sheet {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-sm);
}
.sheet::before {
  content: '';
  position: absolute; inset: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  pointer-events: none;
}

.sheet-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .sheet-grid { grid-template-columns: 1fr 1.05fr; } }

.framed-text {
  position: relative;
  margin-top: 1.8rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.framed-text::before,
.framed-text::after {
  content: ''; position: absolute; width: 13px; height: 13px; border: 1px solid var(--copper);
}
.framed-text::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.framed-text::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.framed-text p + p { margin-top: .95rem; }
.framed-text strong { color: var(--ink); font-weight: 600; }

.konzept-visual img { mix-blend-mode: multiply; margin-inline: auto; }

.plaque {
  margin-top: 1.6rem;
  padding: 1.1rem 1.4rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.32;
  color: #2A1A10;
  background:
    linear-gradient(135deg, #E8C9AC 0%, var(--copper-light) 26%, #B37E5B 55%, var(--copper-pale) 82%, #B98663 100%);
  border: 1px solid rgba(120, 70, 40, .45);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), var(--shadow-sm);
}

.title-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.title-block span {
  padding: .55rem .75rem;
  font-size: var(--fs-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-right: 1px solid var(--line-soft);
}
.title-block span:last-child { border-right: 0; }
.title-block b { display: block; color: var(--ink-mute); font-weight: 500; opacity: .7; margin-bottom: .15rem; }

/* ========================================================= ARCHITEKTUR  */
.arch {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: start;
}
.arch-col { display: grid; }
.arch-col--label { display: none; }

.arch-cell {
  background: var(--paper-card);
  padding: 1.15rem 1.35rem;
}

/* Ab Tablet ein einziges Raster: die Spalten-Container lösen sich per
   display:contents auf, damit alle Zeilen exakt auf einer Höhe liegen. */
@media (min-width: 900px) {
  .arch {
    grid-template-columns: 150px 1fr 1fr;
    grid-template-rows: auto repeat(4, 1fr);
    grid-auto-flow: column;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--line-soft);
  }
  .arch-col, .arch-col--label { display: contents; }
  .arch-cell {
    padding: 1.5rem 1.6rem;
    display: flex; flex-direction: column; justify-content: center;
    min-height: 116px;
    height: 100%;   /* füllt die Rasterzeile restlos aus */
  }
  /* Leere Ecke oben links bleibt Papier – wie in der Präsentation. */
  .arch-col--label .arch-cell--head { background: var(--paper-warm); }
}

.arch-cell--head {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  min-height: 0;
  padding-block: 1.1rem;
}
.arch-cell--head small {
  display: block; font-family: var(--font-body); font-size: var(--fs-micro);
  font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: .35rem;
}
.arch-col--accent .arch-cell--head { background: linear-gradient(100deg, #14315C, #24405F); }
.arch-col--accent .arch-cell:nth-child(even) { background: #F8F3EC; }

.arch-cell--rowlabel {
  background: var(--paper-warm);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.arch-rowlabel {
  display: block;
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--copper); margin-bottom: .4rem;
}
@media (min-width: 900px) { .arch-rowlabel { display: none; } }

.arch-cell strong { color: var(--ink); font-weight: 600; font-size: 1.03rem; line-height: 1.36; }
.arch-note { display: block; font-size: var(--fs-small); color: var(--ink-mute); margin-top: .3rem; }

@media (max-width: 899px) {
  .arch-col { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .arch-col .arch-cell + .arch-cell { border-top: 1px solid var(--line-soft); }
}

/* ============================================================== STAIRS  */
.stairs { display: grid; gap: clamp(.85rem, 2vw, 1.1rem); }

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: stretch;
  background: var(--paper-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line); }

@media (min-width: 760px) {
  .step { grid-template-columns: 84px 1fr; }
  .stairs .step:nth-child(1) { margin-left: 0; }
  .stairs .step:nth-child(2) { margin-left: calc(1 * var(--rise)); }
  .stairs .step:nth-child(3) { margin-left: calc(2 * var(--rise)); }
  .stairs .step:nth-child(4) { margin-left: calc(3 * var(--rise)); }
  .stairs .step:nth-child(5) { margin-left: calc(4 * var(--rise)); }
  .stairs .step:nth-child(6) { margin-left: calc(5 * var(--rise)); }
  .stairs { --rise: clamp(14px, 3.2vw, 46px); }
}

.step-riser {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1B3A63, var(--ink));
  color: rgba(255,255,255,.9);
}
.step-no {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .03em;
}
.step--base .step-riser,
.step--top  .step-riser {
  background: linear-gradient(160deg, var(--copper-light), var(--copper) 55%, #8E5C3F);
  color: #FFF8F1;
}

.step-body { padding: 1.15rem clamp(1.1rem, 2.5vw, 1.75rem); }
.step-body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .35rem;
}
.step-body p { color: var(--ink-mute); }
.step-meta {
  margin-top: .55rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.step-meta--gold { color: var(--copper); }

/* ========================================================= AGENTEN-MAP  */
.agent-map { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .agent-map { grid-template-columns: minmax(220px, 300px) 1fr; } }

.agent-core {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 1;
  max-width: 280px;
  margin-inline: auto;
  padding: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2C3238, #15181C 70%);
  border: 5px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 5px var(--copper), 0 0 0 6px rgba(255,255,255,.14), var(--shadow-lg);
}
.agent-core__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600; line-height: 1.12; color: var(--white);
}
.agent-core__sub {
  margin-top: .6rem; font-size: var(--fs-small);
  letter-spacing: .12em; text-transform: uppercase; color: var(--copper-light);
}

.agent-list { display: grid; gap: 1rem; }

.agent-card {
  position: relative;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.agent-card:hover { background: rgba(255,255,255,.08); border-color: rgba(201,146,107,.55); transform: translateX(4px); }
.agent-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3); font-weight: 600; color: var(--white); margin-bottom: .3rem;
}
.agent-card p { color: rgba(255,255,255,.72); font-size: .98rem; }

.agent-wire { display: none; }
@media (min-width: 900px) {
  .agent-wire {
    display: block; position: absolute; right: 100%; top: 50%;
    width: clamp(1rem, 3vw, 3rem); height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper));
  }
  .agent-wire::after {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    border: 5px solid transparent; border-left-color: var(--copper);
  }
}

.agent-footnote {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1rem 1.35rem;
  text-align: center;
  font-size: var(--fs-small);
  letter-spacing: .04em;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

/* ============================================================ GÜTESIEGEL */
.seal-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 780px) { .seal-grid { grid-template-columns: 1fr 1fr; } }

.seal-item { margin: 0; }
/* Feste Bildfläche, damit beide Bildunterschriften auf einer Linie liegen. */
.seal-item picture {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5;
  background: var(--paper-card);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
}
.seal-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.seal-item:hover img { transform: scale(1.03); }
.seal-item figcaption { padding-top: 1.35rem; }
.seal-item h3 {
  font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600;
  color: var(--ink); margin-bottom: .4rem;
}
.seal-item p { color: var(--ink-mute); }

/* =========================================================== INVESTITION */
.price-board {
  display: grid;
  gap: clamp(.75rem, 2vw, 1.5rem);
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (min-width: 780px) {
  .price-board { grid-template-columns: 1fr auto 1fr auto 1fr; }
}

.price-col { display: flex; flex-direction: column; gap: .8rem; }
.price-cap {
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--ink-mute);
  text-align: center;
  min-height: 2.8em;
}

.price-bar {
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  padding: 1.25rem 1rem;
  transition: height .9s var(--ease);
}
@media (min-width: 780px) {
  .price-bar { padding: 0; }
  .price-bar--regular { height: 210px; }
  .price-bar--sponsor { height: 96px; }
  .price-bar--final   { height: 210px; }
  .is-visible .price-bar { animation: barGrow .9s var(--ease) both; }
}
@keyframes barGrow { from { transform: scaleY(.25); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.price-bar { transform-origin: bottom; }

.price-bar--regular { background: linear-gradient(165deg, #34383D, #1E2226); }
.price-bar--regular .price-val { color: var(--copper-pale); }
.price-bar--sponsor { background: linear-gradient(150deg, #E0BFA2, var(--copper) 55%, #8E5C3F); }
.price-bar--sponsor .price-val { color: #2A1A10; }
.price-bar--final { background: linear-gradient(165deg, #1B3A63, var(--ink)); }
.price-bar--final .price-val { color: var(--white); }

.price-val {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.price-op {
  display: none;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink-mute);
  padding-bottom: 5.4rem;
}
@media (min-width: 780px) { .price-op { display: block; } }

.price-notes { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.price-finance {
  padding: 1.15rem 1.4rem;
  background: linear-gradient(135deg, #EFD9C4, #E3CBB6 55%, #EBD3BC);
  border: 1px solid rgba(120, 70, 40, .3);
  border-radius: var(--radius);
  color: #35210F;
  text-align: center;
}
.price-finance strong { color: #1F1206; }
.price-small { margin-top: .8rem; text-align: center; font-size: var(--fs-small); color: var(--ink-mute); }

/* ---- Referenten ---- */
.speakers {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.75rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line-soft);
}
.speaker { margin: 0; text-align: center; }
.speaker img {
  width: clamp(96px, 15vw, 130px); height: clamp(96px, 15vw, 130px);
  border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line-soft);
  margin-inline: auto;
}
.speaker figcaption { margin-top: 1.1rem; }
.speaker strong { display: block; font-family: var(--font-display); font-size: 1.14rem; color: var(--ink); }
.speaker span { display: block; font-size: var(--fs-micro); letter-spacing: .16em;
                text-transform: uppercase; color: var(--copper); margin-top: .3rem; }

/* =========================================================== UNTERLAGEN */
.pdf-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--paper-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.pdf-meta { font-size: var(--fs-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }

.slide-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(.6rem, 1.5vw, 1rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
@media (min-width: 640px) { .slide-strip { grid-template-columns: repeat(4, 1fr); } }

.slide-thumb {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  background: var(--paper-card); border: 1px solid var(--line-soft); border-radius: 2px;
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.slide-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--copper); }
.slide-thumb img { width: 100%; }
.slide-thumb span {
  position: absolute; left: 6px; bottom: 6px;
  padding: .1rem .38rem;
  font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em;
  color: var(--white); background: rgba(14, 37, 71, .82); border-radius: 2px;
}

/* ============================================================ ANMELDUNG */
.section--signup { scroll-margin-top: 80px; }

.form-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  /* Versetzter Kupferblock dahinter – Anmutung eines Druckversatzes. */
  box-shadow: var(--shadow-lg), 11px 11px 0 0 rgba(166, 115, 84, .32);
}

.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: block; margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .5rem;
}
.field .req { color: var(--copper); }

.field input {
  width: 100%;
  padding: .92rem 1rem;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: 1rem;            /* 16px: verhindert Auto-Zoom auf iOS */
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: #9AA6B6; }
.field input:hover { border-color: rgba(14,37,71,.32); }
.field input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(166, 115, 84, .16);
}
.field input[aria-invalid="true"] { border-color: var(--danger); background: #FFF7F7; }

.err { margin-top: .4rem; font-size: var(--fs-small); color: var(--danger); }

/* Honeypot – für Menschen unsichtbar, für Bots erreichbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.terms {
  margin: 1.35rem 0 1.6rem;
  padding: 1.1rem 1.25rem;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-mute);
  background: var(--paper-warm);
  border-left: 2px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.terms strong { color: var(--ink); }

.btn-spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.35);
               border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-sending .btn-spinner { display: block; }
.is-sending { pointer-events: none; opacity: .8; }

.form-note { margin-top: 1.1rem; font-size: var(--fs-small); color: var(--ink-mute); text-align: center; }
.form-note a { color: var(--ink-soft); }

.form-error {
  margin-top: 1.1rem; padding: .85rem 1.1rem;
  font-size: var(--fs-small); color: var(--danger);
  background: #FDF2F2; border: 1px solid rgba(163, 43, 43, .28); border-radius: var(--radius);
}

.form-success { text-align: center; padding: clamp(.5rem, 2vw, 1.5rem) 0; }
/* Wird nur per Skript fokussiert, damit Screenreader die Meldung vorlesen –
   ein sichtbarer Fokusrahmen wäre hier nur Zierrat. */
.form-success:focus, .form-success:focus-visible { outline: none; }
.form-success h3 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600; color: var(--ink); margin: 1.25rem 0 .85rem;
}
.form-success p { color: var(--ink-mute); max-width: 46ch; margin: 0 auto 1.75rem; }
.form-success .btn--ghost.btn--light { --btn-fg: var(--ink); --btn-bd: var(--line); }
.form-success .btn--ghost.btn--light:hover { --btn-bg: rgba(14,37,71,.05); --btn-bd: var(--ink); }

.success-mark svg { width: 62px; height: 62px; margin-inline: auto; fill: none;
                    stroke: var(--copper); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease) forwards; opacity: .45; }
.success-mark path   { stroke-dasharray: 40;  stroke-dashoffset: 40;  animation: draw .4s var(--ease) .45s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.signup-alt { margin-top: 1.75rem; text-align: center; font-size: var(--fs-small); color: rgba(255,255,255,.62); }
.signup-alt a { color: var(--copper-light); }

/* =============================================================== FOOTER */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }

.footer-brand img { height: 54px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: var(--fs-small); color: var(--ink-mute); max-width: 46ch; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { font-size: var(--fs-small); color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--copper); }

.footer-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: var(--shell);
  margin-inline: auto;
  border-top: 1px solid var(--line-soft);
}
.footer-block span {
  padding: .75rem var(--shell-pad);
  font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
  border-right: 1px solid var(--line-soft);
}
.footer-block span:last-child { border-right: 0; }
.footer-block b { display: block; font-weight: 500; opacity: .65; margin-bottom: .1rem; }

/* ============================================================ LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(11, 22, 40, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .25s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; object-fit: contain;
                border-radius: 2px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  color: var(--white); font-size: 1.9rem; line-height: 1;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; cursor: pointer; transition: background-color .2s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-close { top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); font-size: 1.6rem; }
.lb-prev  { left: clamp(.5rem, 2vw, 1.75rem); }
.lb-next  { right: clamp(.5rem, 2vw, 1.75rem); }
.lb-caption {
  position: absolute; bottom: clamp(.75rem, 3vw, 1.75rem); left: 50%; transform: translateX(-50%);
  font-size: var(--fs-small); color: rgba(255,255,255,.7); text-align: center; padding-inline: 4rem;
}

/* ============================================================= REVEALS */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .blueprint *, .blueprint *::before, .blueprint *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================ PRINT */
@media print {
  body.blueprint::before, .site-header, .nav-toggle, .mobile-nav,
  .lightbox, .slide-strip, .hero-actions, .btn { display: none !important; }
  .section, .hero { padding-block: 1.5rem; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section--dark { background: var(--white) !important; color: #000 !important; }
  .h2--light, .lead--light, .agent-card h3 { color: #000 !important; }
}
