/* ============================================
   Team Seidelmann Coaching - Main Stylesheet
   ============================================ */

/* === CSS Variables === */
:root {
  --amber: #FFA112;
  --amber-bright: #FFB347;
  --amber-dark: #B2710D;
  --amber-tint: #FFC771;
  --ink: #0c0a08;
  --ink-2: #15110d;
  --ink-3: #1f1a14;
  --panel: #171310;
  --line: rgba(255, 161, 18, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f2ece4;
  --text-dim: #b6ab9c;
  --text-faint: #8a8073;
  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Film Grain Overlay === */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === Typography === */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  line-height: 1.02;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--amber);
  display: block;
  margin-bottom: 16px;
}

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

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

/* === Navigation === */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 40px;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.92), rgba(12, 10, 8, 0));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

header.nav.scrolled {
  background: rgba(12, 10, 8, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 40px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.brand .bt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .bt b {
  font-family: 'Anton', sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand .bt span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.55em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 2px;
}

nav#mainnav {
  margin-left: auto;
}

nav#mainnav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.92rem;
}

nav#mainnav a {
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

nav#mainnav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.25s;
}

nav#mainnav a:hover {
  color: var(--text);
}

nav#mainnav a:hover::after {
  width: 100%;
}

nav#mainnav a.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--amber);
  color: #1a0f00 !important;
  padding: 14px 28px;
  border-radius: 2px;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

nav#mainnav a.nav-cta:hover {
  background: var(--amber-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 161, 18, 0.35);
}

nav#mainnav a.nav-cta::after {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: #000;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(12, 10, 8, 0.55) 0%, rgba(12, 10, 8, 0) 30%, rgba(12, 10, 8, 0.35) 60%, var(--ink) 100%),
    radial-gradient(ellipse 80% 60% at 30% 35%, rgba(255, 161, 18, 0.10), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 9vh;
}

.hero .kicker {
  margin-bottom: 18px;
  animation: rise 0.9s 0.1s both;
}

.hero h1 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.92;
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
  animation: rise 0.9s 0.22s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
  display: inline-block;
}

.hero .sub {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 1.1rem;
  animation: rise 0.9s 0.36s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: rise 0.9s 0.5s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* === Buttons === */
.btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--amber);
  color: #1a0f00;
}

.btn-primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 161, 18, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* scrolling marquee strip */
.strip {
  background: var(--amber);
  color: #1a0f00;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid rgba(0, 0, 0, 0.15);
}

.strip-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 13px 0;
}

.strip-track span {
  padding: 0 26px;
  position: relative;
}

.strip-track span::before {
  content: "\2022";
  position: absolute;
  left: -4px;
  opacity: 0.4;
  font-size: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* === Sections === */
section {
  position: relative;
}

.sec {
  padding: 110px 0;
}

.sec-head {
  margin-bottom: 54px;
  max-width: 760px;
}

.sec-head .kicker {
  display: block;
  margin-bottom: 16px;
}

.sec-head h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  color: #fff;
  line-height: 0.95;
}

.sec-head h2 em {
  font-style: normal;
  color: var(--amber);
}

.sec-head p {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.08rem;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ABOUT */
#about {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-copy p {
  color: var(--text-dim);
  margin-bottom: 18px;
  font-size: 1.06rem;
}

.about-copy p strong {
  color: var(--text);
}

.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 26px 24px;
  transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}

.team-card .role {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
}

.team-card h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 1.7rem;
  margin: 6px 0 12px;
  color: #fff;
}

.team-card .motto {
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--amber);
  padding-left: 14px;
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.96rem;
  color: var(--text-dim);
}

/* COURSES */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.course {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.course::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s;
}

.course:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}

.course:hover::before {
  transform: scaleY(1);
}

.course .num {
  font-family: 'Anton', sans-serif;
  font-size: 3.4rem;
  color: rgba(255, 161, 18, 0.14);
  position: absolute;
  top: 14px;
  right: 22px;
  line-height: 1;
}

.course h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.course .tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  background: rgba(255, 161, 18, 0.12);
  color: var(--amber-tint);
  padding: 4px 11px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.course p {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.course .age {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.notice {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 161, 18, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 22px;
  color: var(--amber-tint);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
}

.notice b {
  color: #fff;
}

/* SERVICES (Zusatzleistungen) */
#services {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}

.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.svc-block {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}

.svc-block:first-child {
  border-top: none;
}

.svc-block h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}

.svc-block .lead {
  color: var(--amber-tint);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.svc-block ul {
  list-style: none;
  color: var(--text-dim);
  margin: 14px 0;
}

.svc-block ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.svc-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  background: var(--amber);
  transform: rotate(45deg);
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px;
  position: sticky;
  top: 90px;
}

.price-card .pc-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.96rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .pr-name {
  color: var(--text-dim);
}

.price-row .pr-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: 1.05rem;
}

.price-card .pc-foot {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* SEMINARS */
.sem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sem {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 28px 26px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.sem:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  background: var(--ink-3);
}

.sem .ic {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: rgba(255, 161, 18, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sem .ic svg {
  width: 24px;
  height: 24px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.8;
}

.sem h4 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
}

.sem p {
  font-size: 0.92rem;
  color: var(--text-dim);
}

.sem-prices {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.chip b {
  display: block;
  color: #fff;
  font-size: 1.2rem;
}

.chip span {
  color: var(--text-faint);
  font-size: 0.78rem;
}

/* REVIEWS */
#reviews {
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rev-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 36px 40px;
}

.stars {
  color: var(--amber);
  letter-spacing: 4px;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.rev-card blockquote {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.rev-card .who {
  margin-top: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-weight: 600;
}

.rev-card .who span {
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* CONTACT */
#contact {
  background: linear-gradient(180deg, var(--ink-2), #000);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info .ci-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-info .ci-ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info .ci-ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.8;
}

.contact-info .ci-row b {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 3px;
}

.contact-info .ci-row p,
.contact-info .ci-row a {
  color: var(--text);
  font-size: 1.05rem;
}

.contact-info .ci-row a:hover {
  color: var(--amber);
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.socials a:hover {
  background: var(--amber);
  border-color: var(--amber);
}

.socials a:hover svg {
  stroke: #1a0f00;
}

.socials svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.7;
}

form {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 34px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 13px 15px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* FOOTER */
footer {
  background: #000;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.foot-brand img {
  height: 74px;
  margin-bottom: 18px;
}

.foot-brand p {
  color: var(--text-faint);
  font-size: 0.94rem;
  max-width: 34ch;
}

footer h5 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 11px;
}

footer ul a,
footer address {
  color: var(--text-dim);
  font-style: normal;
  font-size: 0.95rem;
  transition: color 0.2s;
  line-height: 1.7;
}

footer ul a:hover {
  color: var(--amber);
}

.foot-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.foot-bottom a {
  color: var(--text-faint);
}

.foot-bottom a:hover {
  color: var(--amber);
}

/* floating contact button */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--amber);
  color: #1a0f00;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 161, 18, 0.4);
  transition: transform 0.2s;
}

.fab:hover {
  transform: scale(1.08);
}

.fab svg {
  width: 26px;
  height: 26px;
  stroke: #1a0f00;
  fill: none;
  stroke-width: 2;
}

/* ===== RESPONSIVE ===== */
@media(max-width:980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-block {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .price-card {
    position: static;
  }
  .sem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:680px) {
  nav#mainnav ul {
    display: none;
  }
  .burger {
    display: flex;
  }
  nav#mainnav.open ul {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink-2);
    padding: 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .team-cards {
    grid-template-columns: 1fr;
  }
  .sem-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 72px 0;
  }
  .hero-content {
    padding-bottom: 12vh;
  }
}

/* ===== GENERISCHE INHALTSSEITEN (Impressum / Datenschutz etc.) ===== */
.page-sec {
  /* etwas mehr Abstand nach oben, damit der Titel nicht unter der fixen Navigation liegt */
  padding-top: 140px;
}

.page-body {
  max-width: 760px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.page-body > :first-child {
  margin-top: 0;
}

.page-body h2,
.page-body h3,
.page-body h4 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.2;
  margin: 38px 0 14px;
}

.page-body h2 {
  font-size: 1.45rem;
  color: var(--amber);
}

.page-body h3 {
  font-size: 1.15rem;
}

.page-body h4 {
  font-size: 1rem;
  color: var(--text-faint);
}

.page-body p {
  margin-bottom: 16px;
}

.page-body ul,
.page-body ol {
  margin: 0 0 16px 22px;
}

.page-body li {
  margin-bottom: 8px;
}

.page-body a {
  color: var(--amber-tint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-body a:hover {
  color: var(--amber);
}

.page-body strong {
  color: var(--text);
}

.page-body hr {
  border: none;
  border-top: 1px solid var(--line-soft);
  margin: 32px 0;
}

/* ===== VOLLFLÄCHIGE BILD-BÄNDER (Startseite) ===== */
.image-band {
  position: relative;
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Bild bleibt fix, Seite scrollt darüber */
  background-color: #000;
}

/* WICHTIG: ein transform (z. B. durch .reveal) macht background-attachment:fixed
   relativ zum Element statt zum Viewport – dann scrollt das Bild erst mit und
   springt dann. Auf Bändern daher niemals ein transform anwenden. */
.image-band,
.image-band.reveal,
.image-band.reveal.in {
  transform: none !important;
  opacity: 1;
}

.image-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.6) 45%, rgba(12, 10, 8, 0.22) 100%);
}

.image-band-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.image-band .kicker {
  display: block;
  margin-bottom: 14px;
}

.image-band h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  line-height: 0.98;
  max-width: 18ch;
}

.image-band h2 em {
  font-style: normal;
  color: var(--amber);
}

.image-band p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 46ch;
}

/* ===== GALERIE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--amber);
  transition: box-shadow 0.2s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  box-shadow: inset 0 0 0 2px var(--amber);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 4, 0.94);
  backdrop-filter: blur(4px);
}

.lightbox.open {
  display: flex;
}

.lightbox .lb-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox button {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1;
}

.lightbox button:hover {
  opacity: 1;
  color: var(--amber);
}

.lb-close {
  top: 16px;
  right: 22px;
  font-size: 2.6rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  padding: 18px;
}

.lb-prev { left: 8px; }
.lb-next { right: 8px; }

@media (max-width: 680px) {
  .image-band {
    background-attachment: scroll; /* iOS: kein fixed */
    min-height: 320px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  .lb-prev,
  .lb-next {
    font-size: 1.8rem;
    padding: 10px;
  }
}
