/* ============================================
 * SAM-PRO Theme – theme.css (Neuaufbau, aufgeräumt)
 * ============================================ */

/* Systemschrift statt externer Google-Font: DSGVO- und performancefreundlich */
/* ---------- Farb- und Layout-Variablen ---------- */
:root{
  --ink:#0f172a;
  --muted:#64748b;
  --line:#dbe3ef;
  --brand:#0f3d63;
  --brand-2:#155a8a;
  --accent:#c99a2e;
  --accent-2:#e8c46a;
  --soft:#f6f9fc;
  --soft-blue:#eef5fb;
  --shadow:0 18px 45px rgba(15,61,99,.13);
  --radius:22px;
  --gap-tight:6px;
}

/* ---------- Reset & Grundlayout ---------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  font-size:14px;
  line-height:1.6;
  color:var(--ink);
  background:#ffffff;
}
a{
  color:var(--brand-2);
}
a:hover,a:focus{
  text-decoration:underline;
  text-underline-offset:2px;
}
.link{
  color:var(--brand-2);
  text-decoration:underline;
  text-underline-offset:3px;
}
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 1rem;
}
.row{
  display:flex;
  gap:1rem;
}
.between{justify-content:space-between}
.mid{align-items:center}
.grid2{
  display:grid;
  grid-template-columns:1fr;
  gap:1.2rem;
}
@media(min-width:900px){
  .grid2{
    grid-template-columns:1.1fr .9fr;
  }
}
.section{
  padding:56px 0;
}
.section-narrow{
  padding:20px 0;
}
.section-tight{
  padding-top:var(--gap-tight);
}
.muted{
  color:var(--muted);
}
.list{
  margin:0 0 0 18px;
}

/* ============================================
 * Seiten-Typografie & Rechtstexte
 * (gilt für alle Seiten außer Startseite)
 * ============================================ */

/* Basis-Container: Inhalt auf allen Nicht-Home-Seiten (inkl. AGB, Datenschutz, Service etc.) */
body:not(.home) .entry-content,
body:not(.home) .page-content,
body:not(.home) .wp-block-post-content,
body:not(.home) .wp-block-group,
body:not(.home) main,
body:not(.home) .wp-site-blocks main{
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
}

/* Absätze */
body:not(.home) .entry-content p,
body:not(.home) .page-content p,
body:not(.home) .wp-block-post-content p,
body:not(.home) .wp-block-group p,
body:not(.home) main p,
body:not(.home) .wp-site-blocks main p{
  font-size:16px;
  line-height:1.7;
  margin:4px 0 10px;
  color:var(--ink);
}

/* Überschriften im Seiten-Content – neutral, kompakt nach unten */
body:not(.home) .entry-content h1,
body:not(.home) .entry-content h2,
body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4,
body:not(.home) .page-content h1,
body:not(.home) .page-content h2,
body:not(.home) .page-content h3,
body:not(.home) .page-content h4,
body:not(.home) .wp-block-post-content h1,
body:not(.home) .wp-block-post-content h2,
body:not(.home) .wp-block-post-content h3,
body:not(.home) .wp-block-post-content h4,
body:not(.home) .wp-block-group h1,
body:not(.home) .wp-block-group h2,
body:not(.home) .wp-block-group h3,
body:not(.home) .wp-block-group h4,
body:not(.home) main h1,
body:not(.home) main h2,
body:not(.home) main h3,
body:not(.home) main h4,
body:not(.home) .wp-site-blocks main h1,
body:not(.home) .wp-site-blocks main h2,
body:not(.home) .wp-site-blocks main h3,
body:not(.home) .wp-site-blocks main h4{
  font-weight:700;
  line-height:1.3;
  margin-top:24px;   /* Abstand zum vorherigen Absatz */
  margin-bottom:4px; /* kleiner Abstand zum folgenden Text */
}

/* Größenstaffelung: H1 > H2 > H3/H4 */
body:not(.home) .entry-content h1,
body:not(.home) .page-content h1,
body:not(.home) .wp-block-post-content h1,
body:not(.home) .wp-block-group h1,
body:not(.home) main h1,
body:not(.home) .wp-site-blocks main h1{
  font-size:28px;
}

body:not(.home) .entry-content h2,
body:not(.home) .page-content h2,
body:not(.home) .wp-block-post-content h2,
body:not(.home) .wp-block-group h2,
body:not(.home) main h2,
body:not(.home) .wp-site-blocks main h2{
  font-size:20px;
}

body:not(.home) .entry-content h3,
body:not(.home) .entry-content h4,
body:not(.home) .page-content h3,
body:not(.home) .page-content h4,
body:not(.home) .wp-block-post-content h3,
body:not(.home) .wp-block-post-content h4,
body:not(.home) .wp-block-group h3,
body:not(.home) .wp-block-group h4,
body:not(.home) main h3,
body:not(.home) main h4,
body:not(.home) .wp-site-blocks main h3,
body:not(.home) .wp-site-blocks main h4{
  font-size:18px;
}


/* AGB – Zweispalten-Layout */
.agb-two-col {
  max-width: 960px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.7;
  color: #0f172a;
}

.agb-two-col h2{
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.agb-two-col h3{
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.2rem 0 .4rem;
}

.agb-two-col__cols{
  display: block;
}

@media(min-width:900px){
  .agb-two-col__cols{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}


/* ============================================
 * Top-Bar
 * ============================================ */

.topbar{
  background:linear-gradient(90deg,#0b2239,#0f3d63);
  color:#e2e8f0;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.5rem 1rem;
}
.topbar a{
  color:#90e0ef;
  text-decoration:underline;
  text-underline-offset:2px;
}
.topbar__text{
  font-size:.9rem;
}

/* ============================================
 * Header / Navigation
 * ============================================ */

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
  padding:.6rem 0;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  text-decoration:none;
  color:inherit;
}
.brand-logo{
  height:28px;
  width:auto;
  border-radius:6px;
}
.brand-text{
  font-weight:700;
}
.dot{
  width:28px;
  height:28px;
  border-radius:10px;
  background:var(--brand);
  display:inline-block;
}
.nav{
  display:flex;
  gap:1rem;
  align-items:center;
}
.menu{
  display:flex;
  gap:.9rem;
  list-style:none;
  margin:0;
  padding:0;
}
.menu a{
  text-decoration:none;
  color:inherit;
  font-weight:500;
}

/* ============================================
 * Buttons
 * ============================================ */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1.1rem;
  border-radius:12px;
  border:1px solid var(--line);
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  background:#ffffff;
}
.btn-primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.btn-ghost{
  background:transparent;
  color:var(--brand-2);
}
.btn.on-dark{
  border-color:#fff;
  color:#0b1220;
  background:#fff;
}

/* ============================================
 * Hero-Bereich (Startseite)
 * ============================================ */

.hero{
  background:linear-gradient(180deg,#ecfdf5,#fff);
  padding:56px 0;
}

/* Hauptüberschrift im Hero */
.hero h1{
  margin:0 0 4px;
  font-weight:800;
  font-size:clamp(30px,4vw,40px);
  line-height:1.15;
}

/* Desktop: Textblock etwas nach unten, damit H1 ungefähr mit Bildbeginn startet */
@media(min-width:900px){
  .hero-left{
    padding-top:16px;
  }
}

.hero-sub{
  margin:18px 0 4px;
  font-weight:800;
  font-size:clamp(22px,3vw,32px);
  letter-spacing:.01em;
}
.lead{
  margin-top:6px;
  font-size:1.05rem;
  color:#334155;
}
.hero-img{
  width:100%;
  height:auto;
  border-radius:16px;
  box-shadow:inset 0 0 0 1px var(--line);
}
.check{
  list-style:none;
  margin:14px 0 0 0;
  padding:0;
}
.check li{
  margin:8px 0;
  padding-left:26px;
  position:relative;
}
.check li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45rem;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(16,185,129,.16);
  box-shadow:inset 0 0 0 2px #10b981;
}

/* CTA-Subtext + Einleitung */
.cta-subtext{
  margin-top:12px;
  margin-bottom:6px;
  font-size:.8rem;
  color:#64748b;
}
.intro-wide{
  margin-top:16px;
}
.intro-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media(min-width:900px){
  .intro-grid{
    grid-template-columns:1.4fr .9fr;
  }
}
.intro-box{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

/* Wrapper: Portrait + Badges untereinander */
.intro-photo-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.intro-photo{
  width:128px;
  height:128px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:inset 0 0 0 1px var(--line);
}
.intro-copy{
  line-height:1.35;
  max-width:680px;
}
.intro-heading{
  font-weight:700;
  margin:0 0 6px;
}
/* Mehrere Absätze im Intro-Text */
.intro-text{
  color:#334155;
  font-size:1rem;
}
.intro-text p{
  margin:0 0 8px;
}
.intro-text p:last-child{
  margin-bottom:0;
}

/* Facts */
.facts{
  list-style:none;
  margin:0;
  padding:0;
}
.facts li{
  margin:10px 0;
  padding-left:26px;
  position:relative;
}
.facts li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45rem;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(16,185,129,.16);
  box-shadow:inset 0 0 0 2px #10b981;
}

/* Social badges – untereinander unter dem Portrait, zentriert */
.badges{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:10px;
  align-items:center;
}
.badge{
  display:block;
  height:22px;
  width:auto;
  object-fit:contain;
}
/* LinkedIn etwas kleiner, XING etwas größer */
.badges img[alt="LinkedIn"]{height:18px}
.badges img[alt="XING"]{height:26px}

/* ============================================
 * Kennzahlen / Metrics
 * ============================================ */

.metrics{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
@media(min-width:900px){
  .metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
.metric{
  position:relative;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:14px 12px;
  box-shadow:0 1px 2px rgba(2,6,23,.04);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.metric::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  border-top-left-radius:12px;
  border-top-right-radius:12px;
  background:linear-gradient(90deg,#059669,#10b981);
}
.metric:hover{
  box-shadow:0 6px 18px rgba(2,8,23,.06);
  transform:translateY(-1px);
  border-color:#cce7db;
}
.metric__value{
  font-weight:800;
  line-height:1;
  font-size:clamp(22px,3.2vw,30px);
  background:linear-gradient(180deg,#065f46 0%,#10b981 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing:.2px;
}
.metric__label{
  font-weight:700;
  font-size:.95rem;
  color:#0f172a;
  text-align:center;
}

/* ============================================
 * Leistungen-Karten
 * ============================================ */

.cards{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:12px;
}
@media(min-width:900px){
  .cards{
    grid-template-columns:repeat(3,1fr);
  }
}
.card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#fff;
  box-shadow:0 1px 2px rgba(2,6,23,.03);
}
.card h3{
  margin:10px 0 6px;
}
.ph{
  width:100%;
  height:auto;
  border-radius:12px;
  box-shadow:inset 0 0 0 1px var(--line);
  background:#eef2f7;
  margin-bottom:10px;
}
.bullets{
  margin:6px 0 10px 18px;
}
.bullets li{
  margin:4px 0;
}
.flag{
  display:inline-block;
  background:#d1fae5;
  color:#065f46;
  border-radius:10px;
  padding:4px 8px;
  font-size:.8rem;
  font-weight:700;
  margin:6px 0;
}
.flag--below{
  margin-top:2px;
}

/* ============================================
 * Seminartermine (Startseite – Teaser)
 * ============================================ */

.events-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:12px;
}
@media(min-width:900px){
  .events-grid{
    grid-template-columns:1fr 1fr;
  }
}
.event{
  border:1px solid #a7f3d0;
  background:#fff;
  border-radius:14px;
  padding:16px;
  box-shadow:0 1px 2px rgba(2,6,23,.03);
}
.event h4{
  margin:0;
}
.chip{
  background:#d1fae5;
  color:#065f46;
  border-radius:8px;
  padding:4px 8px;
  font-size:.75rem;
}
.tag{
  display:inline-flex;
  background:#f1f5f9;
  border-radius:8px;
  padding:4px 8px;
  font-size:.8rem;
  color:#334155;
}
.events-empty{
  margin-top:12px;
  border:1px dashed var(--line);
  border-radius:12px;
  padding:16px;
  text-align:center;
}

/* ============================================
 * Events Teaser Cards (Landing – pretty)
 * ============================================ */

.events-grid--pretty{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}
@media(min-width:900px){
  .events-grid--pretty > .event-card{grid-column:span 6;}
}
@media(max-width:899.98px){
  .events-grid--pretty > .event-card{grid-column:1 / -1;}
}

.event-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
  padding:18px;
  border:1px solid #cfead9;
  border-radius:16px;
  background:#fff;
  box-shadow:0 0 0 4px rgba(13,148,86,0.05) inset;
}
.event-card__head .event-card__title{
  font-size:20px;
  line-height:1.25;
  margin:0 0 6px 0;
}
.event-card__head .event-card__excerpt{
  margin:0;
  color:#3b5b50;
}
.event-card__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  font-size:13px;
  background:#eefaf3;
  color:#0a6846;
  border:1px solid #cfead9;
  border-radius:999px;
}
.chip--days{
  font-weight:600;
}
.event-card__tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  font-size:13px;
  background:#f7faf7;
  border:1px solid #d9efe4;
  border-radius:10px;
  color:#1b3b30;
}
.event-card__price{
  margin-top:2px;
}
.price-pill{
  display:inline-block;
  background:#e9f9ee;
  border:1px solid #cfead9;
  border-radius:999px;
  padding:12px 16px;
}
.price-pill__main{
  font-size:24px;
  font-weight:800;
  line-height:1;
  color:#0f7c4a;
}
.price-pill__sub{
  font-size:12px;
  color:#2f6b57;
  margin-top:2px;
}
.event-card__foot{
  margin-top:auto;
  display:flex;
  justify-content:flex-end;
}
.event-card__foot .btn{
  border-radius:10px;
}

/* ============================================
 * Seminar-Detailseiten (single-sampro_event)
 * ============================================ */

.ev-time{white-space:nowrap}

/* ============================================
 * CTA-Band
 * ============================================ */

.cta-band{
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#059669,#10b981);
  color:#fff;
}
.cta-band__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  align-items:center;
  padding:28px 1rem;
}
@media(min-width:900px){
  .cta-band__inner{
    grid-template-columns:3fr 1fr;
  }
}
.cta-band h2{
  margin:0;
  font-size:clamp(22px,3.2vw,32px);
}
.cta-band p{
  margin:6px 0 0;
  color:#e8fff5;
}
.btn.on-dark{
  background:#fff;
  border-color:#fff;
  color:#065f46;
}

/* ============================================
 * Footer
 * ============================================ */

.site-footer{
  background:linear-gradient(90deg,#0b2239,#0f3d63);
  color:#e8edf3;
  padding:40px 0 10px;
}
.foot-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}
@media(min-width:900px){
  .foot-grid{
    grid-template-columns:2fr 1fr 1fr 1fr;
  }
}
.site-footer h4{
  margin:0 0 8px;
  color:#ffffff;
}
.links{
  list-style:none;
  margin:0;
  padding:0;
}
.links li{
  margin:6px 0;
}
.site-footer a{
  color:#baf7d0;
  text-decoration:none;
}
.site-footer a:hover,
.site-footer a:focus{
  color:#d7fde7;
  text-decoration:underline;
}
.footnote{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #182335;
  padding-top:10px;
  margin-top:10px;
}

/* Buttons im dunklen Bereich */
.cta-band .btn,
.site-footer .btn{
  color:#ffffff;
  border-color:#ffffff;
}
.cta-band .btn.on-dark{
  background:transparent;
  color:#ffffff;
  border-color:#ffffff;
}

/* ============================================
 * Gutenberg-Markierung im Hero neutralisieren
 * ============================================ */

.hero mark,
.hero .has-inline-background-color,
.hero .wp-element-mark{
  background-color:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}

/* Überschrift "Über mich" auf der Startseite */
.intro-main-heading{
  margin:0 0 10px;
  font-weight:700;
  font-size:clamp(18px, 3vw, 20px);
}

/* ============================================
 * Seminartitel – Größenanpassung
 * ============================================ */

/* 1) Seminartitel in der Terminliste auf /seminare/ (rechte Spalte) */
body.page-template-page-seminare .seminar-two-col .seminar-side .events-grid .event h4,
body.page-template-page-seminare .seminar-two-col .seminar-side .event-card__title{
  font-size:20px;
  font-weight:800;
  line-height:1.25;
  margin:0 0 4px;
}

/* 2) Seminartitel auf der Detailseite (single-sampro_event) – größer als normale Seitentitel */
body.single-sampro_event .seminar-single h1.entry-title{
  font-size:32px;
  font-weight:800;
  line-height:1.2;
  margin:0 0 10px;
}

.sampro-contact{
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
  background:#ffffff;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}

.sampro-contact-form{
  display:block;
}

.sampro-contact-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:10px;
}

.sampro-field{
  flex:1 1 160px;
  min-width:0;
}

.sampro-contact label{
  display:block;
  font-weight:600;
  font-size:14px;
  margin-bottom:4px;
}

.sampro-contact input[type="text"],
.sampro-contact input[type="email"],
.sampro-contact input[type="number"],
.sampro-contact textarea{
  width:100%;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:8px 10px;
  font:inherit;
}

.sampro-contact input:focus,
.sampro-contact textarea:focus{
  border-color:#34d399;
  outline:none;
  box-shadow:0 0 0 3px rgba(16,185,129,.15);
}

.sampro-contact-hp{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.sampro-contact-hint{
  font-size:12px;
  color:#64748b;
  margin:6px 0 12px;
}

.sampro-contact-notice{
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:12px;
  font-size:14px;
}

.sampro-contact-notice--success{
  border:1px solid #bbf7d0;
  background:#ecfdf5;
  color:#065f46;
}

.sampro-contact-notice--error{
  border:1px solid #fecaca;
  background:#fef2f2;
  color:#b91c1c;
}

/* Betreff-Auswahlfeld: Höhe an andere Felder angleichen */
#sampro_betreff{
  padding-top:9px;
  padding-bottom:9px;
  line-height:1.6;
  min-height:42px;          /* gleiche „optische“ Höhe wie Inputs */
  box-sizing:border-box;
}

.sampro-alert--error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
}

/* NEU: Button rechts unten ausrichten */
.sampro-submit-row{
    display:flex;
    justify-content:flex-end;
    margin-top:12px;
}

.kontakt-visual {
  margin-top: 18px;
}

.kontakt-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* ==========================================
   Animiertes Hauptmenü SAM-PRO
   ========================================== */

/* Layout & Basis-Stil */
header.site-header nav.menu-hauptmenue-container {
    display: flex;
    justify-content: center;
}

header.site-header #menu-hauptmenue {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Links mit sanfter Farb- und Unterstreichungs-Animation */
header.site-header #menu-hauptmenue > li > a {
    position: relative;
    display: inline-block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    transition: color .22s ease, opacity .22s ease;
}

/* Unterstreichung als Pseudo-Element */
header.site-header #menu-hauptmenue > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #16a34a;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

/* Hover: Farbe + animierte Linie einblenden */
header.site-header #menu-hauptmenue > li > a:hover {
    color: #16a34a;
    opacity: 0.85;
}

header.site-header #menu-hauptmenue > li > a:hover::after {
    transform: scaleX(1);
}

/* Aktive Seite dauerhaft markiert */
header.site-header #menu-hauptmenue > li.current-menu-item > a,
header.site-header #menu-hauptmenue > li.current_page_item > a {
    color: #16a34a;
    font-weight: 600;
}

header.site-header #menu-hauptmenue > li.current-menu-item > a::after,
header.site-header #menu-hauptmenue > li.current_page_item > a::after {
    transform: scaleX(1);
}

/* ------------------------------------------
   Einblend-Animation beim Laden (staggered)
   ------------------------------------------ */

header.site-header #menu-hauptmenue > li {
    opacity: 0;
    transform: translateY(-6px);
    animation: sampro-menu-fade .45s ease-out forwards;
}

/* leichte Staffelung pro Eintrag */
header.site-header #menu-hauptmenue > li:nth-child(1) { animation-delay: .05s; }
header.site-header #menu-hauptmenue > li:nth-child(2) { animation-delay: .10s; }
header.site-header #menu-hauptmenue > li:nth-child(3) { animation-delay: .15s; }
header.site-header #menu-hauptmenue > li:nth-child(4) { animation-delay: .20s; }
header.site-header #menu-hauptmenue > li:nth-child(5) { animation-delay: .25s; }
header.site-header #menu-hauptmenue > li:nth-child(6) { animation-delay: .30s; }
header.site-header #menu-hauptmenue > li:nth-child(7) { animation-delay: .35s; }
header.site-header #menu-hauptmenue > li:nth-child(8) { animation-delay: .40s; }

@keyframes sampro-menu-fade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auf sehr kleinen Screens Animation etwas entschärfen */
@media (max-width: 768px) {
    header.site-header #menu-hauptmenue {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    header.site-header #menu-hauptmenue > li {
        animation: sampro-menu-fade .35s ease-out forwards;
    }
}


/* =========================================================
   SAM-PRO Business v2 – Premium Overrides
   Orientierung: Business-Coverseite / Blau-Weiß-Gold
   ========================================================= */
body{background:#fff;color:var(--ink);}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line);box-shadow:0 8px 24px rgba(15,23,42,.05)}
.nav{min-height:78px;align-items:center;display:flex;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:800}.brand-logo{max-height:54px;width:auto}.brand-text{letter-spacing:.01em}.menu{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}.menu a{display:block;padding:10px 12px;border-radius:999px;color:#1e293b;text-decoration:none;font-weight:650;font-size:14px}.menu a:hover,.menu .current-menu-item>a{background:var(--soft-blue);color:var(--brand)}
.topbar__links a{color:#e8f4ff;text-decoration:none;margin-left:18px}.topbar__text{font-weight:600}.topbar{font-size:13px}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 12% 0%,#e9f4fb 0,#fff 36%,#f8fbff 100%);padding:70px 0 38px}.hero:before{content:"";position:absolute;inset:auto -12% -28% auto;width:560px;height:560px;border-radius:50%;background:rgba(15,61,99,.08);pointer-events:none}.hero h1{font-size:clamp(42px,5.2vw,76px);line-height:1.02;margin:0 0 16px;color:var(--brand);letter-spacing:-.045em}.hero-sub{font-size:clamp(23px,2.3vw,36px);line-height:1.16;color:#0f172a;margin:0 0 18px;font-weight:800;letter-spacing:-.02em}.lead{font-size:18px;max-width:720px;color:#334155;line-height:1.7}.check{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}.check li{position:relative;padding-left:30px;color:#1e293b;font-weight:650}.check li:before{content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand-2));box-shadow:inset 0 0 0 5px #fff;border:1px solid #bad3e7}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:12px 20px;font-weight:800;text-decoration:none;border:1px solid transparent;transition:.18s ease}.btn-primary{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff;box-shadow:0 12px 26px rgba(15,61,99,.22)}.btn-primary:hover{transform:translateY(-1px);text-decoration:none}.btn-ghost{background:#fff;color:var(--brand);border-color:#b8cde1}.btn-ghost:hover{background:var(--soft-blue);text-decoration:none}.btn-ghost.on-dark{background:#fff;color:var(--brand);border-color:#fff}.cta-subtext{margin-top:12px;color:#64748b;font-weight:650}.hero-img{width:100%;height:auto;border-radius:30px;box-shadow:var(--shadow);border:1px solid #e5edf5;object-fit:cover}.hero-right{display:flex;align-items:center}.intro-wide{margin-top:60px}.intro-main-heading{font-size:34px;color:var(--brand);margin:0 0 22px}.intro-grid{display:grid;grid-template-columns:1fr;gap:24px}@media(min-width:900px){.intro-grid{grid-template-columns:1.15fr .85fr}}.intro-box,.intro-right,.card,.event,.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 16px 38px rgba(15,23,42,.07)}.intro-box{display:grid;grid-template-columns:170px 1fr;gap:24px;padding:24px}.intro-photo{width:170px;height:210px;object-fit:cover;border-radius:20px;box-shadow:0 12px 25px rgba(15,23,42,.12)}.facts{margin:0;padding:24px;list-style:none;display:grid;gap:12px}.facts li{padding-left:26px;position:relative;font-weight:650}.facts li:before{content:"";position:absolute;left:0;top:.55em;width:12px;height:12px;border-radius:3px;background:var(--accent)}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:34px 0 0}.metric{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d9e6f1;border-radius:24px;padding:26px;text-align:center;box-shadow:0 14px 34px rgba(15,61,99,.08)}.metric__value{font-size:34px;line-height:1;font-weight:900;color:var(--brand);letter-spacing:-.03em}.metric__label{margin-top:10px;color:#475569;font-weight:650}.section h2{font-size:clamp(30px,3vw,44px);color:var(--brand);letter-spacing:-.03em;margin:0 0 12px}.cards,.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}.card{overflow:hidden}.card img{width:100%;height:205px;object-fit:cover;display:block}.card-body{padding:24px}.card h3{font-size:24px;color:#0f172a;margin:.2rem 0 .65rem}.card p{color:#475569}.cta-band{background:linear-gradient(135deg,#0b2239,#0f3d63 65%,#155a8a);color:#fff;padding:44px 0;margin-top:20px}.cta-band__inner{display:flex;justify-content:space-between;gap:24px;align-items:center}.cta-band h2{margin:0;font-size:30px}.cta-band p{margin:8px 0 0;color:#dbeafe}.site-footer{background:#071a2b;color:#dbeafe;padding:46px 0 22px}.site-footer h4{color:#fff}.site-footer a{color:#e8f4ff}.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px}.footnote{border-top:1px solid rgba(255,255,255,.14);margin-top:32px;padding-top:18px;display:flex;justify-content:space-between;gap:18px}.links{list-style:none;padding:0;margin:0;display:grid;gap:8px}
@media(max-width:899px){.topbar__inner,.cta-band__inner,.footnote{flex-direction:column;align-items:flex-start}.nav{flex-wrap:wrap}.menu{flex-wrap:wrap}.metrics{grid-template-columns:1fr}.intro-box{grid-template-columns:1fr}.foot-grid{grid-template-columns:1fr}.hero{padding-top:42px}.row{flex-wrap:wrap}}

/* =========================================================
   SAM-PRO Business v3 – Coverseiten-Style
   Ziel: näher an der bereitgestellten CV-Business-Coverseite
   ========================================================= */
:root{
  --sp-navy:#062653;
  --sp-navy-2:#0b3c78;
  --sp-blue:#0f5ca8;
  --sp-line:#c9d6e8;
  --sp-gold:#c99a2e;
  --sp-soft:#f5f8fc;
  --sp-text:#0b1f3a;
}
body.home{background:#fff;color:var(--sp-text)}
body.home .topbar{background:#062653;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
body.home .topbar__inner{padding:.36rem 1rem;font-size:13px}
body.home .topbar a{color:#fff;text-decoration:none}
body.home .site-header{background:#fff;border-bottom:1px solid #dde6f1;box-shadow:none;padding:0}
body.home .nav{min-height:82px;align-items:center}
body.home .brand-logo{max-height:56px;height:auto}
body.home .brand-text{display:none}
body.home .menu{gap:18px}
body.home .menu a{border-radius:0;padding:30px 0 23px;font-size:15px;font-weight:700;color:#071f42;background:transparent}
body.home .menu a:hover,
body.home .menu .current-menu-item>a{color:var(--sp-blue);background:transparent;text-decoration:none;border-bottom:3px solid var(--sp-blue)}
body.home header.site-header #menu-hauptmenue > li > a::after{display:none!important}

.biz-hero{position:relative;overflow:hidden;background:linear-gradient(90deg,#ffffff 0%,#ffffff 48%,#edf4fb 48%,#eef5fb 100%);min-height:530px;border-bottom:1px solid #d8e4f0}
.biz-hero__bg{position:absolute;right:0;top:0;bottom:0;width:52%;background-size:cover;background-position:center;opacity:.23;filter:saturate(.75)}
.biz-hero:before{content:"";position:absolute;left:52%;top:-80px;bottom:-80px;width:4px;background:var(--sp-navy);transform:skewX(-12deg);z-index:1}
.biz-hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:36px;align-items:stretch;min-height:530px}
.biz-hero__copy{padding:58px 0 50px;max-width:650px}
.biz-eyebrow{font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:13px;color:#0b3c78;margin-bottom:22px}
.biz-hero h1{margin:0;color:var(--sp-navy);font-size:clamp(46px,5.2vw,76px);line-height:1.02;letter-spacing:.03em;text-transform:uppercase;font-weight:900}
.biz-subline{margin:22px 0 0;font-size:clamp(23px,2.2vw,34px);font-weight:500;color:#0b3c78}
.biz-subline:after{content:"";display:block;width:88px;height:4px;background:var(--sp-blue);margin:18px 0 0;border-radius:2px}
.biz-lead{font-size:17px;line-height:1.75;color:#172b4d;margin:22px 0 20px;max-width:590px}
.biz-hero__checks{display:flex;flex-wrap:wrap;gap:18px;margin:18px 0 24px;color:#0f2e57;font-weight:700;font-size:14px}
.biz-hero__checks span{position:relative;padding-left:23px}.biz-hero__checks span:before{content:"";position:absolute;left:0;top:.25em;width:14px;height:14px;border:2px solid var(--sp-blue);border-radius:50%;box-shadow:inset 0 0 0 3px #fff;background:#dcecff}
.biz-hero__actions{display:flex;gap:18px;flex-wrap:wrap}.biz-hero .btn{border-radius:5px;padding:14px 24px}.biz-hero .btn-primary{background:var(--sp-navy);box-shadow:none}.biz-hero .btn-ghost{border-color:var(--sp-navy);color:var(--sp-navy);background:#fff}
.biz-hero__portrait{display:flex;align-items:flex-end;justify-content:center;position:relative;padding-top:30px}.biz-hero__portrait img{width:min(420px,95%);max-height:500px;object-fit:cover;object-position:center top;filter:drop-shadow(0 22px 34px rgba(6,38,83,.18));border-radius:0}

.biz-metrics-wrap{position:relative;z-index:5;margin-top:-48px}.biz-metrics{background:#fff;border:1px solid var(--sp-line);box-shadow:0 16px 35px rgba(6,38,83,.12);border-radius:10px;display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden}.biz-metrics article{display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:18px 24px;border-right:1px solid var(--sp-line)}.biz-metrics article:last-child{border-right:0}.biz-metrics .biz-icon{grid-row:1 / 3}.biz-metrics strong{font-size:34px;color:var(--sp-navy);line-height:1;font-weight:900;letter-spacing:-.03em}.biz-metrics small{font-size:14px;color:#1e2f4d;font-weight:600}.biz-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:var(--sp-navy);color:#fff;flex:0 0 auto}.biz-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.biz-icon.large{width:62px;height:62px}.biz-icon.large svg{width:34px;height:34px}

body.home .section{padding:54px 0}.biz-section-kicker{margin:0 0 5px;color:#0b3c78;text-transform:uppercase;letter-spacing:.14em;font-size:13px;font-weight:900}.center{text-align:center}.biz-about__grid{display:grid;grid-template-columns:360px 1fr;gap:42px;align-items:center}.biz-about__photo img{width:100%;border-radius:6px;box-shadow:0 16px 38px rgba(6,38,83,.16);object-fit:cover}.biz-about h2,.biz-services h2,.biz-why h2{font-size:clamp(28px,3vw,40px);color:var(--sp-navy);text-transform:uppercase;letter-spacing:.06em;margin:0 0 6px}.biz-role{font-size:18px;font-weight:700;color:#0b3c78;margin:0 0 14px}.biz-about p{font-size:16px;line-height:1.7}.biz-competence-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px;margin-top:24px}.biz-competence-grid article{display:flex;gap:14px;align-items:flex-start}.biz-competence-grid strong{display:block;color:#092a59;font-size:15px;text-transform:uppercase;letter-spacing:.03em}.biz-competence-grid small{color:#475569;line-height:1.45}

.biz-services{background:#fff}.biz-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:24px}.biz-card{background:#fff;border:1.5px solid #b9cbe1;border-radius:8px;padding:28px 26px;min-height:360px;box-shadow:0 10px 28px rgba(6,38,83,.06);transition:.18s ease}.biz-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(6,38,83,.12)}.biz-card h3{font-size:24px;color:var(--sp-navy);text-transform:uppercase;letter-spacing:.04em;margin:18px 0 12px}.biz-card-sub{margin:-6px 0 12px;text-transform:uppercase;font-size:12px;font-weight:900;letter-spacing:.1em;color:#0b3c78}.biz-card ul{list-style:none;padding:0;margin:0 0 20px}.biz-card li{position:relative;padding-left:24px;margin:8px 0}.biz-card li:before{content:"✓";position:absolute;left:0;color:var(--sp-blue);font-weight:900}.biz-card .link{font-weight:800;text-decoration:none;color:var(--sp-blue)}

.biz-why{background:#fff;border-top:1px solid #e6edf5}.biz-benefits{display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-top:1px solid var(--sp-line);border-bottom:1px solid var(--sp-line);margin-top:28px}.biz-benefits article{text-align:center;padding:24px 18px;border-right:1px solid var(--sp-line)}.biz-benefits article:last-child{border-right:0}.biz-benefits .biz-icon{margin:0 auto 12px;background:#fff;color:var(--sp-blue);border:2px solid var(--sp-blue)}.biz-benefits strong{display:block;text-transform:uppercase;color:var(--sp-navy);font-size:14px;letter-spacing:.04em}.biz-benefits p{margin:8px 0 0;color:#334155;font-size:14px;line-height:1.45}

.biz-industries{padding:10px 0 42px}.biz-industry-box{border:1px solid var(--sp-line);background:#f7faff;border-radius:8px;padding:26px 30px}.biz-industry-box h2{text-align:center;text-transform:uppercase;letter-spacing:.09em;color:var(--sp-navy);font-size:28px;margin:0 0 22px}.biz-industry-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:0}.biz-industry-grid span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:0 14px;border-right:1px solid var(--sp-line);font-weight:600;color:#19395f}.biz-industry-grid span:last-child{border-right:0}.biz-industry-grid svg{width:34px;height:34px;fill:none;stroke:var(--sp-blue);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.biz-final-cta{background:var(--sp-navy);color:#fff;padding:36px 0;clip-path:polygon(0 0,97% 0,100% 100%,0 100%)}.biz-final-cta__inner{display:flex;justify-content:space-between;align-items:center;gap:34px}.biz-final-cta h2{font-size:28px;letter-spacing:.04em;text-transform:uppercase;margin:0}.biz-final-cta p{margin:8px 0 0;color:#e1ebf7}.biz-final-cta .btn{border-radius:4px;background:#fff;color:var(--sp-navy);border-color:#fff;min-width:230px}

body.home .cta-band{display:none}.site-footer{background:#061f42!important;color:#dbe8f7!important}.site-footer .dot{display:none}.site-footer .brand-text{font-size:32px;letter-spacing:.04em;color:#fff}.site-footer .muted{color:#dbe8f7}.site-footer a{color:#fff!important}.foot-grid{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:28px}

@media(max-width:1100px){.biz-metrics{grid-template-columns:repeat(2,1fr)}.biz-metrics article{border-bottom:1px solid var(--sp-line)}.biz-card-grid,.biz-about__grid{grid-template-columns:1fr}.biz-benefits{grid-template-columns:repeat(2,1fr)}.biz-benefits article{border-bottom:1px solid var(--sp-line)}.biz-industry-grid{grid-template-columns:repeat(2,1fr);gap:18px}.biz-industry-grid span{border-right:0}.biz-hero__grid{grid-template-columns:1fr}.biz-hero{background:#fff}.biz-hero:before,.biz-hero__bg{display:none}.biz-hero__portrait{display:none}}
@media(max-width:720px){body.home .nav{min-height:auto;padding:12px 0}.biz-hero h1{font-size:36px}.biz-metrics{grid-template-columns:1fr}.biz-metrics article{border-right:0}.biz-competence-grid,.biz-benefits{grid-template-columns:1fr}.biz-final-cta{clip-path:none}.biz-final-cta__inner{flex-direction:column;align-items:flex-start}.biz-card{min-height:auto}}
