/*
 Theme Name:     IT Adomeit - Theme
 Theme URI:      http://www.it-adomeit.de
 Description:    Divi Child-Theme
 Author:         Pascal Adomeit
 Author URI:     https://www.it-adomeit.de
 Template:       Divi
 Version:        1.0.0
*/
 
/* Ab hier CSS-Anpassungen eintragen 
------------------------------------------------------- */

/* Zentrale Markenfarben: Grau + Orange */
:root {
  --brand-primary: #666666;
  --brand-primary-dark: #4f4f4f;
  --brand-accent: #ff5c04;
  --brand-accent-dark: #d94d00;
  --brand-light: #f2f2f2;
  --brand-white: #ffffff;
  --brand-primary-rgb: 102, 102, 102;
  --brand-accent-rgb: 255, 92, 4;
}

.usp-bar{ background:var(--brand-primary); color:#ffffff; font-size:14px; line-height:1.2; width:100%; /* Hintergrund läuft voll */ } .usp-inner{ max-width:1200px; /* Begrenzung wie dein Content */ margin:0 auto; /* zentriert innerhalb der Seite */ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:0 .75rem; min-height:44px; width:100%; } .usp-left, .usp-right{ display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; } .usp-item{ display:inline-flex; align-items:center; gap:.5rem; color:#fff; text-decoration:none; transition:opacity .2s ease; } .usp-item:hover{ opacity:.85; } .usp-ico{ width:16px; height:16px; display:inline-flex; } .usp-ico svg{ width:100%; height:100%; fill:#ffffff; display:block; } .usp-text{ white-space:nowrap; } .usp-right .usp-social{ display:inline-flex; width:24px; height:24px; align-items:center; justify-content:center; opacity:.9; transition:opacity .2s ease, transform .15s ease; } .usp-right .usp-social:hover{ opacity:1; transform:translateY(-1px); } .usp-right .usp-social svg{ width:18px; height:18px; fill:#ffffff; } /* TABLET (bis 980px) */ @media (max-width:980px){ .usp-inner{ gap:.5rem; } .usp-left{ gap:.75rem; } .usp-text{ white-space:normal; } } /* MOBILE (bis 767px) */ @media (max-width:767px){ .usp-inner{ flex-direction:column; align-items:flex-start; padding:10px 14px; min-height:auto; gap:10px; } /* Kontaktzeilen untereinander */ .usp-left{ width:100%; flex-direction:column; align-items:flex-start; gap:10px; } .usp-item{ display:flex; align-items:center; gap:10px; font-size:15px; line-height:1.4; } .usp-ico{ width:18px; height:18px; } .usp-ico svg{ width:100%; height:100%; } /* Social-Icons darunter, linksbündig */ .usp-right{ width:100%; display:flex; justify-content:flex-start; gap:18px; margin-top:6px; } .usp-right .usp-social{ width:32px; height:32px; /* größere Tap-Ziele */ } .usp-right .usp-social svg{ width:20px; height:20px; } /* Adresse falls .hide-sm → wieder anzeigen */ .hide-sm{ display:inline-flex !important; } } /* Optional: fixiert oben */ /* .usp-bar{ position:sticky; top:0; z-index:9999; } body{ padding-top:44px; } */ /* alle Abstände oben in der USP-Bar killen */ .usp-right .usp-social svg { width:20px; height:20px; fill:#ffffff; /* weiße Fläche */ } /* Submenu: jeder Menüpunkt untereinander */ .et_pb_menu .et-menu li ul.sub-menu li, #top-menu li ul.sub-menu li { display: block !important; float: none !important; clear: both !important; width: 100% !important; white-space: normal !important; /* Umbrüche bei langen Texten */ } /* Link-Text sauber umbrechen */ .et_pb_menu .et-menu li ul.sub-menu li a, #top-menu li ul.sub-menu li a { display: block; white-space: normal !important; line-height: 1.4em; padding: 8px 14px; } span.mobile_menu_bar:before { color: var(--brand-primary) !important; } /* Header / Nav ganz nach vorne holen */ .site-header, header, .wp-block-navigation { position: relative; z-index: 9999; } /* Ab hier Menüanpassung*/ /* --- Modernes Divi Menü mit dynamischem Unterstrich --- */ /* Standard-Link */ header .et-menu > li > a, .et_pb_menu .menu > li > a { position: relative; display: inline-block; padding-bottom: 6px; color: #000000 !important; /* Standardfarbe: Schwarz */ text-decoration: none; transition: color 0.25s ease, background-size 0.25s ease; background-image: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px; /* Unterstrich versteckt */ } /* Hover-Effekt: Unterstrich sichtbar, Text bleibt schwarz */ header .et-menu > li:hover > a, .et_pb_menu .menu > li:hover > a { color: #000000 !important; background-size: 100% 3px; /* Unterstrich fährt aus */ } /* Aktiver Menüpunkt: Farbe Akzent + Unterstrich sichtbar */ header .et-menu > li.current-menu-item > a, header .et-menu > li.current_page_item > a, .et_pb_menu .menu > li.current-menu-item > a, .et_pb_menu .menu > li.current_page_item > a { color: var(--brand-primary) !important; background-size: 100% 3px; } /* Wenn Menüpunkt ein Untermenü hat → Unterstrich ausblenden */ header .et-menu > li.menu-item-has-children:hover > a, .et_pb_menu .menu > li.menu-item-has-children:hover > a { background-size: 0% 3px; } /* Pinke Linie am Dropdown entfernen */ header .et-menu li ul.sub-menu, .et_pb_menu .menu li ul.sub-menu { border-top: none !important; } /* Submenü-Abstand leicht erhöhen (optional für bessere Optik) */  /* Ab hier Teaser für Startseite*/ .course-teasers { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin: 3rem 0; } .course-card { flex: 1 1 300px; max-width: 350px; background: #ffffff; border-radius: 20px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; text-align: center; } .course-card:hover { transform: translateY(-8px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12); } /* --- Oberes Hauptbild --- */ .course-image { height: 180px; background-size: contain; /* Bild vollständig anzeigen */ background-repeat: no-repeat; background-position: center; background-color: #fff; /* neutraler Hintergrund falls transparente PNGs */ padding: 0.5rem; } /* --- Innerer Inhalt (Textbereich) --- */ .course-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; } .course-content h3 { color: var(--brand-primary); font-size: 1.4rem; margin-bottom: 0.75rem; } .course-content p { color: #333; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; } /* Button unten bündig */ .course-btn { display: inline-block; align-self: center; padding: 0.6rem 1.4rem; border-radius: 999px; background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); color: #fff; font-weight: 600; text-decoration: none; transition: background 0.3s ease, transform 0.3s ease; } .course-btn:hover { background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-accent-dark)); transform: translateY(-2px); } /* Linie Header */ /* Feine Linien oben & unten am Header als Background-Layers */ #main-header, #main-header.et-fixed-header, .et-l--header, .et-l--header .et_builder_inner_content > .et_pb_section:first-child { /* macht die Linien */ background-image: linear-gradient(#dddddd, #dddddd), /* obere Linie */ linear-gradient(#dddddd, #dddddd); /* untere Linie */ background-size: 100% 1px, 100% 1px; background-position: 0 0, 0 100%; background-repeat: no-repeat; } /* falls irgendein Modul im Header sein eigenes vollflächiges BG setzt */ .et-l--header .et_pb_section:first-child, .et-l--header .et_pb_row:first-child { background-color: transparent !important; } /* falls mehrere Header-Sektionen: letzte Sektion ebenfalls mit Linie unten */ .et-l--header .et_pb_section:last-child { box-shadow: inset 0 -1px 0 #dddddd !important; } /* NFI*/ .nfi-wrap { max-width: 1100px; margin: 60px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; } .nfi-header { text-align: center; margin-bottom: 40px; } .nfi-header h2 { font-size: 2rem; margin-bottom: 10px; } .nfi-header p { color: #6b7280; font-size: 1.1rem; } .nfi-flex { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; } .nfi-card { flex: 1 1 240px; max-width: 260px; background: #ffffff; border-radius: 14px; border: 1px solid #e5e7eb; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; } .nfi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); } .nfi-card h3 { font-size: 1.25rem; margin-top: 0; margin-bottom: 8px; color: #111827; } .nfi-card p { margin: 0; color: #4b5563; line-height: 1.6; } .nfi-eyebrow { display: inline-block; background: #e0e7ff; color: #3b82f6; font-weight: 600; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; } /* —— Scoped Styles —— */ .nfi-topics { max-width: 1100px; margin: 60px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; } .nfi-topics__head { text-align: center; margin-bottom: 36px; } .nfi-topics__eyebrow { display: inline-block; background: var(--brand-light); /* helle Variante deiner Hauptfarbe */ color: var(--brand-primary); font-weight: 600; padding: 6px 12px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; } .nfi-topics__title { font-size: 2rem; margin: 0 0 8px; } .nfi-topics__sub { color: #6b7280; font-size: 1.05rem; margin: 0; } /* —— Cards mit Flexbox —— */ .nfi-topics__wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; } .nfi-topic { flex: 1 1 260px; max-width: 320px; background: #ffffff; border-radius: 14px; border: 1px solid #e5e7eb; padding: 20px 20px; box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; } .nfi-topic:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.10); border-color: #d6d6d6; } .nfi-topic::before{ content:""; position:absolute; left:0; top:0; bottom:0; width: 4px; border-top-left-radius: 14px; border-bottom-left-radius: 14px; background: linear-gradient(180deg, var(--brand-primary), rgba(var(--brand-primary-rgb),.6)); opacity: .9; } .nfi-topic h3 { font-size: 1.05rem; line-height: 1.45; margin: 0 0 6px; color: #0f172a; } .nfi-topic p { margin: 0; color: #4b5563; line-height: 1.6; font-size: .98rem; } @media (max-width: 420px){ .nfi-topic{ flex-basis: 100%; max-width: 100%; } } .nfi-goals { max-width: 900px; margin: 60px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; } .nfi-goals__head { text-align: center; margin-bottom: 36px; } .nfi-goals__eyebrow { display: inline-block; background: var(--brand-light); color: var(--brand-primary); font-weight: 600; padding: 6px 12px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; } .nfi-goals__title { font-size: 2rem; margin: 0 0 8px; } .nfi-goals__sub { color: #6b7280; font-size: 1.05rem; margin: 0; } /* ---- Liste ohne Punkte (erzwingt Theme-Override) ---- */ .nfi-goals__list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; list-style: none !important; /* erzwingt das Entfernen */ padding-left: 0 !important; /* kein Einzug */ margin-left: 0 !important; } .nfi-goals__list li::marker { content: none !important; /* entfernt Browsermarker */ } .nfi-goal { background: #fff; border: 1px solid #e5e7eb; border-left: 5px solid var(--brand-primary); border-radius: 10px; padding: 16px 20px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); transition: transform .25s ease, box-shadow .25s ease; } .nfi-goal:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); } .nfi-structure { max-width: 800px; margin: 60px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; } .nfi-structure__head { text-align: center; margin-bottom: 36px; } .nfi-structure__eyebrow { display: inline-block; background: var(--brand-light); color: var(--brand-primary); font-weight: 600; padding: 6px 12px; border-radius: 999px; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; } .nfi-structure__title { font-size: 2rem; margin: 0 0 8px; } .nfi-structure__sub { color: #6b7280; font-size: 1.05rem; margin: 0; } .nfi-structure__wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 30px; } .nfi-structure__card { flex: 1 1 300px; max-width: 360px; background: #fff; border: 1px solid #e5e7eb; border-left: 5px solid var(--brand-primary); border-radius: 10px; padding: 20px 22px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); transition: transform .25s ease, box-shadow .25s ease; } .nfi-structure__card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.08); } .nfi-structure__card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--brand-primary); } .nfi-structure__card p { margin: 0; color: #4b5563; line-height: 1.6; } /* ---- VITA-----*/ /* ====== VITA (scoped) ====== */ .vita { max-width: 980px; margin: 72px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; color: #111827; } /* Header mit Foto */ .vita__header { position: relative; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 26px 24px; box-shadow: 0 12px 28px rgba(0,0,0,.06); display: flex; align-items: center; flex-wrap: wrap; gap: 24px; } .vita__photo { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 3px solid var(--brand-primary); box-shadow: 0 4px 12px rgba(0,0,0,0.15); } .vita__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; /* <— vertikal höher (20%). Spiele mit 25–40% */ } .vita__header-content { flex: 1 1 300px; } .vita__eyebrow{ display:inline-block; background: var(--brand-light); color: var(--brand-primary); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; padding: 6px 12px; border-radius: 999px; } .vita__title{ margin: 12px 0 6px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; } .vita__sub{ margin: 0; color: #6b7280; font-size: 1rem; } /* Timeline */ .vita__tl{ position: relative; margin-top: 26px; padding-left: 28px; } .vita__line{ position:absolute; left:12px; top:0; bottom:0; width:4px; background: linear-gradient(180deg, var(--brand-primary), rgba(var(--brand-primary-rgb),0.3)); border-radius: 6px; box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),.18); } .vita__item{ position: relative; margin: 18px 0 22px; padding-left: 14px; } .vita__dot{ position:absolute; left:-22px; top:12px; width:14px; height:14px; border-radius:50%; background: var(--brand-primary); box-shadow: 0 0 0 4px rgba(var(--brand-primary-rgb),.18), 0 6px 14px rgba(0,0,0,.12); } .vita__card{ background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(0,0,0,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; } .vita__card:hover{ transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.09); border-color: #d6d6d6; } .vita__meta{ display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; margin-bottom: 6px; } .vita__year{ font-weight: 700; background: var(--brand-light); color: var(--brand-primary); padding: 4px 10px; border-radius: 999px; font-size: .9rem; } .vita__where{ color: #6b7280; font-size: .95rem; } .vita__h{ margin: 4px 0 6px; font-size: 1.05rem; line-height: 1.45; } .vita__p{ margin: 0; color: #374151; line-height: 1.65; } .vita__list{ list-style:none !important; padding-left:0 !important; margin:8px 0 0 !important; } .vita__list li::marker{ content:none !important; } .vita__list li{ margin: 6px 0; } @media (max-width:520px){ .vita__header{ flex-direction: column; text-align: center; } .vita__photo{ margin-bottom: 10px; } .vita__tl{ padding-left: 24px; } .vita__line{ left:10px; } .vita__dot{ left:-24px; } } /* ---- VITA ENDE-----*/ /* ---- Denis Traber-----*/ .trainer { max-width: 880px; margin: 60px auto; padding: 0 20px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; color: #111827; } .trainer__card { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: #ffffff; border: 1px solid #e5e7eb; border-left: 6px solid var(--brand-primary); border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,0.05); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; } .trainer__card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); } /* Foto */ .trainer__photo { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; border: 3px solid var(--brand-primary); box-shadow: 0 4px 12px rgba(0,0,0,0.12); background-size: cover; background-position: 50% 35%; background-repeat: no-repeat; } .trainer__content { flex: 1 1 300px; } .trainer__name { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; } .trainer__subtitle { color: var(--brand-primary); font-weight: 600; margin-bottom: 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; } .trainer__bio { color: #374151; line-height: 1.7; font-size: 1.05rem; margin: 0; } @media (max-width:620px){ .trainer__card { flex-direction: column; text-align: center; } .trainer__photo { margin-bottom: 12px; } } /* ---- Denis Traber ENDE-----*/
 /* ---- Video Anfang-----*/ 
/* ---- Video Ende-----*/
/* ---- FDM Kurs-----*/
/* ==== FDM Kurskarten Layout ==== */
.fdm-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -12px; /* Negativer Rand für gleichmäßige Abstände */
}

/* Jede Karte */
.fdm-card {
  flex: 1 1 100%;              /* Standard: 1 Spalte */
  margin: 12px;                /* Abstand zwischen den Karten */
  background-color: #ffffff;   /* Hintergrund */
  border-radius: 12px;         /* abgerundete Ecken */
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Hover-Effekt */
.fdm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

/* Überschrift & Text */
.fdm-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #111827;
}

.fdm-card p {
  margin: 0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
}

/* Ab 768px → 2 Spalten */
@media (min-width: 768px) {
  .fdm-card {
    flex: 1 1 calc(50% - 24px);
  }
}

/* Ab 1100px → 3 Spalten */
@media (min-width: 1100px) {
  .fdm-card {
    flex: 1 1 calc(33.333% - 24px);
  }
}

/* Optional: dunkler Modus */
body.dark-mode .fdm-card {
  background-color: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
fdm-head {
  margin-bottom: 32px;
  text-align: center;
}

.fdm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.fdm-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.fdm-head h2 {
  margin-top: 16px;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #111827;
}

.fdm-head p {
  margin: 0 auto;
  max-width: 700px;
  color: #374151;
  line-height: 1.6;
}

/* ==== FDM Timeline ==== */
.fdm-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
  padding-left: 10px;
  border-left: 3px solid var(--brand-primary);
  position: relative;
}

.fdm-step {
  position: relative;
  padding-left: 24px;
}

.fdm-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0;
  padding-left: 14px;
  border-left: 3px solid var(--brand-primary);   /* vertikale Linie */
  position: relative;
}

/* einzelne Schritte */
.fdm-step {
  position: relative;
  padding-left: 28px;
}

/* runder Punkt mit Glow-Effekt */
.fdm-step::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--brand-primary) 0%, var(--brand-primary-dark) 70%);
  box-shadow: 0 0 0 6px rgba(var(--brand-primary-rgb), 0.25),
              0 0 12px rgba(var(--brand-primary-rgb), 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* sanfter Hover-Effekt auf den Punkt */
.fdm-step:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(var(--brand-primary-rgb), 0.25),
              0 0 16px rgba(var(--brand-primary-rgb), 0.45);
}

/* Überschrift */
.fdm-step h4 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

/* Beschreibungstext */
.fdm-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
}
/* Ende FDM */
/* Start Dry Neddling */
/* ===== DRY NEEDLING – ohne CSS-Variablen ===== */
.dryn {
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  padding: 48px 24px;
  border-radius: 18px;
  color: #0f172a; /* text */
}

/* Hero */
.dryn-hero { text-align:center; max-width:1000px; margin:0 auto 28px; }
.dryn-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:999px;
  background: rgba(var(--brand-primary-rgb),0.08);
  color:var(--brand-primary); font-weight:700; font-size:12px; letter-spacing:.5px;
  border:1px solid rgba(var(--brand-primary-rgb),0.25);
}
.dryn-badge .dot{
  width:8px; height:8px; border-radius:50%; background:var(--brand-primary);
  box-shadow:0 0 0 4px rgba(var(--brand-primary-rgb),.15);
}
.dryn h2{ margin:14px 0 10px; font-size:clamp(28px,4.2vw,42px); line-height:1.1; }
.dryn p.lead{ margin:0 auto; color:#475569; max-width:70ch; font-size:clamp(15px,1.6vw,18px); line-height:1.7; }

/* Highlight-Karte */
.dryn-highlight{
  max-width:1100px; margin:28px auto 36px; background:#ffffff;
  border:1px solid rgba(15,23,42,.06); border-left:6px solid var(--brand-primary);
  border-radius:14px; padding:18px 20px; box-shadow:0 10px 24px rgba(2,6,23,.06);
}
.dryn-highlight h3{ margin:0 0 6px; font-size:1.15rem; color:var(--brand-primary); }
.dryn-highlight p{ margin:0; color:#0f172a; }
.dryn-highlight em{ color:#475569; }

/* Timeline (vertikal mobil) */
.dryn-timeline{
  position:relative; max-width:1100px; margin:0 auto;
  padding-left:14px; border-left:3px solid var(--brand-primary);
  display:flex; flex-direction:column; gap:20px;
}
.dryn-step{
  position:relative; padding-left:64px; background:#ffffff;
  border:1px solid rgba(15,23,42,.06); border-radius:14px;
  box-shadow:0 8px 22px rgba(2,6,23,.05);
  padding-top:16px; padding-bottom:16px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.dryn-step:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(2,6,23,.09); }

/* Jahres-Badge */
.dryn-year{
  position:absolute; left:-9px; top:16px;
  width:38px; height:38px; border-radius:50%;
  background: radial-gradient(circle at 35% 35%, var(--brand-accent), var(--brand-primary));
  color:#fff; display:grid; place-items:center; font-weight:800; font-size:12px; letter-spacing:.4px;
  box-shadow:0 0 0 6px rgba(var(--brand-primary-rgb),.22), 0 6px 16px rgba(var(--brand-primary-rgb),.35);
}
.dryn-step h4{ margin:0 0 6px; font-size:1.05rem; color:#0f172a; }
.dryn-step p{ margin:0; color:#475569; line-height:1.65; }

/* Desktop: zwei Spalten (nur Flex) */
@media (min-width:900px){
  .dryn-timeline{ border-left:0; padding-left:0; }
  .dryn-rows{ display:flex; flex-wrap:wrap; gap:20px; }
  .dryn-step{ flex:1 1 calc(50% - 10px); padding-left:64px; }
  .dryn-step .dryn-year{ left:12px; }
}
/* VideoLogo */
/* ===== BRAND CONTAINER ===== */

/* Default: klein (für alle Folge-Seiten) */
.brand{
  position: relative;
  display:flex;
  align-items:center;
  width: 250px;

  /* FIX: verhindert “Balken/Überstände” bei Video/Scaling */
  overflow: hidden;
}

/* Default: Logo sichtbar, Video aus */
.brand__image{
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  position: relative;
}

/* Video default */
.brand__video{
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;

  /* FIX: manche Browser rendern leere Fläche sonst schwarz */
  background: transparent;
}

/* NUR wenn Intro noch nicht gespielt wurde */
html:not(.brand-intro-done) .brand{
  width: 500px;
}

/* Intro: Video sichtbar */
html:not(.brand-intro-done) .brand__video{
  opacity: 1;
  pointer-events: auto;

  /* Du hattest hier relative – ok, aber dann inset resetten */
  position: relative;

  /* FIX: inset:0 wirkt sonst auch bei relative -> kann Artefakte erzeugen */
  inset: auto;

  /* FIX: statt contain -> keine Letterbox-Balken */
  object-fit: cover;
}

/* Intro: Bild ausblenden */
html:not(.brand-intro-done) .brand__image{
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Transitions NUR fürs Intro erlauben */
html:not(.brand-intro-done) .brand,
html:not(.brand-intro-done) .brand__video,
html:not(.brand-intro-done) .brand__image{
  transition: width 1s ease, opacity 0.8s ease, transform 0.8s ease;
}

/* Wenn Intro fertig: klein + Logo sichtbar */
html:not(.brand-intro-done) .brand.brand--finished{
  width: 200px;
}
html:not(.brand-intro-done) .brand.brand--finished .brand__video{
  opacity: 0;
  pointer-events: none;
}
html:not(.brand-intro-done) .brand.brand--finished .brand__image{
  opacity: 1;
}

/* ===== HARD OVERRIDE NUR FÜR MOBIL ===== */
@media (max-width: 1024px), (pointer: coarse) {

  /* Breite des Logos mobil */
  .brand {
    width: 280px !important;
    min-width: 280px !important;
    flex: 0 0 auto !important;
  }

  /* Baseline/Inline-Gaps killen */
  .brand__link {
    display: flex !important;
    align-items: center !important;
    line-height: 0 !important;
  }

  .brand__image,
  .brand__video {
    display: block !important;
  }

  /* Auf Mobil: Video wirklich raus */
  html.brand-intro-done .brand__video {
    display: none !important;
  }

  /* Und Bild sauber im Layout (kein absolute/transform) */
  html.brand-intro-done .brand__image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
}

@media (max-width: 1024px), (pointer: coarse) {
  html:not(.brand-intro-done) .brand {
    width: 280px !important;   /* Video läuft, aber klein */
  }

  html.brand-intro-done .brand {
    width: 200px !important;   /* danach Logo klein */
  }
}

.course-image.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kurs-float-btn{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 999px;
  background: #001440;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* =====================================================
   Globale Links, Divi-Buttons und Contact Form 7
   Grau als Grundfarbe, Orange als Hover-/Aktivfarbe
   ===================================================== */

/* Links im Inhaltsbereich */
#page-container main a:not(.et_pb_button):not(.course-btn):not(.kurs-float-btn),
#page-container .et_pb_text a {
  color: var(--brand-primary);
  text-decoration-color: rgba(var(--brand-primary-rgb), .45);
  transition: color .2s ease, text-decoration-color .2s ease;
}

#page-container main a:not(.et_pb_button):not(.course-btn):not(.kurs-float-btn):hover,
#page-container main a:not(.et_pb_button):not(.course-btn):not(.kurs-float-btn):focus,
#page-container .et_pb_text a:hover,
#page-container .et_pb_text a:focus {
  color: var(--brand-accent);
  text-decoration-color: var(--brand-accent);
}

/* Divi-Buttons */
html body #page-container .et_pb_button,
html body #page-container button.et_pb_button,
html body #page-container input.et_pb_button {
  background-color: var(--brand-primary) !important;
  background-image: none !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  -webkit-text-fill-color: var(--brand-white) !important;
  box-shadow: none;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

html body #page-container .et_pb_button:hover,
html body #page-container .et_pb_button:focus,
html body #page-container .et_pb_button:active,
html body #page-container button.et_pb_button:hover,
html body #page-container button.et_pb_button:focus,
html body #page-container input.et_pb_button:hover,
html body #page-container input.et_pb_button:focus {
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  -webkit-text-fill-color: var(--brand-white) !important;
}

/* Contact Form 7 Submit – Desktop und Mobil */
html body #page-container .wpcf7 form input[type="submit"],
html body #page-container .wpcf7 form input[type="submit"].et_pb_button,
html body #page-container .wpcf7 form button,
html body #page-container .wpcf7 form button.et_pb_button {
  background: var(--brand-primary) !important;
  background-color: var(--brand-primary) !important;
  background-image: none !important;
  border: 2px solid var(--brand-primary) !important;
  color: var(--brand-white) !important;
  -webkit-text-fill-color: var(--brand-white) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

html body #page-container .wpcf7 form input[type="submit"]:hover,
html body #page-container .wpcf7 form input[type="submit"]:focus,
html body #page-container .wpcf7 form input[type="submit"]:active,
html body #page-container .wpcf7 form button:hover,
html body #page-container .wpcf7 form button:focus,
html body #page-container .wpcf7 form button:active {
  background: var(--brand-accent) !important;
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  -webkit-text-fill-color: var(--brand-white) !important;
}

/* Orange Fokusmarkierung für Tastaturbedienung */
a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.et_pb_button:focus-visible {
  outline: 3px solid rgba(var(--brand-accent-rgb), .35);
  outline-offset: 3px;
}

