/* LL-Web – Stylesheet fuer das neue Seiten-Template (Phase 2, 10/2026)
   Erscheinungsbild wie bisher: #FAD38D / #FCE8C2, Linkrot #CC0000, Century Gothic,
   rotes "LL", Aufzaehlungs-Icon. Am Desktop statischer Aufbau, am Handy Klappmenue. */

:root {
  --ll-aussen: #FAD38D;
  --ll-flaeche: #FCE8C2;
  --ll-rot: #CC0000;
  --ll-rot-hell: #D32121;
  --ll-linie: #666666;
  --ll-schrift: "Century Gothic", "URW Gothic", "Avant Garde", Arial, Verdana, sans-serif;
  --ll-breite: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ll-aussen);
  color: #000;
  font-family: var(--ll-schrift);
  font-size: 18px;
  line-height: 1.5;
}

/* Ein gemeinsamer Rahmen: Kopf, Inhalt, Anzeige, Fussbereich sind gleich breit */
.ll-seite {
  max-width: var(--ll-breite);
  margin: 10px auto 0;
  padding: 0 24px 16px;
  background: var(--ll-flaeche);
}

a, a:visited { color: var(--ll-rot); }
a:hover { text-decoration: none; }

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

/* ---------- Kopf ---------- */
.ll-kopf {
  padding-top: 14px;
}
.ll-kopf-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ll-linie);
  border-bottom: 1px solid var(--ll-linie);
  padding: 6px 0;
}
.ll-pfad { margin: 0; }
.ll-pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ll-pfad li { list-style: none; line-height: 1.6; font-size: 18px; }
.ll-pfad li + li::before { content: "|"; margin: 0 0.4em; color: #000; }
.ll-pfad [aria-current] { color: #000; }
.ll-suche { white-space: nowrap; }
.ll-suche img { vertical-align: middle; margin-left: 4px; }

/* Marke + Menue nur am Handy */
.ll-marke, .ll-menue { display: none; }

/* ---------- Inhalt ---------- */
.ll-inhalt { padding: 8px 0 4px; }

.ll-titel {
  margin: 18px 0 10px;
  text-align: center;
  font-size: 25px;
  line-height: 1.2;
}
.ll-titel img { display: inline-block; }

.ll-inhalt h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
  margin: 26px 0 4px;
  padding-left: 46px;
  min-height: 22px;
  background: url("/images/allgemein/ll-web-aufz.gif") no-repeat 0 0.15em;
}
.ll-inhalt p { margin: 10px 0; }
.ll-inhalt ul { margin: 4px 0 8px; padding-left: 1.6em; }
.ll-inhalt li {
  list-style-type: square;
  line-height: 2;
}
.ll-inhalt hr { border: 0; border-top: 1px solid #b9a27a; width: 150px; margin: 4px 0; }
.autor { font-size: 14px; line-height: 1.4; }
/* alte Hilfsklassen aus ll_web_newstyle.css, die im Inhalt weiter vorkommen */
.ll-inhalt .bold { font-weight: bold; }
.ll-inhalt .rot { color: #990000; }
.ll-inhalt .text { font-size: inherit; }
.ll-fett-gr { color: var(--ll-rot-hell); font-size: 24px; }

/* Tabellen aus alten Inhalten nicht ueber den Rand laufen lassen */
.ll-inhalt table { max-width: 100%; background: transparent; }

/* Amazon-Tipp-Kaestchen (Schritt 4b) – Gestaltung steht inline, hier nur Breite */
.amz-tipp { max-width: 100% !important; }

/* ---------- Anzeige ---------- */
.ll-anzeige { margin: 18px 0 6px; min-height: 0; }
/* Kein passendes Angebot -> Google setzt data-ad-status="unfilled": Platz ausblenden statt leerem Kasten */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ---------- Fuss ---------- */
.ll-fuss {
  border-top: 1px solid var(--ll-linie);
  margin-top: 16px;
  padding-top: 6px;
}
.ll-fuss p { margin: 10px 0; }
.ll-fuss .ll-fuss-titel {
  font-weight: bold;
  padding-left: 46px;
  background: url("/images/allgemein/ll-web-aufz.gif") no-repeat 0 0;
}
.ll-fuss-links {
  border-top: 1px solid var(--ll-linie);
  padding-top: 8px;
  font-size: 15px;
}
.ll-fuss-links a { margin-right: 0.8em; white-space: nowrap; }
/* Googles Link "Einstellungen fuer Datenschutz und Cookies" wird hierher verschoben */
#ll-cmp > * { margin: 8px 0 0 !important; }

/* ---------- Handy ---------- */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .ll-seite { margin-top: 0; padding: 0 14px 12px; }

  .ll-kopf { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 8px; }
  .ll-marke {
    display: block;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #000 !important;
  }
  .ll-marke .ll-rot { color: var(--ll-rot-hell); }

  .ll-menue { display: block; position: relative; }
  .ll-menue summary {
    list-style: none;
    cursor: pointer;
    border: 1px solid var(--ll-linie);
    border-radius: 6px;
    padding: 4px 12px;
    font-weight: bold;
    background: #fff8ea;
    user-select: none;
  }
  .ll-menue summary::-webkit-details-marker { display: none; }
  .ll-menue[open] summary { background: var(--ll-aussen); }
  .ll-menue ul {
    position: absolute;
    right: 0;
    z-index: 50;
    margin: 6px 0 0;
    padding: 6px 0;
    width: min(86vw, 340px);
    background: #fff8ea;
    border: 1px solid var(--ll-linie);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
  }
  .ll-menue li { list-style: none; line-height: 1.4; }
  .ll-menue li a { display: block; padding: 9px 16px; text-decoration: none; }
  .ll-menue li a:active { background: var(--ll-flaeche); }
  .ll-menue .ll-menue-trenner { border-top: 1px solid #e0c99a; margin: 4px 0; }

  .ll-kopf-zeile { grid-column: 1 / -1; margin-top: 8px; font-size: 15px; }
  .ll-pfad li { font-size: 15px; }
  .ll-suche { display: none; }

  .ll-titel { margin-top: 12px; }
  .ll-inhalt h2 { font-size: 20px; padding-left: 40px; background-size: 34px auto; }
  .ll-inhalt ul { padding-left: 1.2em; }
  .ll-inhalt li { line-height: 1.6; margin-bottom: 8px; }
  .ll-fuss .ll-fuss-titel { padding-left: 40px; background-size: 34px auto; }

  /* alte Layout-Tabellen im Inhalt: Zellen untereinander statt nebeneinander */
  .ll-inhalt table, .ll-inhalt tbody, .ll-inhalt tr, .ll-inhalt td, .ll-inhalt th {
    display: block; width: auto !important; max-width: 100%;
  }
  .ll-inhalt table { border-spacing: 0; }
  .ll-inhalt td { padding: 4px 0; }
}
