/* Final refinements for the public website polish pass. Loaded after shop.css. */

/* Header, homepage spacing and footer contrast. */
.header-inner{height:108px}
.brand img{width:300px;max-width:34vw}
.header-inner nav a{font-size:14px;font-weight:650;letter-spacing:.07em}
.nav-dropdown>a .nav-chevron{display:inline-block;width:9px;height:9px;margin:0 0 3px 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);font-size:0;line-height:0}
.home-layout{padding-top:38px}
.footer-main p.footer-address{color:#d9e8f3}
.page-faq .content-page{max-width:1280px}

/* Make the payment brands recognizable without loading third-party assets. */
.card-logos{display:flex;align-items:center;gap:10px;margin:8px 0 12px}
.card-logos b{display:inline-flex;align-items:center;justify-content:center;height:34px;min-width:58px;padding:0 9px;border-radius:5px;background:#fff;border:1px solid rgba(255,255,255,.35)}
.card-logos b:first-child{position:relative;width:58px;min-width:58px;padding:0;background:#fff;border-color:#d8e1ea;color:transparent;font-size:0;overflow:hidden}
.card-logos b:first-child:before,.card-logos b:first-child:after{content:"";position:absolute;top:6px;width:22px;height:22px;border-radius:50%}
.card-logos b:first-child:before{left:12px;background:#eb001b}
.card-logos b:first-child:after{left:24px;background:#f79e1b;mix-blend-mode:multiply}
.card-logos b:last-child{color:#183b8c;background:#fff;border-color:#d8e1ea;font-size:16px;font-style:italic;font-weight:800;letter-spacing:.02em}

/* Course pages: full-width blue band, sticky booking card on desktop, early booking card on mobile. */
.course-page{position:relative;padding:0 0 84px;background:#f3f6f9;overflow:visible}
.course-page:before{content:"";position:absolute;z-index:0;top:0;left:0;right:0;height:340px;background:linear-gradient(120deg,#003d73,#0870bd)}
.course-layout{position:relative;z-index:1;max-width:1240px;min-height:0;margin:0 auto;padding:38px 28px 84px;display:grid;grid-template-columns:minmax(0,1fr) 410px;grid-template-areas:"hero booking" "content booking";column-gap:52px;align-items:start}
.course-hero{grid-area:hero;background:transparent;color:#fff}
.course-hero-inner{display:block;max-width:none;margin:0;padding:0}
.course-hero-copy{padding:10px 0 34px;color:#fff}
.course-hero-copy h1{margin:8px 0 16px;color:#fff;font-size:clamp(35px,4vw,50px);line-height:1.08}
.course-hero-copy .eyebrow,.course-hero-copy .lead,.course-hero .back{color:#fff}
.course-hero .back{display:inline-block;margin-bottom:25px;opacity:.9;text-decoration:none}
.course-page .booking-box{grid-area:booking;position:sticky;top:116px;right:auto;z-index:20;width:100%;max-height:calc(100vh - 140px);margin:0;overflow-y:auto;color:var(--text);border-radius:12px;box-shadow:0 18px 44px rgba(0,22,45,.22)}
.course-page .booking-image{height:190px}
.course-copy{grid-area:content;width:auto;max-width:none;margin:0;padding:42px 48px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 28px rgba(20,50,78,.06)}
.course-copy>.eyebrow:first-child,.course-copy>h1:first-of-type,.course-copy>h1:first-of-type+.lead,.course-copy>h2:first-of-type{display:none}
.course-copy h2{font-size:25px}
.video-frame{width:100%;max-width:none;margin-top:20px}
.video-frame iframe{width:100%;min-height:440px}

@media(max-width:950px){
  .header-inner{height:88px}
  .brand img{width:235px;max-width:50vw}
  .course-page:before{height:300px}
  .course-layout{grid-template-columns:1fr;grid-template-areas:"hero" "booking" "content";gap:22px;padding:28px 18px 56px}
  .course-hero-copy{padding-bottom:8px}
  .course-page .booking-box{position:static;top:auto;width:100%;max-width:560px;max-height:none;margin:0 auto;overflow:visible}
  .course-copy{width:100%;max-width:none;margin:0;padding:28px 22px}
  .video-frame iframe{min-height:300px}
}

@media(max-width:700px){
  .header-inner{height:78px}
  .brand img{width:190px;max-width:62vw}
  .home-layout{padding-top:28px}
  .page-faq .content-page{max-width:none}
  .video-frame iframe{min-height:230px}
}

/* Website polish pass 2: lighter benefit cards and a calmer editorial rhythm. */
.benefits{
  background:#f7fbfe;
  border-top:1px solid #e4eef5;
  border-bottom:1px solid #e4eef5;
}
.benefit-grid article{
  position:relative;
  overflow:hidden;
  background:#fff;
  border-color:#dce8f1;
  box-shadow:0 6px 18px rgba(18,57,89,.06);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.benefit-grid article:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:#0870bd;
}
.benefit-grid article:hover{
  transform:translateY(-5px);
  border-color:#c5dceb;
  box-shadow:0 14px 30px rgba(18,57,89,.12);
}

/* Footer navigation is deliberately scannable and the legal line remains readable. */
.footer-links{display:flex;align-items:flex-start;flex-direction:column;gap:2px;margin-bottom:0}
.footer-links a{display:block;margin:3px 0}
.footer-bottom{gap:9px;font-size:14px;line-height:1.55}
.footer-bottom nav{flex-wrap:wrap;justify-content:center}

/* A softer curve removes the hard FAQ hero/content colour break. */
.page-faq{background:#f7fafc}
.page-faq .editorial-hero{
  position:relative;
  padding-bottom:42px;
  background:linear-gradient(125deg,#064b80 0%,#0878b9 62%,#35a2d0 100%);
}
.page-faq .editorial-hero:after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:64px;
  background:#f7fafc;
  clip-path:ellipse(62% 48% at 50% 100%);
}
.page-faq .content-page{position:relative;margin-top:-22px;padding:34px;background:transparent;border:0;box-shadow:none}
.page-faq .content-page section{padding:22px 26px;border-color:#dce7ef;box-shadow:0 5px 17px rgba(20,50,78,.045)}
.page-faq .content-page section+section{margin-top:14px}

/* About: turn the editable CMS sections into an intentional editorial card composition. */
.page-ueber-uns .editorial-hero{background:linear-gradient(125deg,#064b80,#1688c2)}
.page-ueber-uns .content-page{gap:24px;margin-top:48px}
.page-ueber-uns .content-page section{position:relative;padding:32px 34px;border-color:#dce7ef;box-shadow:0 8px 24px rgba(20,50,78,.07)}
.page-ueber-uns .content-page section:before{content:"";position:absolute;top:0;left:34px;width:52px;height:4px;background:#1688c2;border-radius:0 0 4px 4px}
.page-ueber-uns .content-page section:first-child{padding:40px 44px;background:linear-gradient(135deg,#fff,#f2f8fc)}
.page-ueber-uns .content-page section:nth-child(2){grid-row:span 2}
.page-ueber-uns .content-page section p{color:#405970;line-height:1.75}

/* Refresher landing page: proportions from the supplied legacy reference. */
.course-page:before{height:365px;background:linear-gradient(125deg,#064b80 0%,#0874b5 68%,#2397ca 100%)}
.course-layout{grid-template-columns:minmax(0,1fr) 430px;column-gap:62px;padding-top:42px}
.course-hero-copy{padding-top:6px;padding-bottom:38px}
.course-hero-copy .lead{max-width:700px;line-height:1.65;color:#e2f2fb}
.course-page .booking-box{border-radius:8px;box-shadow:0 20px 46px rgba(0,31,59,.2)}
.course-page .booking-image{height:220px}
.course-page .booking-content{padding:28px 30px 30px}
.course-copy{padding:46px 50px;border-radius:8px}
.course-copy>p{font-size:16px;line-height:1.75}

@media(max-width:950px){
  .course-page:before{height:315px}
  .course-layout{grid-template-columns:1fr;column-gap:0}
}
@media(max-width:700px){
  .page-faq .editorial-hero{padding-bottom:28px}
  .page-faq .editorial-hero:after{height:38px}
  .page-faq .content-page{margin-top:-8px;padding:0}
  .page-ueber-uns .content-page{gap:16px;margin-top:24px}
  .page-ueber-uns .content-page section,.page-ueber-uns .content-page section:first-child{padding:28px 24px}
  .course-copy{padding:30px 24px}
}
@media(prefers-reduced-motion:reduce){.benefit-grid article{transition:none}}
