:root {
  --ernaehrung: #aab482;
  --pilates: #3296b4;
  --stretching: #f0a082;

  --ivory: #f5f0e6;
  --sand: #e6d7be;
  --grey: #787878;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--grey);
}

/* Background helper */
.bg-ivory {
  background: var(--ivory) !important;
}

.bg-sand {
  background: var(--sand) !important;
}

/* Logo sizes */
.logo-lg {
  width: min(280px, 70vw);
  height: auto;
}

.logo-sm {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Tiles */
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border-radius: 14px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.tile:hover,
.tile:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.tile-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
}

.tile-ernaehrung {
  background: var(--ernaehrung);
  color: #fff;
}

.tile-pilates {
  background: var(--pilates);
  color: #fff;
}

.tile-stretching {
  background: var(--stretching);
}

/* Sections */
.section-block {
  padding: 28px 0;
}

.section-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  background: var(--ivory);
}

/* Wrapper für das Bild */
.section-media {
  width: 100%;
}

/* Mobile: normale Bildhöhe (stapelt sich sowieso) */
.section-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Desktop (lg+): Bild MUSS exakt die Card-/Row-Höhe füllen */
@media (min-width: 992px) {
  .section-card > [class*="col-"] {
    height: 100%;
  }

  .section-media {
    height: 100%;
  }

  .section-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.section-content {
  padding: 22px;
}

/* Content pages (Über mich / Impressum) */
.content-box {
  background: var(--ivory);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* ===== Abschnittsfarben nur innerhalb der Card ===== */

/* ================== Vollflächiger Farbverlauf hinter Bild + Text ================== */

/* Ernährungsprävention – grün */
.card-ernaehrung {
  background: radial-gradient(
    circle at center,
    rgba(170, 180, 130, 0.4), 
    rgba(170, 180, 130, 0.1)  
  );
  border-left: 8px solid var(--ernaehrung);
  border-radius: 16px;
  overflow: hidden;
}

/* Pilates – blau */
.card-pilates {
  background: radial-gradient(
    circle at center,
    rgba(50, 150, 180, 0.2), 
    rgba(50, 150, 180, 0.05) 
  ),
  var(--ivory);
  border-left: 8px solid var(--pilates);
  border-radius: 16px;
  overflow: hidden;
}

/* Assisted Stretching – orange/rot */
.card-stretching {
  background: radial-gradient(
    circle at center,
    rgba(240, 160, 130, 0.4), 
    rgba(240, 160, 130, 0.1) 
  );
  border-left: 8px solid var(--stretching);
  border-radius: 16px;
  overflow: hidden;
}

/* Überschriften einheitlich */
.section-content h2 {
  color: var(--grey);
  font-weight: 600;
}
  
/* ==== Über mich ==== */
.section-title-list {
  font-weight:bold;  
}

/* Portrait rechts */
.portrait-img {
  width: 80%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  display: block;
  margin-left: auto; /* schiebt Bild nach rechts */
}

/* Größere Zertifikate */
.certificate {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.certificate:hover {
  transform: scale(1.05);
}