/* ==========================================================================
   Learn2learn-Onlinekongress – Hugo-Theme
   Farben und Typografie nach dem Original
   ========================================================================== */

:root {
  --orange: #f7941e;
  --orange-hell: #f9a94a;
  --orange-dunkel: #e07b0c;
  --rot: #7d1f2b;
  --rot-hell: #96303c;
  --rot-text: #8c3a3f;
  --gold: #df9f3c;
  --creme: #fdf2e0;
  --creme-dunkel: #f8e7cc;
  --grau: #efefef;
  --text: #2e2e33;
  --text-hell: #5b5b62;
  --weiss: #ffffff;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(80, 40, 10, 0.13);
  --breite: 1180px;
  --font: "Mulish", "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: inherit;
}

p { margin: 0 0 1em; }

a { color: var(--rot); }

.container {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 10px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--weiss);
}

.brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }

.brand span {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.site-nav { display: flex; align-items: center; gap: 20px; }

.site-nav a {
  color: var(--weiss);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.site-nav a:hover { text-decoration: underline; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 0;
  background:
    linear-gradient(180deg, rgba(247,148,30,0.35), rgba(233,124,10,0.55)),
    url("/img/Banner-Hintergrund-Landingpage-scaled.jpeg") center/cover no-repeat;
}

.hero .container { position: relative; z-index: 2; }

.hero-card {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 30px 34px 0;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 34px;
  align-items: start;
}

.hero-text { text-align: center; padding-top: 6px; }

.hero-text h1 {
  color: var(--orange);
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: 0.45em;
}

.hero-text .lead {
  font-size: 0.98rem;
  color: #3a3a40;
  margin-bottom: 1.4em;
}

.hero-media { text-align: center; }

.hero-media .kongress-bild {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}

.hero-media .hotel-intro h2 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35em;
  color: #26262b;
}

.hero-media .hotel-intro p {
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 0.7em;
  color: #3a3a40;
}

.hero-media .hotel-intro .einchecken {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Anmeldeblock im Hero (Knopf fuehrt zur externen Anmeldung) */
.anmelde-block {
  grid-column: 1 / -1;
  border-top: 1px solid #eee;
  margin-top: 6px;
  padding: 18px 0 4px;
  text-align: center;
}

.anmelde-block .kleingedruckt {
  font-size: 0.62rem;
  line-height: 1.5;
  color: #77777e;
  text-align: left;
  margin: 10px 0 0;
}

.anmelde-block .tipp {
  font-size: 0.62rem;
  line-height: 1.5;
  color: #77777e;
  text-align: left;
  margin: 6px 0 14px;
}

/* Wellenabschluss */
.hero-welle {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 18px;
}

/* ---------- Häkchenliste ---------- */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%237d1f2b' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center/contain;
}

/* ---------- Anmeldeband ---------- */
.cta-band {
  background: var(--rot);
  color: #fff;
  border-radius: 18px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 11px 24px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(90, 20, 30, 0.22);
  position: relative;
  z-index: 5;
  display: block;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
}

.cta-band a, .cta-band button, .cta-band input[type="submit"] {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  text-transform: uppercase;
  display: block;
  background: none;
  border: 0;
  width: 100%;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}

.cta-band:hover { background: var(--rot-hell); }

/* Anmeldeband als reiner Link */
a.cta-band {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.cta-wrap { padding: 0 24px; }
.cta-wrap.spaced { margin: 44px 0; }

/* ---------- Abschnitte ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 42px 0 30px; }
.section.creme { background: var(--creme); }
.section.grau { background: #f7f7f8; }

.section-title {
  text-align: center;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #26262b;
}

/* Intro-Karte */
.intro-card {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 26px;
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 30px;
  align-items: start;
}

.intro-card figure { margin: 0; }
.intro-card figure img { border-radius: 8px; width: 100%; }

.intro-text h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #26262b;
  margin-bottom: 0.6em;
}

.intro-text p { font-size: 0.88rem; line-height: 1.6; }

.intro-text .fazit { font-weight: 700; }

/* Willkommen */
.prose {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.65;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.9em;
  color: #1f1f24;
}

.prose p { margin-bottom: 1.05em; }

.prose strong { font-weight: 700; }

.willkommen-schluss {
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  max-width: 860px;
  margin: 34px auto 0;
  line-height: 1.5;
}

/* Zielgruppen */
.ziel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 40px;
}

.ziel figure { margin: 0; }
.ziel figure img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.ziel .ziel-text { text-align: center; }

.ziel .label {
  display: block;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.76rem;
  margin-bottom: 12px;
  text-align: left;
}

.ziel h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.3em;
}

.ziel .lead { font-weight: 600; font-size: 0.95rem; }

.ziel .checks { text-align: left; margin-top: 1.1em; }
.ziel .checks li { font-size: 0.9rem; }

.ziel-fazit {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 auto 56px;
  line-height: 1.5;
}

/* Zitatband */
.quote-band {
  background: var(--creme);
  padding: 34px 0 30px;
}

.quote-band .label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 12px;
  color: #4a4a50;
}

.quote-band blockquote {
  margin: 0 0 10px;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 1080px;
  color: var(--rot-text);
}

.quote-band .who { font-size: 0.85rem; color: #4a4a50; }

/* Hotel */
.hotel-card {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 36px 40px 30px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hotel-card h2 {
  color: var(--rot);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.hotel-card h3 {
  color: var(--rot);
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 1.1em;
}

.hotel-card p {
  color: var(--rot-text);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 0.9em;
}

.hotel-card .tueren p { margin-bottom: 0.85em; }

/* Raster: Hotel-Räume */
.rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 18px;
}

.room {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.room img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.18s ease;
}

.room:hover img { transform: translateY(-3px); }

.room .band {
  background: var(--orange);
  color: #fff;
  border-radius: 3px;
  margin: -18px 10px 0;
  padding: 7px 6px 6px;
  position: relative;
  z-index: 2;
}

.room .band strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.room .band span {
  display: block;
  font-size: 0.64rem;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.96;
}

/* Raster: Experten */
.experts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 18px;
}

.expert { text-align: center; }

.expert img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
}

.expert .band {
  background: var(--rot);
  color: #fff;
  border-radius: 2px;
  margin: -14px 8px 8px;
  padding: 5px 6px;
  position: relative;
  z-index: 2;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.expert .band::before { content: "☞ "; }

.expert p {
  font-size: 0.68rem;
  line-height: 1.45;
  color: #3f3f45;
  margin: 0;
}

/* Tipps */
.tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.tip {
  background: var(--weiss);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  padding: 14px 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  font-size: 0.9rem;
}

.tip strong { display: block; margin-bottom: 2px; }
.tip span { color: var(--text-hell); }

/* Stimmen */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice {
  background: var(--weiss);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.voice p { font-style: italic; font-size: 0.85rem; line-height: 1.6; }

.voice .who {
  font-style: normal;
  font-weight: 700;
  color: var(--rot);
  margin-top: 8px;
  display: block;
  font-size: 0.85rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  align-items: start;
}

.faq-item {
  background: var(--grau);
  border-radius: 4px;
  padding: 9px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--rot);
  font-size: 0.78rem;
  line-height: 1.45;
  list-style: none;
  position: relative;
  padding-right: 18px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -1px;
  color: #6b6b72;
  font-size: 0.9rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .answer {
  padding-top: 8px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #3f3f45;
}

/* ---------- Fuß ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--orange-hell), var(--orange));
  color: #fff;
  padding: 26px 0 22px;
  text-align: center;
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 10px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.site-footer a:hover { text-decoration: underline; }

.site-footer .copy { font-size: 0.78rem; opacity: 0.95; margin: 0; }

/* ---------- Anmeldeseite ---------- */
.page-header {
  background: linear-gradient(180deg, var(--orange-hell), var(--orange));
  padding: 96px 0 40px;
  text-align: center;
  color: #fff;
}

.page-header h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: 0.2em; }
.page-header p { font-size: 0.95rem; margin: 0; opacity: 0.95; }

.page-body { padding: 48px 0 64px; }

.inhaltsseite { max-width: 900px; font-size: 0.92rem; }
.inhaltsseite h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #e6e6ea;
}
.inhaltsseite h2:first-child { margin-top: 0; }
.inhaltsseite h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}
.inhaltsseite p { margin-bottom: 0.8em; }
.inhaltsseite ul { margin: 0 0 0.9em 1.2em; list-style: disc; }
.inhaltsseite li { margin-bottom: 0.3em; }
.inhaltsseite a { color: var(--rot); }
.inhaltsseite img, .inhaltsseite iframe, .inhaltsseite video { max-width: 100%; }
.inhaltsseite img { height: auto; }
.inhaltsseite table { display: block; width: 100%; overflow-x: auto; }
.inhaltsseite p, .inhaltsseite li, .inhaltsseite h1, .inhaltsseite h2, .inhaltsseite h3, .inhaltsseite h4 { overflow-wrap: break-word; }
.inhaltsseite { overflow-wrap: anywhere; }
.inhaltsseite pre, .inhaltsseite code { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.inhaltsseite [style*="width"] { max-width: 100%; }

/* Altinhalte ohne .inhaltsseite (Thrive-Markup) ebenfalls einpassen */
.page-body { overflow-wrap: anywhere; }
.page-body img, .page-body svg, .page-body iframe, .page-body video { max-width: 100% !important; }
.page-body img { height: auto; }
.page-body [style*="width"] { max-width: 100% !important; }
.page-body table { display: block; width: 100%; overflow-x: auto; }
.page-body pre, .page-body code { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }

/* ---------- Responsiv ---------- */
@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-media .kongress-bild { max-width: 460px; margin: 0 auto 14px; }
  .rooms, .experts { grid-template-columns: repeat(3, 1fr); }
  .voices { grid-template-columns: 1fr; }
  .ziel { grid-template-columns: 1fr; gap: 22px; }
  .ziel figure img { max-width: min(520px, 100%); margin: 0 auto; }
  .hero-media .kongress-bild { max-width: min(460px, 100%); }
  .ziel > *, .hero-card > *, .intro-card > *, .hotel-card > * { min-width: 0; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px; right: 18px;
    background: rgba(125, 31, 43, 0.97);
    padding: 14px 18px;
    border-radius: 10px;
    gap: 10px;
  }
  .nav-toggle { display: block; }
  .hero { padding-top: 72px; }
  .hero-card { padding: 22px 18px 0; }
  .hero-text h1 { font-size: 1.55rem; }
  .intro-card { grid-template-columns: 1fr; padding: 18px; }
  .rooms, .experts { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .faq-grid { grid-template-columns: 1fr; }
  .section { padding: 38px 0; }
  .section-title { font-size: 1.25rem; }
  .hotel-card { padding: 24px 18px; }
  .prose { font-size: 0.92rem; }
}

@media (max-width: 420px) {
  .rooms, .experts { grid-template-columns: 1fr; }
}

/* --- Verzeichnislisten (Kongress-Übersichten, Archiv) --- */
.seitenliste {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seitenliste li { min-width: 0; }

.seitenliste a {
  display: block;
  background: #fff;
  border: 1px solid #f0d9c8;
  border-left: 5px solid var(--orange, #f2913d);
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text, #333);
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seitenliste a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.seitenliste strong {
  display: block;
  color: var(--rot, #a4232b);
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.seitenliste span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: #6b6257;
}

.kongress-archiv {
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid #f0d9c8;
}

.kongress-archiv h2 {
  font-size: 1.2rem;
  color: var(--rot, #a4232b);
  margin: 0 0 6px;
}

.kongress-archiv p {
  margin: 0;
  font-size: 0.92rem;
  color: #6b6257;
}

@media (max-width: 640px) {
  .seitenliste { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Kopfzeile auf Seiten ohne oranges Titelband ---------- */
/* Ohne Titelband sitzt die weisse Schrift sonst auf weissem Grund und ist unsichtbar. */
body.ohne-kopf .site-header {
  position: relative;
  background: linear-gradient(180deg, var(--orange-hell), var(--orange));
}
body.ohne-kopf main { padding-top: 0; }
body.ohne-kopf .page-body { padding-top: 36px; }
