/* planetshifts.com – New Planet Center Friederike Brugger
   Farbwelt: Marineblau #00056B und Altrosa #C5739B der Altseite; Grundfarbe Wasserblau #6C94A3,
   gemessen in bilder/dolphin_home.jpg (Mittel der Wasserpixel, Farbton 197°), daraus die Abstufungen.
   (KS 2026-10-19: Blau statt Gruen, Kopfverlauf in fast weisses Blau bis zum Fuss, keine Linie oben.)
   Systemschriften, keine externen Ressourcen. Mobil zuerst. */

:root {
  --marine: #00056b;
  --tinte: #1c2147;
  --grau: #4f5573;
  --rosa: #c5739b;
  --rosa-dunkel: #9b4a73;
  --blau: #6c94a3;          /* gemessen, Delfinbild */
  --blau-tief: #236f8c;     /* gleicher Farbton, AA auf Weiss 5,6:1 */
  --blau-kopf: #b9d4df;     /* Kopfverlauf oben */
  --blau-hell: #d4e6ed;     /* Flaechen: Startfeld, Bestellbox, Fuss */
  --blau-pille: #e0eef3;    /* Pillen */
  --grund: #edf6fa;         /* fast weisses Blau, Seitenhintergrund */
  --linie: #c6dde7;
  --weiss: #ffffff;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --zier: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --rand: 1rem;
  --radius: 10px;
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--marine); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rosa-dunkel); }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--rosa); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--zier); color: var(--marine); font-weight: normal; line-height: 1.25; }
h1 { font-size: 1.85rem; margin: 0 0 1.25rem; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
p, ul, ol, table { margin: 0 0 1rem; }

.breite { max-width: 70rem; margin: 0 auto; padding: 0 var(--rand); }

.sprung { position: absolute; left: -999px; top: 0; background: var(--marine); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.sprung:focus { left: 0.5rem; top: 0.5rem; }

.testhinweis { margin: 0; padding: 0.3rem var(--rand); background: var(--blau-tief); color: #fff; font-size: 0.8rem; text-align: center; letter-spacing: 0.02em; }

/* Kopf */
.kopf { background: linear-gradient(180deg, var(--blau-kopf) 0%, var(--grund) 100%); }
.kopf-innen { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 0.5rem; }
.marke { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; color: var(--marine); }
.marke img { width: 52px; height: auto; flex: none; }
.marke-text { display: flex; flex-direction: column; }
.marke-name { font-family: var(--zier); font-size: 1.3rem; line-height: 1.2; }
.marke-zusatz { font-size: 0.85rem; color: var(--grau); margin-top: 0.15rem; }
.sprache { flex: none; font-size: 0.9rem; padding: 0.3rem 0.75rem; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; background: var(--blau-pille); }
.sprache:hover { border-color: var(--blau-tief); background: var(--blau-hell); }

.navi ul { list-style: none; margin: 0; padding: 0.75rem 0 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.navi a { display: inline-block; padding: 0.35rem 0; text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--marine); border-bottom: 2px solid transparent; }
.navi a:hover { border-bottom-color: var(--blau-tief); color: var(--marine); }
.navi a[aria-current="page"], .navi a.aktiv { border-bottom-color: var(--marine); }

/* Inhalt */
main.breite { padding-top: 2rem; padding-bottom: 3.5rem; }
a[href^="tel:"] { white-space: nowrap; }
.textspalte { max-width: 40rem; }
.ohne-bild .textspalte { max-width: 44rem; }

.brotkrumen ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 0; font-size: 0.88rem; color: var(--grau); }
.brotkrumen li + li::before { content: "›"; margin: 0 0.5rem; color: var(--grau); }
.brotkrumen a { color: var(--grau); }

.mit-bild { display: grid; gap: 1.5rem; }
.bildspalte { margin: 0; text-align: center; }
.bildspalte img { border-radius: var(--radius); box-shadow: 0 2px 14px rgba(0, 5, 107, 0.10); }

.kasten { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 0.4rem 1.1rem 0.6rem; margin: 1.5rem 0; }
.kasten h2 { font-size: 1.15rem; margin: 0.9rem 0 0.6rem; }
.kasten > :last-child { margin-bottom: 0.5rem; }

table.info { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
table.info td { padding: 0.45rem 0.6rem 0.45rem 0; vertical-align: top; border-top: 1px solid var(--linie); }
table.info tr:first-child td { border-top: 0; }
table.info td:empty { display: none; }

table.preise { border-collapse: collapse; width: 100%; max-width: 30rem; margin: 1.5rem 0; font-size: 0.98rem; }
table.preise th { text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--grau); border-bottom: 2px solid var(--marine); padding: 0.35rem 0.6rem 0.35rem 0; }
table.preise td { padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.preise .betrag { text-align: right; white-space: nowrap; padding-right: 0; }
table.preise td.betrag { font-weight: 600; color: var(--marine); }

.bestellbox { background: var(--blau-hell); border-radius: var(--radius); padding: 1.1rem 1.25rem 0.5rem; margin: 1.75rem 0; max-width: 30rem; }
.bestellbox p { margin: 0 0 0.75rem; }
.klein { font-size: 0.9rem; }

.knopf { display: inline-block; background: var(--marine); color: #fff; text-decoration: none; font-weight: 600; padding: 0.7rem 1.3rem; border-radius: 999px; line-height: 1.3; }
.knopf:hover { background: #1a2390; color: #fff; }
.knopf-hell { background: var(--weiss); color: var(--marine); border: 1px solid var(--marine); }
.knopf-hell:hover { background: var(--blau-pille); color: var(--marine); }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

mark.offen { background: #fff1a8; color: #5a3c00; padding: 0.05rem 0.3rem; border-radius: 3px; font-size: 0.9em; }

/* Startseite */
.held { display: grid; gap: 1rem; align-items: center; background: var(--blau-hell); border-radius: 16px; padding: 1.75rem 1.25rem 0.5rem; margin-bottom: 2.5rem; overflow: hidden; }
.held h1 { color: var(--rosa-dunkel); font-size: 1.75rem; margin: 0; }
.held-unter { display: block; font-size: 0.8em; margin-top: 0.4rem; color: var(--rosa-dunkel); }
.held-bild { justify-self: center; display: block;
  /* Bild dolphin_home_blau.png: Mint-Vignette zu Transparenz gerechnet (werkzeug/delfin_freistellen.py) (KS 2026-10-19: Delfin nicht monochrom);
     Raender weich ausblenden. Original dolphin_home.jpg bleibt unveraendert. */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%); }

.kacheln { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.25rem; }
.kachel { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 1rem; align-items: center; text-decoration: none; color: var(--tinte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 0.85rem; background: var(--weiss); height: 100%; }
.kachel:hover { border-color: var(--blau-tief); color: var(--tinte); }
.kachel-bild { grid-row: 1 / 3; width: 96px; height: 120px; object-fit: cover; border-radius: 8px; }
.kachel-titel { font-family: var(--zier); font-size: 1.25rem; color: var(--marine); align-self: end; }
.kachel-text { font-size: 0.93rem; color: var(--grau); align-self: start; }

.bereiche ul, .sprungmarken ul, .geschwister ul, .unternavi ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bereiche a, .sprungmarken a, .unternavi a { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--blau-pille); text-decoration: none; font-size: 0.95rem; }
.bereiche a:hover, .sprungmarken a:hover, .unternavi a:hover { background: var(--blau-hell); }
.unternavi a[aria-current="page"] { background: var(--marine); color: #fff; }
.mehr-links { margin-top: 1rem; }
.mehr-links a { background: none; padding: 0; text-decoration: underline; border-radius: 0; }

/* Produktuebersicht */
.kopfzeile-mit-bild { display: grid; gap: 1.5rem; align-items: start; margin-bottom: 1rem; }
.kopfzeile-mit-bild .bild { justify-self: center; border-radius: var(--radius); }
.hinweis-bestellung { font-size: 0.95rem; }
.kategorie { scroll-margin-top: 1rem; }
.kategorie h2 { border-bottom: 1px solid var(--linie); padding-bottom: 0.4rem; }
.produktliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem 2rem; }
.produktliste a { display: flex; flex-direction: column; padding: 0.6rem 0.25rem; text-decoration: none; border-bottom: 1px dashed var(--linie); }
.produktliste a:hover .produkt-name { color: var(--rosa-dunkel); }
.produkt-name { font-weight: 600; }
.produkt-preise { font-size: 0.88rem; color: var(--grau); display: flex; flex-wrap: wrap; gap: 0 1rem; }

.geschwister { margin-top: 3rem; border-top: 1px solid var(--linie); }
.geschwister h2 { font-size: 1.1rem; }
.geschwister a { font-size: 0.95rem; }
.geschwister li:not(:last-child)::after { content: "·"; margin-left: 0.6rem; color: var(--grau); }

/* Seminare */
.seminarliste { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
.seminarliste li { display: flex; flex-direction: column; padding: 0.75rem 0; border-bottom: 1px solid var(--linie); }
.seminar-name { font-weight: 600; }
.seminar-meta { font-size: 0.9rem; color: var(--grau); }

.eingebettet { margin-top: 2.5rem; }

/* Fuss */
.fuss { background: var(--blau-hell); font-size: 0.93rem; }
.fuss-innen { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2.5rem; }
.fuss h2 { font-size: 1rem; margin: 0 0 0.5rem; font-family: var(--schrift); font-weight: 600; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin: 0.2rem 0; }
.fuss p { margin: 0 0 0.6rem; }

/* ab Tablet */
@media (min-width: 40rem) {
  :root { --rand: 1.5rem; }
  h1 { font-size: 2.1rem; }
  .held { grid-template-columns: 1fr auto; padding: 2rem 0 0 2.5rem; }
  .held h1 { font-size: 2rem; }
  .held-bild { align-self: end; }
  .kacheln { grid-template-columns: repeat(3, 1fr); }
  .kachel { grid-template-columns: 1fr; grid-template-rows: auto auto auto; text-align: center; padding: 1.25rem 1rem; }
  .kachel-bild { grid-row: auto; width: auto; height: 170px; margin: 0 auto 0.75rem; }
  .kachel-titel, .kachel-text { align-self: auto; }
  .mit-bild { grid-template-columns: 12rem 1fr; gap: 2.5rem; align-items: start; }
  .bildspalte { position: sticky; top: 1.5rem; }
  .kopfzeile-mit-bild { grid-template-columns: 1fr auto; }
  .produktliste { grid-template-columns: repeat(2, 1fr); }
  .fuss-innen { grid-template-columns: 1.3fr 1fr 1fr; }
  .seminarliste li { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
  .seminar-meta { text-align: right; white-space: nowrap; }
}

@media (min-width: 64rem) {
  .navi ul { gap: 0.4rem 2.6rem; }
  .mit-bild { grid-template-columns: 15rem 1fr; gap: 3.5rem; }
  .produktliste { grid-template-columns: repeat(3, 1fr); }
  .marke img { width: 64px; }
  .marke-name { font-size: 1.55rem; }
}

/* schmale Telefone: Infotabellen stapeln */
@media (max-width: 30rem) {
  table.info, table.info tbody, table.info tr, table.info td { display: block; width: 100%; }
  table.info tr { border-top: 1px solid var(--linie); padding: 0.35rem 0; }
  table.info tr:first-child { border-top: 0; }
  table.info td { border: 0; padding: 0.1rem 0; }
  table.info td:first-child { font-weight: 600; }
}

@media print {
  .kopf .navi, .sprache, .bestellbox, .testhinweis, .sprung { display: none; }
}
