/*
 * Eigene Ergänzungen zu Lumia für ralfulbig.de
 * (lumia.css = main.css des Templates, bleibt unverändert, damit Template-Updates einfach bleiben)
 */

/* ---------- Grundlagen ---------- */
.hero-klein {
  min-height: 45vh;
}

.hero-klein h2 {
  font-size: 44px;
}

.hero p {
  font-size: 22px;
}

.header .logo h1 {
  font-size: 26px;
}

/* ---------- Startseite ---------- */
.what-we-do .icon-box-link {
  color: var(--default-color);
  transition: 0.3s;
}

.what-we-do .icon-box-link:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  color: var(--default-color);
}

.what-we-do .icon-box-link h4 {
  margin-bottom: 12px;
}

.doris-box {
  background: var(--surface-color, #fff);
  border-left: 4px solid var(--accent-color);
  padding: 24px;
  border-radius: 6px;
}

.doris-bild {
  object-position: center top;
  width: 180px;
  height: 222px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ---------- Handlungsaufruf ---------- */
.aufruf {
  padding: 70px 0;
}

.aufruf h3 {
  font-size: 28px;
  font-weight: 700;
}

.aufruf p {
  max-width: 680px;
  margin: 10px auto 0 auto;
}

.aufruf-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 36px;
  border-radius: 4px;
  border: 2px solid var(--accent-color);
  background: var(--accent-color);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  transition: 0.3s;
}

.aufruf-btn:hover {
  background: transparent;
  color: #fff;
}

.aufruf-btn-dunkel:hover {
  color: var(--accent-color);
}

/* ---------- Zeitleiste ---------- */
.zeitleiste-liste {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
  position: relative;
}

.zeitleiste-liste::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.zeitleiste-eintrag {
  display: flex;
  gap: 40px;
  padding-bottom: 28px;
  position: relative;
}

.zeitleiste-eintrag::before {
  content: "";
  position: absolute;
  left: 124px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.zeitleiste-zeit {
  flex: 0 0 110px;
  text-align: right;
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--heading-font);
}

.zeitleiste-inhalt h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.zeitleiste-inhalt p {
  margin: 0;
}

@media (max-width: 575px) {
  .zeitleiste-liste::before { left: 6px; }
  .zeitleiste-eintrag { flex-direction: column; gap: 4px; padding-left: 32px; }
  .zeitleiste-eintrag::before { left: 0; }
  .zeitleiste-zeit { flex: none; text-align: left; }
}

/* ---------- Zertifikate (Info-Kästen) ---------- */
.zertifikate .info-item {
  background: var(--surface-color, #fff);
  padding: 24px;
  border-radius: 6px;
  height: 100%;
}

.zertifikate .info-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-right: 18px;
}

.zertifikate .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ---------- Kampfkunst ---------- */
.standort {
  text-align: center;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 18px;
}

.standort i {
  color: var(--accent-color);
}

/* ---------- Fluggebiete ---------- */
.gebiet {
  text-align: center;
  padding: 26px 18px;
  border-radius: 8px;
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  height: 100%;
  transition: 0.3s;
}

.gebiet:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.gebiet i {
  font-size: 28px;
  color: var(--accent-color);
}

.gebiet h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 2px 0;
}

.gebiet span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* ---------- Videos (Zwei-Klick) ---------- */
.video-box {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d222d, #2f5f8a);
}

.video-box iframe {
  border: 0;
}

.video-zustimmung {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.video-zustimmung strong {
  font-family: var(--heading-font);
  font-size: 18px;
}

.video-zustimmung small {
  opacity: 0.85;
  max-width: 340px;
}

.video-zustimmung a {
  color: #fff;
  text-decoration: underline;
}

.video-laden {
  background: none;
  border: 0;
  color: #fff;
  font-size: 56px;
  line-height: 1;
  transition: transform 0.3s;
}

.video-laden:hover {
  transform: scale(1.12);
}

.video-platzhalter .video-zustimmung i {
  font-size: 44px;
  opacity: 0.7;
}

.video-text {
  margin: 10px 0 0 0;
  font-size: 15px;
}

/* ---------- Rechtliches ---------- */
.rechtliches h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
}

.rechtliches h2:first-child {
  margin-top: 0;
}

/* ---------- Fehlerseiten (403 / 404) ---------- */
.fehlerseite {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.fehler-icon i {
  font-size: 90px;
  color: var(--accent-color);
  display: inline-block;
  animation: wackeln 2.5s ease-in-out infinite;
}

.fehler-code {
  font-family: var(--heading-font);
  font-size: 18px;
  letter-spacing: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 10px 0 0 0;
}

.fehlerseite h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 6px 0 16px 0;
}

.fehler-tipp {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

@keyframes wackeln {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fehler-icon i { animation: none; }
}

/* Button auf hellem Hintergrund */
.light-background .aufruf-btn:hover {
  color: var(--accent-color);
}

/* ---------- Zitate (Scrum) ---------- */
.zitat {
  margin: 0;
  height: 100%;
  padding: 30px;
  border-radius: 8px;
  background: color-mix(in srgb, #ffffff, transparent 94%);
  border: 1px solid color-mix(in srgb, #ffffff, transparent 85%);
}

.zitat i {
  font-size: 36px;
  color: var(--accent-color);
  line-height: 1;
}

.zitat blockquote {
  font-size: 18px;
  font-style: italic;
  margin: 10px 0 16px 0;
}

.zitat figcaption {
  font-size: 14px;
  opacity: 0.75;
}

/* ---------- Golf ---------- */
.golf-bild {
  width: 220px;
  height: 165px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Vergrößerbares Bild (GLightbox) */
.golf-bild-link {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.golf-bild-link i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  color: #fff;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.golf-bild-link:hover i {
  background: var(--accent-color);
}

/* Externer Link in Icon-Listen */
.about .about-content h4 a {
  color: var(--heading-color);
}

.about .about-content h4 a:hover {
  color: var(--accent-color);
}

.about .about-content ul h4 a i.link-icon {
  display: inline;
  width: auto;
  height: auto;
  font-size: 12px;
  color: var(--accent-color);
  background: none;
  margin: 0 0 0 2px;
  line-height: inherit;
  border-radius: 0;
}

/* ---------- Gleich hohe Kacheln je Zeile ----------
   Bootstrap-Spalten einer Zeile sind bereits gleich hoch (Flexbox);
   hier füllen die Kästen die Spalte vollständig aus. */
.services .row > [class*="col-"] {
  display: flex;
}

.services .service-item {
  width: 100%;
  height: calc(100% - 36px); /* Lumia setzt margin-top: 36px für das überstehende Icon */
}

.what-we-do .why-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.what-we-do .row .row > [class*="col-"] {
  display: flex;
}

.zertifikate .row > [class*="col-"],
.fluggebiete .row > [class*="col-"],
.zitate .row > [class*="col-"],
.standorte .row > [class*="col-"] {
  display: flex;
}

.zertifikate .info-item,
.gebiet,
.zitat,
.standort {
  width: 100%;
}

/* ---------- Wegweiser am Seitenende (vorlagen/teile/wegweiser.php) ---------- */
.wegweiser {
  padding: 40px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.wegweiser-titel {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.wegweiser-kachel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 14px 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 6px;
  background: var(--surface-color, #fff);
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}

.wegweiser-kachel i {
  font-size: 20px;
  color: var(--accent-color);
  transition: 0.3s;
}

.wegweiser-kachel:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color, #fff);
  transform: translateY(-2px);
}

.wegweiser-kachel:hover i {
  color: var(--contrast-color, #fff);
}

/* ---------- Hell/Dunkel-Schalter im Kopf ---------- */
.modus-schalter {
  background: none;
  border: 0;
  padding: 0 0 0 16px;
  color: var(--nav-color);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.modus-schalter:hover,
.modus-schalter:focus-visible {
  color: var(--accent-color);
}
@media (max-width: 1199px) {
  .modus-schalter { padding: 0 12px 0 0; order: 2; }
  .header .navmenu { order: 3; }
}
