/* ReifenSuche.info V3.2: EIN gemeinsamer Seitenkopf / Suchfeld fuer Unterseiten.
   Wird in header.php NACH den seitenbezogenen Stylesheets geladen.
   Startseiten-Heroformular wird absichtlich separat gestaltet. */
:root { --rs-shell-width:1190px; --rs-shell-padding:20px; --rs-tabs-ink:#a94708; --rs-tabs-inactive:#e8eff4; --rs-tabs-border:#dce6ed; }

/* GLEICHE Aussenraender auf allen Unterseiten (Container direkt unter body). */
body:not(.home-v2) > .grid.grid-pad {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:var(--rs-shell-width) !important;
  padding-left:var(--rs-shell-padding) !important;
  padding-right:var(--rs-shell-padding) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body:not(.home-v2) .v2-search-brand {
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  min-height:36px !important;
  padding:0 !important;
  margin:0 !important;
}
body:not(.home-v2) .v2-search-brand-link {
  display:inline-flex !important;align-items:center !important;
  white-space:nowrap !important;
  color:#172a39 !important;text-decoration:none !important;
  font-size:25px !important;font-weight:850 !important;
  line-height:1.2 !important;letter-spacing:-1.1px;
}
body:not(.home-v2) .v2-search-brand-mark{color:#ef8124 !important;margin-right:10px;font-size:29px}
body:not(.home-v2) .v2-search-brand-accent{color:#ef8124 !important}
body:not(.home-v2) .v2-search-brand-link small{font-size:15px;font-weight:700}

/* Tab-Farben, Geometrie und Abstaende: unabhaengig vom Seitentyp. */
body:not(.home-v2) .reiter {
  display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;
  align-items:flex-end !important;gap:8px !important;clear:both;
  margin:4px 0 0 !important;padding:0 !important;
}
body:not(.home-v2) .reiter > .reiter-text {
  display:block !important;float:none !important;flex:0 1 auto !important;
  min-width:0 !important;width:auto !important;
  margin:0 !important;padding:0 !important;
  background:transparent !important;border:0 !important;
}
body:not(.home-v2) .reiter > .reiter-text > a {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  box-sizing:border-box !important;min-height:44px !important;
  margin:0 !important;padding:10px 17px !important;
  border:1px solid var(--rs-tabs-border) !important;border-bottom:0 !important;
  border-radius:11px 11px 0 0 !important;
  background:var(--rs-tabs-inactive) !important;
  color:var(--rs-tabs-ink) !important;text-decoration:none !important;
  font-size:14px !important;font-weight:700 !important;line-height:1.25 !important;
  white-space:nowrap !important;hyphens:none !important;
}
body:not(.home-v2) .reiter > .reiter-text.r-dunkel > a,
body:not(.home-v2) .reiter > .reiter-text.r-dunkel > a:hover {
  background:#fff !important;color:var(--rs-tabs-ink) !important;
}
body:not(.home-v2) .reiter > .reiter-text.r-hell > a:hover {
  background:#f5f8fa !important;
}

/* Bestehendes Formular: keine Aenderung an HTML oder Suchparametern. */
body:not(.home-v2) #suchfeld {
  display:block !important;box-sizing:border-box !important;
  margin:0 0 25px !important;padding:24px 26px !important;
  background:#fff !important;border:1px solid #dde7ee !important;
  border-radius:0 14px 14px 14px !important;
  box-shadow:0 5px 22px #1230420a !important;color:#172d3d;
}
body:not(.home-v2) #suchfeld > .grid:not(.submitButton) {
  display:grid !important;
  grid-template-columns:minmax(0,1.8fr) minmax(160px,1fr) minmax(160px,1fr) !important;
  gap:16px !important;margin:0 !important;align-items:end;
}
body #suchfeld > .grid > [class*="col-"] {
  width:auto !important;float:none !important;max-width:none !important;
  min-width:0 !important;margin:0 !important;padding:0 !important;
}
body #suchfeld label{display:block !important;margin:0 0 7px !important;font-size:13px !important;font-weight:750 !important;color:#15394f !important}
body #suchfeld .col-5-12{display:flex !important;flex-wrap:wrap !important;gap:7px !important;align-items:end}
body #suchfeld .col-5-12 > label{flex-basis:100%}
body #suchfeld .suche{flex:1 1 0 !important;min-width:0 !important;margin:0 !important}
body #suchfeld select {
  display:block !important;box-sizing:border-box !important;
  width:100% !important;max-width:100% !important;min-width:0 !important;
  height:48px !important;margin:0 !important;padding:0 10px !important;
  border:1px solid #cbd9e3 !important;border-radius:9px !important;
  background:#fff !important;color:#172d3d !important;
  font-size:15px !important;box-shadow:none !important;
}
body #suchfeld select:focus-visible{outline:3px solid #ef812466 !important;outline-offset:1px !important;border-color:#ef8124 !important}
body #suchfeld > .grid.submitButton {display:flex !important;justify-content:flex-end !important;margin-top:18px !important;padding:0 !important}
body #suchfeld > .grid.submitButton > .submitButton{width:auto !important;float:none !important;margin:0 !important;padding:0 !important}
body #suchfeld input[type=submit]{display:block !important;min-height:48px !important;min-width:220px !important;width:auto !important;max-width:100% !important;margin:0 !important;padding:12px 25px !important;border:1px solid #ef8124 !important;border-radius:9px !important;background:#ef8124 !important;color:#fff !important;font-size:15px !important;line-height:1.2 !important;font-weight:600 !important;cursor:pointer !important;box-shadow:none !important}
body #suchfeld input[type=submit]:hover{background:#d86e17 !important;border-color:#d86e17 !important}
body #suchfeld input[type=submit]:focus-visible{outline:3px solid #ef8124 !important;outline-offset:3px !important}

/* Der Startseiten-Suchblock steht in einer Hero-Karte, darum eigene Spalten. */
body.home-v2 #suchfeld{border-radius:12px !important;margin-bottom:0 !important;padding:0 !important;border:0 !important;box-shadow:none !important}
body.home-v2 #suchfeld > .grid{grid-template-columns:1fr !important;gap:14px !important}
body.home-v2 #suchfeld > .grid.submitButton,body.home-v2 #suchfeld > .grid.submitButton > .submitButton{width:100% !important}
body.home-v2 #suchfeld input[type=submit]{width:100% !important}

@media(max-width:900px){
  body:not(.home-v2) #suchfeld > .grid:not(.submitButton){grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body:not(.home-v2) #suchfeld .col-5-12{grid-column:1/-1}
}
@media(max-width:600px){
  :root{--rs-shell-padding:12px}
  body:not(.home-v2) .v2-search-brand-link{font-size:21px !important}
  body:not(.home-v2) .reiter{gap:6px !important;margin-top:4px !important}
  body:not(.home-v2) .reiter > .reiter-text > a{font-size:13px !important;padding:9px 10px !important;min-height:43px !important}
  body:not(.home-v2) #suchfeld{padding:17px !important}
  body:not(.home-v2) #suchfeld > .grid:not(.submitButton){grid-template-columns:minmax(0,1fr) !important;gap:14px !important}
  body:not(.home-v2) #suchfeld > .grid:not(.submitButton) > [class*="col-"]{grid-column:1/-1 !important;width:100% !important}
  body:not(.home-v2) #suchfeld > .grid:not(.submitButton) > .col-5-12{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important}
  body:not(.home-v2) #suchfeld .col-5-12 > label{grid-column:1/-1 !important;margin-bottom:0 !important}
  body:not(.home-v2) #suchfeld .col-5-12 > .suche{display:block !important;flex:none !important;width:100% !important;min-width:0 !important;max-width:100% !important;margin:0 !important;padding:0 !important}
  body:not(.home-v2) #suchfeld select{height:50px !important;padding:0 25px 0 10px !important;font-size:16px !important;text-overflow:ellipsis}
  body:not(.home-v2) #suchfeld > .grid.submitButton,
  body:not(.home-v2) #suchfeld > .grid.submitButton > .submitButton,
  body:not(.home-v2) #suchfeld input[type=submit]{width:100% !important;min-width:0 !important}
}

/* V1.4 – einheitliche, gut lesbare Textlinks in Inhaltsbereichen.
   Suchreiter, Logo und Aktionsbuttons bleiben unveraendert. */
:root { --rs-link: #a94708; --rs-link-hover: #793305; }
body.manufacturer-v2 .herst a,
body.manufacturer-v2 .profile a,
body.manufacturer-v2 .prTable a,
body.manufacturer-v2 .box_i p a,
body.profile-v2 .profile-main a:not(.profile-outline-button) {
  color: var(--rs-link) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.manufacturer-v2 .herst a:hover,
body.manufacturer-v2 .profile a:hover,
body.manufacturer-v2 .prTable a:hover,
body.manufacturer-v2 .box_i p a:hover,
body.profile-v2 .profile-main a:not(.profile-outline-button):hover {
  color: var(--rs-link-hover) !important;
  text-decoration-thickness: 2px;
}
body.manufacturer-v2 .herst a:focus-visible,
body.manufacturer-v2 .profile a:focus-visible,
body.manufacturer-v2 .prTable a:focus-visible,
body.profile-v2 .profile-main a:focus-visible {
  outline: 2px solid #ef8124; outline-offset: 3px;
}

/* V1.5: Hersteller-Beschreibung und eingebettete Links */
body.manufacturer-v2 .manufacturer-description {line-height:1.65;overflow-wrap:anywhere;margin-bottom:0.75rem;}
body.manufacturer-v2 .manufacturer-description a {color:#a94708!important;text-decoration:underline!important;text-underline-offset:2px;font-weight:600;}
body.manufacturer-v2 .manufacturer-description a:hover {color:#793305!important;}

/* V1.7: Einheitliche Textlink-Farbe auf allen modernen Seitentypen.
   Buttons, Suchreiter und Logo sind bewusst ausgenommen. */
body.results-v2 a:not(.shop-button):not(.v2-search-brand-link):not(.seite-rot):not(.seite-schw),
body.detail-v2 a:not(.shop-button):not(.v2-search-brand-link),
body.reifentest-v2 a:not(.rt-button):not(.v2-search-brand-link),
body.lexikon-v2 a:not(.v2-search-brand-link),
body.profile-v2 .profile-main a:not(.profile-outline-button),
body.manufacturer-v2 .manufacturer-description a,
body.manufacturer-v2 .herst a,
body.manufacturer-v2 .profile a,
body.home-v2 .size-links a {color:#a94708!important;text-decoration:underline;text-underline-offset:2px}
body.results-v2 a:not(.shop-button):not(.v2-search-brand-link):hover,
body.detail-v2 a:not(.shop-button):not(.v2-search-brand-link):hover,
body.reifentest-v2 a:not(.rt-button):not(.v2-search-brand-link):hover,
body.lexikon-v2 a:not(.v2-search-brand-link):hover,
body.profile-v2 .profile-main a:not(.profile-outline-button):hover,
body.manufacturer-v2 .manufacturer-description a:hover,
body.home-v2 .size-links a:hover {color:#793305!important}
/* Suchleiste, Aktionsbuttons und Hauptnavigation behalten ihr Erscheinungsbild. */
body #suchfeld a,body .reiter a,body .v2-search-brand a{ text-decoration:none!important }

