/* VIKADI – Gestaltung nach dem alten JTL-Shop (Vorlage "Tiny", angepasst: hellgrau, dunkle Menüleiste, 1080 px breit) */
:root {
  --grau: #f0f0f0;
  --dunkel: #3a3a3a;
  --dunkel2: #2d2d2d;
  --blau: #4364a1;
  --blau-dunkel: #34508a;
  --rot: #c0392b;
  --linie: #ddd;
  --text: #333;
}
* { box-sizing: border-box; }
html { background: var(--grau); }
body { margin: 0; font: 13px/1.55 "Open Sans", "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--grau); }
a { color: var(--blau); }
a:hover { color: var(--blau-dunkel); }
img { max-width: 100%; height: auto; }
h1, h2, h3, .h { font-weight: normal; color: var(--text); }
h1 { font-size: 24px; margin: 0 0 12px; }
h2 { font-size: 19px; }
.breite { width: 1080px; max-width: 100%; margin: 0 auto; }

/* ---------- Kopf ---------- */
.logozeile { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.logo img { display: block; }
.kopflinks { display: flex; gap: 18px; align-items: center; font-size: 12px; text-transform: uppercase; }
.kopflinks a { color: #555; text-decoration: none; }
.kopflinks a:hover { color: var(--blau); }
.kopflinks .tel { text-transform: none; color: #555; }
.hauptnav .breite { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(#4a4a4a, var(--dunkel) 50%, var(--dunkel2));
  border-radius: 4px; padding: 0 10px; min-height: 40px; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; }
.hauptnav > .breite > ul { display: flex; }
.hauptnav > .breite > ul > li { position: relative; }
.hauptnav > .breite > ul > li > a { display: block; padding: 0 14px; color: #fff; text-decoration: none; line-height: 40px; font-size: 13px; }
.hauptnav > .breite > ul > li:hover > a { background: rgba(255,255,255,.12); }
.hauptnav li ul { display: none; position: absolute; z-index: 50; left: 0; top: 100%; min-width: 220px; background: var(--dunkel); box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.hauptnav li:hover ul { display: block; }
.hauptnav li ul a { display: block; padding: 8px 14px; color: #eee; text-decoration: none; border-top: 1px solid rgba(255,255,255,.08); }
.hauptnav li ul a:hover { background: var(--blau); color: #fff; }
.suche input { width: 200px; padding: 5px 12px; border: 0; border-radius: 14px; font: inherit; font-size: 12px; }
.menue-knopf { display: none; }

#inhalt { background: #fff; margin-top: 18px; margin-bottom: 18px; padding: 15px 20px 30px; min-height: 400px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
#inhalt.startseite { background: transparent; box-shadow: none; padding: 0; }
.pfad { font-size: 12px; color: #888; margin: 0 0 12px; }
.pfad a { color: #555; text-decoration: none; }

/* ---------- Knöpfe, Hinweise ---------- */
.knopf { display: inline-block; padding: 6px 16px; border: 1px solid #bbb; border-radius: 4px; background: linear-gradient(#fafafa, #e6e6e6); color: #555;
  text-decoration: none; font: inherit; font-size: 13px; cursor: pointer; }
.knopf:hover { color: #222; background: #eee; }
.knopf.blau { background: var(--blau); border-color: var(--blau-dunkel); color: #fff; }
.knopf.blau:hover { background: var(--blau-dunkel); color: #fff; }
.knopf.gross { padding: 10px 26px; font-size: 15px; }
.fehler { background: #fdecea; border: 1px solid #e3a09a; color: #a33; padding: 8px 12px; border-radius: 4px; }
.erfolg { background: #eef7e6; border: 1px solid #a7cf86; color: #3d6b1d; padding: 8px 12px; border-radius: 4px; }
.hinweis { background: #eef2fa; border: 1px solid #c9d4ea; padding: 8px 12px; border-radius: 4px; }
.pflicht { color: #c33; }
.klein, small { font-size: 12px; color: #888; }
.rechts { float: right; }
.box { margin-bottom: 20px; }
h2.trenner { border-bottom: 1px solid var(--linie); padding-bottom: 6px; margin: 25px 0 15px; }
.hidden { display: none; }

/* ---------- Bilder-Wechsel ---------- */
.wechsel { position: relative; overflow: hidden; background: #fff; }
.wechsel .tafel[hidden] { display: none; }
.wechsel .tafel img { display: block; width: 100%; }
.punkte { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; }
.punkte button { width: 14px; height: 14px; margin: 0 3px; border: 2px solid #bbb; border-radius: 50%; background: #fff; cursor: pointer; padding: 0; }
.punkte button.aktiv { background: #666; border-color: #666; }

/* ---------- Startseite ---------- */
.start-wechsel { margin-top: 0; }
.schild { position: absolute; z-index: 2; left: 0; top: 18px; padding: 14px 16px; background: rgba(40,40,40,.75); color: #fff; font-size: 26px; line-height: 1.35; pointer-events: none; }
.schild small { display: block; margin-top: 6px; font-size: 15px; color: #fff; }
.schritte { display: flex; justify-content: center; gap: 30px; background: var(--dunkel); padding: 0 20px; margin: -6px 25px 25px; position: relative; z-index: 3; }
.schritte img { display: block; }
.kaesten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 20px; }
.kasten { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kasten img { display: block; width: 100%; }
.kasten .ueberschrift, .kasten p { padding: 0 14px; }
.ueberschrift { font-size: 17px; color: var(--blau); margin: 12px 0 6px; }
.startseite .kacheln, .startseite .starttext, .startseite h2.trenner { background: #fff; padding: 15px 20px; margin: 0 0 20px; }
.startseite h2.trenner { margin: 0; border: 0; padding-bottom: 0; }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bewertung { border-top: 1px solid var(--linie); margin-top: 15px; }
.rechtsbild { float: right; margin: 0 0 10px 20px; }

/* ---------- Kundenmeinungen (Startseite + Seite Bewertungen) ---------- */
.comment { border-bottom: 1px solid var(--linie); padding: 12px 0; overflow: hidden; }
.comment .title { font-size: 16px; font-weight: bold; }
.comment .rating { display: block; font-size: 12px; font-weight: normal; color: #888; }
.stars::before { content: "★★★★★"; color: #f0a800; letter-spacing: 2px; margin-left: 6px; }
.comment .popup img { width: 160px; height: 120px; object-fit: cover; margin: 0 8px 8px 0; float: left; border: 1px solid var(--linie); }

/* ---------- Modell-Listen ---------- */
.schritt-kopf { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 15px; }
.schritt-kopf .nr { font-size: 72px; line-height: .9; color: #ccc; font-weight: 300; }
.schritt-kopf .h { font-size: 24px; margin: 0 0 6px; }
.schritt-kopf p { margin: 0; }
.unterkats { margin: 0 0 15px; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kachel { border: 1px solid var(--linie); padding: 10px; display: flex; flex-direction: column; background: #fff; }
.kachel .bild img { display: block; width: 100%; aspect-ratio: 354 / 236; object-fit: contain; }
.kachel h3 { margin: 8px 0 4px; font-size: 17px; }
.kachel h3 a { color: var(--text); text-decoration: none; }
.kachel p { flex: 1; margin: 0 0 10px; }
.kachel .knopf { align-self: flex-start; }

/* ---------- Modell-Seite ---------- */
.schritte-23 { display: flex; align-items: center; gap: 20px; border: 1px solid var(--linie); padding: 12px; margin-bottom: 12px; }
.schritte-23 .schritt-kopf { flex: 1; margin: 0; }
.schritte-23 .hilfe { flex: none; }
.blaettern { overflow: hidden; margin: 0 0 8px; font-size: 12px; }
.blaettern a { color: #555; text-decoration: none; }
.artikel-oben { display: grid; grid-template-columns: 1fr 300px; gap: 25px; margin-bottom: 20px; }
.artikel-wechsel { padding-bottom: 36px; }
.artikel-wechsel .punkte { bottom: 6px; }
.artikel-info h1 { margin-top: 10px; }
.artikel-info .kurz { color: #888; }
.artikel-info .knopf { width: 100%; text-align: center; }

.reiterkoepfe { display: flex; flex-wrap: wrap; gap: 4px; }
.reiterkoepfe button { font: inherit; cursor: pointer; border: 1px solid #ccc; border-bottom: 0; background: #eee; color: #555; padding: 8px 16px; border-radius: 6px 6px 0 0; }
.reiterkoepfe button.aktiv { background: var(--dunkel); color: #fff; border-color: var(--dunkel); }
.reiterseite[hidden] { display: none; }
.reiter.dunkel > .reiterseite { background: var(--dunkel); color: #eee; padding: 20px 25px; }
.reiter.dunkel > .reiterseite a { color: #9fb8e8; }
.reiter.dunkel .product_name { font-size: 22px; color: #fff; margin: 10px 0; text-transform: uppercase; }
.reiter.dunkel .spacer { border-top: 1px solid #555; margin: 20px 0; }
.beschreibung table { border-collapse: collapse; margin: 0 0 10px; }
.beschreibung td { padding: 3px 20px 3px 0; color: #eee; border-color: #555 !important; }
.typenplan { display: block; background: #fff; margin-top: 10px; }

/* Konfigurator (Preis berechnen / Angebot anfordern) */
.konfigurator { display: grid; grid-template-columns: 1fr 300px; gap: 20px; margin-top: 15px; }
.konfigurator .uvp { grid-column: 1 / -1; justify-self: end; background: #fff; color: #555; padding: 10px 18px; text-align: right; position: sticky; top: 8px; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.konfigurator .uvp span { font-size: 22px; color: var(--rot); }
.konfigurator .uvp small { display: block; }
.konfigurator fieldset { border: 1px solid #555; padding: 10px 14px 14px; margin: 0; }
.konfigurator legend { color: #bbb; padding: 0 6px; }
.konfigurator .label { font-weight: bold; color: #fff; margin: 14px 0 6px; }
.typen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 15px; background: #fff; color: #333; padding: 10px 12px; border-radius: 3px; }
.typen label { cursor: pointer; }
.konfigurator select { width: 100%; padding: 6px; font: inherit; }
.bezuege .reiterkoepfe button { font-size: 11px; padding: 5px 8px; border-radius: 3px 3px 0 0; }
.bezuege .reiterkoepfe button.aktiv { background: #fff; color: #333; border-color: #fff; }
.bezuege > .reiterseite { background: #fff; padding: 10px; }
.muster-raster { display: flex; flex-wrap: wrap; gap: 6px; }
.muster-raster label { position: relative; cursor: pointer; line-height: 0; }
.muster-raster input { position: absolute; opacity: 0; }
.muster-raster img { width: 55px; height: 55px; border: 3px solid transparent; outline: 1px solid #ccc; }
.muster-raster input:checked + img { border-color: var(--rot); outline-color: var(--rot); }
.muster-raster input:focus-visible + img { outline: 2px solid var(--blau); }
.muster-raster label.gesperrt { opacity: .4; cursor: not-allowed; }
.kalk-rechts .feld label, .kalk-rechts .haken { color: #eee; }

/* ---------- Formulare ---------- */
.feld { margin-bottom: 10px; }
.feld label { display: block; font-weight: bold; margin-bottom: 3px; }
.feld input, .feld textarea, .feld select { width: 100%; padding: 6px 8px; border: 1px solid #bbb; border-radius: 3px; font: inherit; }
.haken { display: block; margin: 10px 0; }
.falle { position: absolute; left: -9999px; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formular fieldset { border: 1px solid var(--linie); padding: 10px 14px; margin: 0 0 15px; }
.formular legend { font-weight: bold; padding: 0 6px; }
.adressfelder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 12px; }
.adressfelder .feld { grid-column: span 3; }
.adressfelder .feld-strasse { grid-column: span 4; }
.adressfelder .feld-nr, .adressfelder .feld-plz { grid-column: span 2; }
.adressfelder .feld-ort { grid-column: span 4; }
table.liste th { text-align: left; padding: 4px 15px 4px 0; vertical-align: top; }
.kontakt.spalten { grid-template-columns: 1fr 320px; }
.kontaktbox { background: var(--grau); padding: 5px 18px; align-self: start; }

/* ---------- Textseiten ---------- */
.textseite.mit-spalte { display: grid; grid-template-columns: 1fr 220px; gap: 30px; }
.seitenspalte .h { font-weight: bold; font-size: 12px; color: #888; margin: 0 0 4px; }
.seitenspalte ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--linie); }
.seitenspalte a { display: block; padding: 5px 4px; border-bottom: 1px solid var(--linie); color: #555; text-decoration: none; }
.seitenspalte a:hover, .seitenspalte a.aktiv { color: var(--blau); background: var(--grau); }
.textseite span[style*="font-size:12px"] { font-size: inherit !important; }
.textseite img[style*="float: left"], .textseite img[style*="float:left"] { margin-right: 15px; }
.textseite #accordion h3 { background: var(--grau); padding: 6px 10px; margin: 15px 0 8px; font-size: 16px; }
.textseite #accordion h3 a { color: var(--text); text-decoration: none; }
.textseite #accordion > div { overflow: hidden; }
.textseite table { max-width: 100%; }
.landing .lp-pics { margin: 0 0 15px 20px; }
.landing .lp-block { margin-bottom: 20px; overflow: hidden; }
.landing .list_left, .landing .list_right { float: left; width: 50%; margin: 0; }
.landing .schritt { display: inline-block; background: var(--grau); padding: 6px 12px; margin: 0 6px 6px 0; border-radius: 4px; }
.landing .weiter { clear: both; margin-top: 20px; }

/* ---------- Fuß ---------- */
#fuss { background: var(--dunkel); color: #ccc; padding: 25px 0 15px; font-size: 12px; }
#fuss a { color: #ddd; text-decoration: none; }
#fuss a:hover { color: #fff; text-decoration: underline; }
#fuss .breite { padding: 0 10px; }
.spalten3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
#fuss .h { color: #fff; font-size: 15px; margin: 0 0 8px; }
#fuss ul { list-style: none; margin: 0; padding: 0; }
#fuss li { padding: 2px 0; }
#fuss a.widerrufen { display: inline-block; margin-top: 6px; padding: 3px 10px; border: 1px solid #888; border-radius: 3px; }
.glossar { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid #555; margin-top: 20px !important; padding-top: 12px !important; }
.glossar a { color: #999 !important; }
.copy { text-align: center; color: #999; margin-top: 18px; }

/* ---------- Handy / Tablet ---------- */
@media (max-width: 900px) {
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .artikel-oben, .konfigurator, .textseite.mit-spalte, .kontakt.spalten { grid-template-columns: 1fr; }
  .schritte-23 .hilfe { display: none; }
  .schritte { gap: 8px; margin: 0 0 20px; }
}
@media (max-width: 700px) {
  #inhalt { padding: 12px 16px 25px; margin-top: 10px; }
  .logozeile { flex-direction: column; gap: 4px; }
  .logo img { width: 180px; height: auto; }
  .kopflinks { flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
  .hauptnav .breite { flex-wrap: wrap; border-radius: 0; padding: 6px 10px; }
  .menue-knopf { display: block; background: none; border: 0; color: #fff; font: inherit; font-size: 15px; cursor: pointer; padding: 6px 0; }
  .hauptnav > .breite > ul { display: none; flex-direction: column; width: 100%; order: 3; }
  .hauptnav.offen > .breite > ul { display: flex; }
  .hauptnav li ul { position: static; display: block; box-shadow: none; padding-left: 15px; }
  .suche input { width: 150px; }
  .kacheln, .kaesten, .spalten, .spalten3, .zwei, .typen { grid-template-columns: 1fr; }
  .schritte { flex-direction: column; align-items: center; }
  .schild { font-size: 16px; padding: 8px 10px; top: 8px; }
  .schild small { font-size: 11px; }
  .schritte-23 { flex-direction: column; align-items: stretch; }
  .adressfelder .feld, .adressfelder .feld-strasse, .adressfelder .feld-ort, .adressfelder .feld-nr, .adressfelder .feld-plz { grid-column: span 6; }
  .reiter.dunkel > .reiterseite { padding: 14px; }
  .rechtsbild { float: none; display: block; margin: 0 0 10px; }
  .textseite img { float: none !important; }
  .landing .list_left, .landing .list_right { float: none; width: auto; }
  table { display: block; overflow-x: auto; }
}
