/* ============================================
   Antje Hubacz – Gedächtnistraining
   Gemeinsames Stylesheet für alle Seiten
   ============================================ */

:root {
  --rose-deep: #8a2c46;
  --rose: #b14164;
  --rose-soft: #f6dbe3;
  --rose-bg: #fdf6f8;
  --cream: #faf7f4;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e9d8de;
  --shadow: 0 6px 24px rgba(138, 44, 70, 0.08);
  --shadow-strong: 0 12px 40px rgba(138, 44, 70, 0.14);
  --radius: 10px;
  --max-w: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: Arial, sans-serif;
  color: var(--rose-deep);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

main h4 {
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--rose-deep);
  margin: 1.4em 0 0.4em;
  font-weight: 600;
}

.legal h2 {
  margin-top: 1.2em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid var(--rose-soft);
}

.legal h3 {
  margin-top: 1.6em;
  color: var(--ink);
  font-size: 1.15rem;
}

.legal ul {
  padding-left: 1.4em;
}

.legal ul li {
  margin-bottom: 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--rose); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-deep); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.brand-logo {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  color: var(--rose-deep);
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.navbar a {
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.97rem;
  transition: background .2s, color .2s;
}

.navbar a:hover {
  background: var(--rose-soft);
  color: var(--rose-deep);
  text-decoration: none;
}

.navbar a.active {
  background: var(--rose);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--rose-bg) 0%, #fff 100%);
  padding: 70px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  display: inline-block;
  background: var(--rose-deep);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin: 0 0 1.2em;
  box-shadow: var(--shadow-strong);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3em;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 1.5em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.2em;
}

.badge {
  background: #fff;
  color: var(--rose-deep);
  border: 1px solid var(--rose-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.badge-highlight {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
  font-weight: 600;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
}

section { margin-bottom: 60px; }
section:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 760px;
}

.lead-wide {
  max-width: none;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.card h3 {
  margin-top: 0;
  color: var(--rose-deep);
}

.card .meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.6em;
  display: block;
}

/* ---------- Course (Aktuelles) ---------- */
.course {
  background: #fff;
  border-left: 4px solid var(--rose);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.course h3 {
  margin-top: 0;
  margin-bottom: 0.3em;
}

.course .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.course .course-meta span::before {
  content: "•";
  margin-right: 8px;
  color: var(--rose);
}

.course .course-meta span:first-child::before { content: ""; margin: 0; }

.course .organizer {
  font-weight: 600;
  color: var(--ink);
}

.btn {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 10px;
  transition: background .2s;
}

.btn:hover {
  background: var(--rose-deep);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--rose-deep);
  border: 1.5px solid var(--rose);
}

.btn-outline:hover {
  background: var(--rose);
  color: #fff;
}

/* ---------- Profile (Über mich) ---------- */
.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.profile img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.profile-info p:first-of-type {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .profile { grid-template-columns: 1fr; }
  .profile img { max-width: 280px; margin: 0 auto; }
}

/* ---------- Lists ---------- */
.qual-list, .press-list, .records-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.qual-list li, .records-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.qual-list li::before, .records-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: bold;
}

.qual-list li:last-child, .records-list li:last-child { border-bottom: none; }

.press-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.press-list li:last-child { border-bottom: none; }

.press-list .date {
  display: inline-block;
  min-width: 110px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Highlight box ---------- */
.highlight {
  background: var(--rose-bg);
  border: 1px solid var(--rose-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}

.highlight h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-item .label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-item .value {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--rose-deep);
  color: #f3dfe5;
  padding: 50px 24px 25px;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h4 {
  font-family: Arial, sans-serif;
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.site-footer a { color: #f3dfe5; }
.site-footer a:hover { color: #fff; }

.site-footer p { margin: 0 0 6px; font-size: 0.95rem; }

.copyright {
  max-width: var(--max-w);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: #e0bcc6;
  text-align: center;
}

/* ---------- Price table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.price-table tr:last-child td { border-bottom: none; }

.price-table td.price {
  font-weight: 600;
  color: var(--rose-deep);
  white-space: nowrap;
}

/* ---------- Impressionen / Gallery ---------- */
.gallery-section { margin-bottom: 50px; }

.gallery-section h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-section h2 .year {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  aspect-ratio: 4 / 3;
}

.gallery-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--rose-soft);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-top: 8px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.video-link::before {
  content: "▶";
  color: var(--rose);
  font-size: 0.9rem;
}

.video-link:hover { text-decoration: none; background: var(--rose-bg); }

/* ---------- Custom gallery layouts ---------- */
.gallery-mumbai,
.gallery-paderborn,
.gallery-lund {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row dense;
}

/* Mumbai: image 6 spans both rows on the right, double size */
.gallery-mumbai .cell-big {
  grid-row: span 2;
  grid-column: 3;
  aspect-ratio: auto;
}
.gallery-mumbai .cell-big img { height: 100%; }

/* Mumbai: image 1 was upside down → rotate 180° */
.cell-rotated img { transform: rotate(180deg); }

/* Mumbai: image 6 head was cut off → keep head (top of image) visible */
.cell-head-top img { object-position: center top; }

/* Paderborn 2025: image 1 cut off + double height → contain + 2 rows */
.gallery-paderborn .cell-tall {
  grid-row: span 2;
  grid-column: 1;
  aspect-ratio: auto;
}
.gallery-paderborn .cell-tall img { height: 100%; }

/* 90°-Drehung im Uhrzeigersinn — object-fit: contain, damit das ganze
   Bild sichtbar bleibt und nichts (z. B. Kopf) abgeschnitten wird.
   Resultiert in dünnen Hintergrund-Rändern, sieht aber sauber aus. */
.cell-straighten img,
.cell-rotate-right img {
  object-fit: contain;
  transform: rotate(90deg);
  transform-origin: center;
  background: var(--cream);
}

/* Paderborn 2025: image 4 spans two columns below 2 & 3, double width */
.gallery-paderborn .cell-wide {
  grid-column: 2 / span 2;
}

/* Lund: image 4 spans two columns below 2 & 3, double length.
   aspect-ratio 8:3 → gleiche Zeilenhöhe wie das Schneemann-Bild
   (Bild 5) links daneben. object-fit: cover füllt die Zelle ohne
   weiße Ränder; object-position 50% 35% hält Köpfe & Pokale im
   sichtbaren Mittelbereich. */
.gallery-lund .cell-wide {
  grid-column: 2 / span 2;
  aspect-ratio: 8 / 3;
}
.gallery-lund .cell-wide img {
  object-fit: cover;
  object-position: 50% 35%;
}

/* Generic: show full image (no cropped canvas) */
.cell-fit-contain img {
  object-fit: contain;
  background: #fff;
}

/* Generic: zoom in to crop away white canvas — vom oberen Bildrand aus
   skalieren, damit Köpfe/Statuen oben nicht abgeschnitten werden. */
.cell-fit-cover img {
  object-fit: cover;
  object-position: center top;
  transform: scale(1.55);
  transform-origin: center top;
}

@media (max-width: 720px) {
  .gallery-mumbai,
  .gallery-paderborn,
  .gallery-lund {
    grid-template-columns: 1fr;
  }
  .gallery-mumbai .cell-big,
  .gallery-paderborn .cell-tall,
  .gallery-paderborn .cell-wide,
  .gallery-lund .cell-wide {
    grid-row: auto;
    grid-column: auto;
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 40px 20px; }
  .header-inner { padding: 14px 18px; }
  .brand-name { font-size: 1.2rem; }
  .brand-logo { width: 84px; height: 84px; }
  .brand { gap: 10px; }
  .navbar a { padding: 8px 12px; font-size: 0.9rem; }
}
