/* ============================================
 * SAM-PRO Theme – theme.css (Neuaufbau, aufgeräumt)
 * ============================================ */

/* Google-Font: Inter (open source, sehr gut lesbar) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- Farb- und Layout-Variablen ---------- */
:root{
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --brand:#059669;
  --accent:#065f46;
  --gap-tight:6px;
}

/* ---------- Reset & Grundlayout ---------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Inter", system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  font-size:14px;
  line-height:1.6;
  color:var(--ink);
  background:#ffffff;
}
a{
  color:var(--accent);
}
a:hover,a:focus{
  text-decoration:underline;
  text-underline-offset:2px;
}
.link{
  color:var(--accent);
  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:#0b1220;
  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(--accent);
}
.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:#0b1220;
  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;
    }
}
