@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/Inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/SourceSerif4-var.woff2') format('woff2');
}

:root {
  --navy: #1B2A4A; --navy-dark: #12203B; --teal: #0EA5A5; --teal-light: #4FD1D1; --teal-bg: #EAF7F7;
  --bg: #F7F8FA; --text: #2E3440; --muted: #64748B; --line: #D8DCE2; --navy-tint: #E9EEF7;
  --nav-height: 76px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
main { padding-top: var(--nav-height); }

.grain { position: relative; }
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: overlay; z-index: 1;
}

.mark { position: relative; white-space: nowrap; display: inline-block; max-width: 100%; }
.mark::after {
  content: ''; position: absolute; left: -3px; right: -3px; bottom: 3px; height: 0.4em;
  background: var(--teal-light); opacity: 0.55; z-index: -1;
  border-radius: 4px 9px 4px 9px; transform: rotate(-1.2deg);
}
@media (max-width: 560px) {
  .mark { white-space: normal; }
}

/* --- Logo lockup (reused in nav + footer) --- */
.logo-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-lockup .logo-icon { width: 30px; height: 30px; flex-shrink: 0; }
.logo-lockup .logo-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo-lockup .logo-name { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 19px; color: #fff; white-space: nowrap; }
.logo-lockup .logo-tagline {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal-light); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* --- Top navigation --- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-height); background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.site-nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1120px; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  display: inline-block; color: #C7D0DE; text-decoration: none; font-size: 14.5px; font-weight: 600;
  padding: 10px 14px; border-radius: 6px; transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--teal-light); }
.nav-links li { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--teal-light); border-radius: 2px;
}
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle-label:hover { background: rgba(255,255,255,0.08); }
.nav-toggle-label span, .nav-toggle-label::before, .nav-toggle-label::after {
  content: ''; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-label::before { transform: translateY(-6px); }
.nav-toggle-label::after { transform: translateY(6px); }
.nav-toggle:checked ~ .site-nav .nav-toggle-label::before { transform: translateY(0) rotate(45deg); }
.nav-toggle:checked ~ .site-nav .nav-toggle-label::after { transform: translateY(0) rotate(-45deg); }
.nav-toggle:checked ~ .site-nav .nav-toggle-label span { opacity: 0; }

@media (max-width: 760px) {
  :root { --nav-height: 64px; }
  .site-nav .wrap { padding: 0 14px; gap: 6px; }
  .logo-lockup { gap: 6px; }
  .logo-lockup .logo-icon { width: 22px; height: 22px; }
  .logo-lockup .logo-name { font-size: 15px; }
  .logo-lockup .logo-tagline { font-size: 6.5px; letter-spacing: 0.02em; }
  .nav-toggle-label { width: 36px; height: 36px; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 499;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy);
    padding: 8px 16px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease; overflow-y: auto;
  }
  .nav-links a { padding: 16px 8px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--teal-light); }
  .nav-toggle:checked ~ .site-nav .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle-label { display: flex; }
}
/* --- Page header band (inner pages) --- */
.page-header { background: var(--navy); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-header .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 14px; position: relative; z-index: 2; }
.page-header h1 { font-family: 'Source Serif 4', serif; font-size: clamp(30px, 4.6vw, 44px); font-weight: 700; line-height: 1.2; max-width: 760px; position: relative; z-index: 2; }
.page-header p.lead { font-size: clamp(15.5px, 2vw, 18px); color: #C7D0DE; max-width: 620px; margin-top: 16px; position: relative; z-index: 2; }

/* --- Hero (Start page) --- */
.hero { background: var(--navy); color: #fff; padding: 88px 0 76px; position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero-inner h1 { max-width: 820px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 18px; }
h1 { font-family: 'Source Serif 4', serif; font-size: clamp(32px, 5vw, 50px); font-weight: 700; line-height: 1.18; margin-bottom: 18px; }
.subtitle { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.65; color: #C7D0DE; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-mark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; height: 420px;
  opacity: 0.06; z-index: 1; pointer-events: none;
}
@media (max-width: 760px) {
  .hero-mark { width: 240px; height: 240px; right: -50px; top: auto; bottom: -20px; transform: none; opacity: 0.08; }
}

/* --- Split hero (in-site product pages) --- */
.hero-row { display: flex; align-items: center; gap: 52px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-row .hero-text { flex: 1 1 400px; min-width: 0; }
.hero-row .hero-visual { flex: 0 1 380px; min-width: 260px; display: flex; justify-content: center; }
.hero-photo-frame {
  position: relative; width: 100%; max-width: 340px;
  transform: perspective(1000px) rotate(-2deg);
}
.hero-photo-frame .frame-card { background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.45), 0 10px 24px rgba(0,0,0,0.25); }
.hero-photo-frame img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; }
.hero-photo-frame .frame-tag {
  position: absolute; bottom: -16px; left: -16px; background: var(--teal); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 10px 16px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(14,165,165,0.4); transform: rotate(3deg);
}
.meta-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.meta-badges span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 7px 15px; font-size: 12.5px; font-weight: 600; color: #fff; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-block; background: var(--teal); color: #fff; font-weight: 700; font-size: 15.5px;
  padding: 14px 28px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { background: #0C8F8F; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,165,165,0.3); }
.btn::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 45%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: btn-shimmer 3.2s ease-in-out infinite;
}
.btn.btn-outline::after, .btn.btn-outline-navy::after { content: none; }
@keyframes btn-shimmer { 0% { left: -75%; } 55% { left: 130%; } 100% { left: 130%; } }
.btn.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn.btn-outline:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
.btn.btn-outline-navy { background: transparent; border: 1.5px solid var(--line); color: var(--navy); }
.btn.btn-outline-navy:hover { background: var(--navy-tint); box-shadow: none; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- Sections --- */
section { padding: 64px 0; }
.section-title { font-family: 'Source Serif 4', serif; font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.section-lead { font-size: 16px; max-width: 720px; margin-bottom: 32px; color: var(--text); }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(27,42,74,0.1); }
.tile .icon { width: 40px; height: 40px; margin-bottom: 16px; }
.tile h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tile p { font-size: 14px; line-height: 1.6; }

/* --- Break photo (full-bleed section image) --- */
.break-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -14px rgba(27,42,74,0.25); }
.break-photo img { width: 100%; height: 320px; object-fit: cover; }
@media (max-width: 600px) { .break-photo img { height: 200px; } }

/* --- Editorial (quote + photo) --- */
.editorial { background: #fff; }
.editorial-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.editorial-quote { position: relative; }
.quote-mark { font-family: 'Source Serif 4', serif; font-size: 120px; line-height: 1; color: var(--teal); opacity: 0.25; position: absolute; top: -46px; left: -12px; z-index: 0; user-select: none; }
.pull-quote { font-family: 'Source Serif 4', serif; font-size: clamp(22px, 3.2vw, 30px); font-weight: 700; color: var(--navy); line-height: 1.3; position: relative; z-index: 1; margin-bottom: 18px; }
.editorial-sub { font-size: 15.5px; line-height: 1.7; color: var(--text); max-width: 480px; }
.editorial-photo img { border-radius: 14px; transform: rotate(2deg); box-shadow: 0 24px 48px -12px rgba(27,42,74,0.28); }
@media (max-width: 760px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .editorial-photo img { transform: none; }
  .editorial-photo { order: -1; }
}

.examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 10px; margin-top: 20px; }
.example-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--text); }
.note { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 16px; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px 40px; list-style: none; }
.points li { font-size: 15px; line-height: 1.55; padding-left: 18px; position: relative; }
.points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.promise { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px 36px; }

/* --- Testimonials --- */
.testimonials-wrap { background: var(--teal-bg); padding: 56px 0; overflow: hidden; }
.testimonials-header { text-align: center; margin-bottom: 32px; }
.testimonials-header h2 { margin-bottom: 0; }
.testimonials-track-wrap { overflow: hidden; }
.testimonials-track { display: flex; gap: 20px; width: max-content; animation: t-marquee 84s linear infinite; }
.testimonials-track:hover { animation-play-state: paused; }
.t-card { flex-shrink: 0; width: 300px; background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 10px 24px rgba(27,42,74,0.08); }
.t-stars { color: #F5A623; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.t-quote { font-size: 14.5px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.t-author { font-size: 12.5px; font-weight: 700; color: var(--navy); }
@keyframes t-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .t-card { width: 250px; padding: 20px; } }

/* --- Product cards (Produkte page) --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(27,42,74,0.12); }
.product-card .product-img { height: 180px; overflow: hidden; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card .product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.product-card .product-tags span { background: var(--teal-bg); color: var(--teal); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.product-card h3 { font-family: 'Source Serif 4', serif; font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.product-card p { font-size: 14.5px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.product-card .product-cta { margin-top: auto; }

/* --- Weitere Seminarthemen (vormals "Konzepte") --- */
.concept-panel { background: var(--navy-tint); border-radius: 16px; padding: 32px; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.concept-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.concept-card .icon { width: 34px; height: 34px; margin-bottom: 14px; }
.concept-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.concept-card p { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 14px; }
.waitlist-link { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--teal); text-decoration: none; }
.waitlist-link:hover { text-decoration: underline; }

/* --- Team --- */
.trainers-stack { display: flex; flex-direction: column; gap: 24px; max-width: 720px; margin: 0 auto; }
.trainer { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: flex; gap: 28px; align-items: flex-start; }
.trainer .avatar { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.trainer .name { font-family: 'Source Serif 4', serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.trainer .role { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.trainer .highlights { list-style: none; }
.trainer .highlights li { font-size: 14.5px; line-height: 1.55; padding-left: 18px; position: relative; margin-bottom: 7px; color: var(--text); }
.trainer .highlights li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 620px) {
  .trainer { flex-direction: column; align-items: center; text-align: center; }
  .trainer .highlights { text-align: left; width: 100%; }
}

/* --- Contact form --- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 14px; background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 600; padding: 12px 16px; border-radius: 8px; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--teal-bg); color: #0C7070; }
.form-status.error { background: #FCE9E9; color: #B3261E; }

.contact-info { padding-top: 4px; }
.contact-info h3 { font-family: 'Source Serif 4', serif; font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.contact-info p { font-size: 14.5px; line-height: 1.7; color: var(--text); margin-bottom: 10px; }
.contact-info a { color: var(--teal); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* --- Booking widget (Kontakt page, Testintegration) --- */
.booking-section { margin-top: 56px; }
.booking-embed { max-width: 720px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 48px -12px rgba(27,42,74,0.18); background: var(--navy-tint); }
.booking-embed iframe { width: 100%; height: 640px; border: none; display: block; transition: height 0.2s ease; }
.booking-fallback { margin: 16px auto 0; font-size: 13px; color: var(--muted); max-width: 560px; text-align: center; }

/* --- CTA band --- */
.cta { background: var(--navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-family: 'Source Serif 4', serif; font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; margin-bottom: 14px; }
.cta p { font-size: 16px; color: #C7D0DE; max-width: 560px; margin: 0 auto 28px; }

/* --- Footer --- */
.site-footer { background: var(--navy-dark); color: #8FA0B8; padding: 44px 0 26px; font-size: 13.5px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 28px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; }
.footer-links a { color: #C7D0DE; text-decoration: none; font-weight: 600; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #8FA0B8; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12.5px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 1000;
  background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

body.nav-open { overflow: hidden; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--teal); z-index: 1000; pointer-events: none;
}

/* --- Legal pages (Impressum/Datenschutz) --- */
.legal-content { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h1 { font-family: 'Source Serif 4', serif; font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.legal-content .updated { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.legal-content h2 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin: 26px 0 8px; }
.legal-content p, .legal-content li { font-size: 15px; margin-bottom: 8px; }
.legal-content ul { padding-left: 22px; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .testimonials-track { animation: none; overflow-x: auto; width: 100%; }
  .t-dup { display: none; }
  .btn::after { animation: none; }
}
