/*
Theme Name: Next
Theme URI: https://www.internetanbieter.de/
Description: Next Theme für internetanbieter.de - modernes Design mit Geist Font
Version: 1.0
Author: internetanbieter.de
Author URI: https://www.internetanbieter.de/
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: next
*/

/* -----------------------------------------------------------------------
   CSS Custom Properties
------------------------------------------------------------------------ */
:root {
  --primary: #1f5fff;
  --primary-700: #1648d4;
  --primary-50: #eef3ff;
  --accent: #ffd84d;
  --accent-2: #e06000;
  --ink: #0e1424;
  --ink-2: #2a3146;
  --muted: #6b7488;
  --line: #e6e9f0;
  --line-2: #f1f3f8;
  --bg: #f6f7fb;
  --card: #ffffff;
  --good: #16a34a;
  --warn: #f59e0b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,21,46,.04), 0 1px 1px rgba(15,21,46,.03);
  --shadow: 0 6px 24px -8px rgba(15,21,46,.12), 0 2px 6px rgba(15,21,46,.05);
  --shadow-lg: 0 24px 60px -20px rgba(15,21,46,.22), 0 8px 24px -12px rgba(15,21,46,.10);
}

/* geist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  src: url('css/font/geist-v4-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  src: url('css/font/geist-v4-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  src: url('css/font/geist-v4-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* geist-700 - latin */
@font-face {
  font-display: optional;
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  src: url('css/font/geist-v4-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* -----------------------------------------------------------------------
   Reset & Base
------------------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}
a.ink {
	color: var(--ink);
}
.extern::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 3px;
    vertical-align: middle;
    opacity: .55;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
}
/* -----------------------------------------------------------------------
   Animations
------------------------------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-in {
  animation: fadeUp .35s ease both;
}

/* -----------------------------------------------------------------------
   Layout Utilities
------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-good { color: var(--good); }
.text-warn { color: var(--warn); }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* -----------------------------------------------------------------------
   Buttons
------------------------------------------------------------------------ */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  opacity: .9;
}

.btn:active {
  transform: scale(.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(31,95,255,.25);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--primary-700);
  color: #fff !important;
  opacity: 1;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--line-2);
  color: var(--ink);
  opacity: 1;
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 20px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* -----------------------------------------------------------------------
   Cards
------------------------------------------------------------------------ */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

/* -----------------------------------------------------------------------
   Chips / Tags
------------------------------------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
}

.chip-good   { background: #e8f7ee; color: #0d7a3a; }
.chip-fiber  { background: #ecf3ff; color: var(--primary-700); }
.chip-cable  { background: #fff1e6; color: #b04500; }
.chip-dsl    { background: #f1f3f8; color: var(--ink-2); }
.chip-5g     { background: #f3eaff; color: #6b21a8; }
.chip-warn   { background: #fff7ed; color: #b45309; }
.chip-anschluss { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip-kabel  { background: #fff0db; color: #b85c00; }
.chip-lte    { background: #f0dbff; color: #6b00b8; }

/* -----------------------------------------------------------------------
   Form Fields
------------------------------------------------------------------------ */
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}

.field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary), white 80%);
}

.field input,
.field select {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  width: 100%;
  font-size: 16px;
}

.field input::placeholder {
  color: var(--muted);
}

.field-icon {
  color: var(--muted);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

/* Toggle */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: var(--shadow-sm);
}

.toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/* -----------------------------------------------------------------------
   Header (Desktop)
------------------------------------------------------------------------ */
.site-header {
  position: relative;
  top: 0;
  z-index: 300;
}
/* Hintergrund auf ::before auslagern — Header selbst hat kein backdrop-filter
   mehr, sodass wir seinen Stacking Context per JS deaktivieren können */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  clip-path: inset(0 0 var(--site-header-clip, 0px) 0);
}

.site-header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

header a.site-logo > span {display:none;}
header a.site-logo {
	width: 230px;
	height: 40px;
	margin: 12px 0;
	/*background: transparent url("/images/logo3.svg") center center no-repeat;*/
	background: transparent url("/images/logo3.svg") center center no-repeat;
}
header a.site-logo.weiss {
	background: transparent url("/images/logo3-weiss.svg") center center no-repeat;
}



/* Header search form (nexus searchform_head) */
.site-header-top {
  position: relative; /* anchor for ac_ort dropdown */
}

#searchform_head {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
}

#searchform_head .sfh-pill {
  display: flex;
  align-items: center;
  height: 42px;
  background: color-mix(in oklab, var(--primary), white 92%);
  border: 2px solid var(--primary);
  border-radius: 999px;
  padding: 0 4px 0 14px;
  gap: 6px;
  box-shadow: 0 4px 14px -4px color-mix(in oklab, var(--primary), transparent 60%);
  transition: box-shadow .15s;
}

#searchform_head .sfh-pill:focus-within {
  box-shadow: 0 4px 20px -4px color-mix(in oklab, var(--primary), transparent 35%);
}

#searchform_head .sfh-pill > svg {
  flex-shrink: 0;
  color: var(--primary);
}

#searchform_head .s_ort {
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  width: 200px;
  padding: 0 4px;
  outline: 0;
  height: 34px;
  box-shadow: none;
  transition: none;
}

#searchform_head .s_ort::placeholder {
  color: var(--muted);
  font-weight: 400;
}

/* ac_ort autocomplete — copied from nexus */
.ac_ort {
	display: block;
	position: fixed;
	z-index: 10000;
	width: 100vw;
	max-width: 1280px;
	font-size: 80%;
	padding: 0 40px;
	color: #555;
	top: 62px;
	left: 50%;
	transform: translateX(-50%);
}
/* Tarifvergleich PLZ-Autocomplete: unterhalb des Eingabefelds, nicht header-fixed */
#user-vw-wrap {
	position: relative;
}
.ac_ort_vergleich {
	position: absolute;
	top: 100%;
	left: 0;
	width: 280px;
	max-width: 90vw;
	padding: 0;
	transform: none;
}
.ac_ort ul {
	margin: 1px;
	padding: 0;
	list-style: none;
	background: #eee;
	border: 1px solid #416FA0;
}
.ac_ort li {
	margin-top: 0;
	margin-bottom: 0;
}
.ac_ort li span {
	display: block;
	font-size: 0.8em;
	color: #999;
	font-style: italic;
}
.ac_ort li, .autocomplete_modal li, #sidebar aside.widget .ac_ort li {
	display: block;
	clear: both;
}
.ac_ort li:not(:last-child), .autocomplete_modal li, #sidebar aside.widget .ac_ort li {
	padding-bottom: 1px;
}
.ac_ort a {
	width: 100%;
	display: block;
	padding: .4em 10px;
	text-decoration: none;
	color: #4678AD;
	background-color: #fff;
	text-align: left;
	text-shadow: none;
	font-weight: normal;
	font-size: 1.4em;
}
.autocomplete_modal ul li a {
	width: 100%;
	display: block;
	padding: 1em 20px;
	text-decoration: none;
	font-size: 1.5em;
	color: #fff;
	background-color: #4678AD;
	text-align: left;
	text-shadow: none;
}
.autocomplete_modal ul li a:hover {
	color: #416fa0;
	background-color: #fff;
}
.ac_ort a:not(.no):hover,
.ac_ort a.ac-active,
.autocomplete_modal a:hover {
	color: #fff !important;
	background-color: #416fa0;
	background-image: none;
	text-decoration: none;
}
#searchform_ort {
	position: relative;
}
.osaj_indic {
	display: none;
	position: absolute;
	top: 13px;
	right: 20px;
	width: 16px;
	height: 16px;
	z-index: 99999999;
	background-image: url(data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==);
}


/* Desktop Nav — second row below logo */
/* Desktop: header-nav als zweite Zeile */
.header-nav {
  padding: 0;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.header-nav ul li a:hover,
.header-nav ul li.current-menu-item a {
  background: var(--line-2);
  color: var(--primary);
  text-decoration: none;
}

/* Desktop-Dropdowns: Untermenüs erscheinen on hover/focus */
.header-nav .header-menu > li {
  position: relative;
}

/* Accordion-Toggle nur auf Mobile sichtbar */
.submenu-toggle {
  display: none;
}

.header-nav .sub-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  text-align: left;
  z-index: 1000;
}

.header-nav .header-menu > li:hover > .sub-menu,
.header-nav .header-menu > li:focus-within > .sub-menu,
.header-nav .sub-menu li:hover > .sub-menu,
.header-nav .sub-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .sub-menu li {
  position: relative;
  width: 100%;
}

.header-nav .sub-menu li a {
  white-space: nowrap;
}

/* Menü-Icons: Item mit Klasse mi-<name> bekommt SVG-Logo vor dem Text.
   Die mi-<name>→URL-Zuordnungen stehen gesammelt am Dateiende (auto-generiert). */
.header-nav .header-menu li[class*=" mi-"] > a,
.header-nav .header-menu li[class^="mi-"] > a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-nav .header-menu li[class*=" mi-"] > a::before,
.header-nav .header-menu li[class^="mi-"] > a::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 18px;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Zuordnung Klasse → Logo (Dateien aus /images/isp/150/). Klasse im Menü-Editor vergeben. */
.header-nav .mi-telekom > a::before           { background-image: url(/images/isp/150/telekom.svg); }
.header-nav .mi-1und1 > a::before             { background-image: url(/images/isp/150/1und1.svg); }
.header-nav .mi-o2 > a::before                { background-image: url(/images/isp/150/o2.svg); }
.header-nav .mi-vodafone > a::before          { background-image: url(/images/isp/150/vodafone.svg); }
.header-nav .mi-vodafone-kabel > a::before    { background-image: url(/images/isp/150/vodafone-kabel.svg); }
.header-nav .mi-maingau > a::before           { background-image: url(/images/isp/150/maingau-internet.svg); }
.header-nav .mi-ewe > a::before               { background-image: url(/images/isp/150/ewe.svg); }
.header-nav .mi-swb > a::before               { background-image: url(/images/isp/150/swb.svg); }
.header-nav .mi-osnatel > a::before           { background-image: url(/images/isp/150/osnatel.svg); }
.header-nav .mi-congstar > a::before          { background-image: url(/images/isp/150/congstar.svg); }
.header-nav .mi-mnet > a::before              { background-image: url(/images/isp/150/mnet.svg); }
.header-nav .mi-netcologne > a::before        { background-image: url(/images/isp/150/netcologne.svg); }
.header-nav .mi-netaachen > a::before         { background-image: url(/images/isp/150/netaachen.svg); }
.header-nav .mi-pyur > a::before              { background-image: url(/images/isp/150/pyur.svg); }
.header-nav .mi-eazy > a::before              { background-image: url(/images/isp/150/eazy.svg); }
.header-nav .mi-deutsche-glasfaser > a::before { background-image: url(/images/isp/150/deutsche-glasfaser.svg); }

/* 3. Ebene: Flyout seitlich neben dem Eintrag */
.header-nav .sub-menu .sub-menu {
  top: -7px;
  left: 100%;
  transform: translateX(6px);
}
.header-nav .sub-menu li:hover > .sub-menu,
.header-nav .sub-menu li:focus-within > .sub-menu {
  transform: translateX(0);
}

/* Desktop: Items inhaltsbreit (kein Umbruch), gleichmäßig über die volle Breite verteilt */
@media (min-width: 960px) {
  .header-nav .header-menu > li {
	flex-grow: 1;
	text-align: center;
  }
  .header-nav .header-menu > li > a {
    white-space: nowrap;
  }
}


/* Mobile App Bar */
.mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* Native Nav-Toggle: Custom Hamburger mit Morph-Animation (nur Mobile sichtbar) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.hbg-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #334155;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  flex-shrink: 0;
}

/* Geöffnet: Morph zu X */
.nav-toggle.is-open .hbg-top {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open .hbg-mid {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-open .hbg-bot {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* UberMenu-Toggle (Legacy): noch nötig für gecachte Seiten mit UberMenu-Markup */
.ubermenu-responsive-toggle {
  display: none !important;
}
@media (max-width: 959px) {
  .ubermenu-responsive-toggle {
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
  }
}
.ubermenu-responsive-toggle .ubermenu-icon-essential {
  display: none !important;
}
.ubermenu-responsive-toggle.ubermenu-responsive-toggle-open .hbg-top {
  transform: translateY(6.5px) rotate(45deg);
}
.ubermenu-responsive-toggle.ubermenu-responsive-toggle-open .hbg-mid {
  opacity: 0;
  transform: scaleX(0);
}
.ubermenu-responsive-toggle.ubermenu-responsive-toggle-open .hbg-bot {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* -----------------------------------------------------------------------
   Main Content Layout
------------------------------------------------------------------------ */
.site-main {
  min-height: 60vh;
  padding-bottom: 80px; /* space for tab bar on mobile */
}

.content-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Sidebar layout */
.content-with-sidebar {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.content-main {
  flex: 1;
  min-width: 0;
}

.content-sidebar {
  width: 260px;
  flex-shrink: 0;
  order: -1;
}

/* -----------------------------------------------------------------------
   Hero Section
------------------------------------------------------------------------ */
.hero {
  background: linear-gradient(160deg, var(--primary-50) 0%, #fff 60%);
  padding: 48px 0 40px;
}

/* City-page hero variant */
.hero--city {
  background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
}

/* Homepage hero: two-column layout */
.hero--home {
  background: linear-gradient(135deg, var(--primary-50) 0%, #f0f4ff 50%, #fff 100%);
  padding: 56px 0 52px;
  border-bottom: 1px solid var(--line);
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-home-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
  .hero--home {
    padding: 72px 0 64px;
  }
}

.hero-home-text { max-width: 560px; }
.hero-home-text .hero-headline { font-size: 2.4rem; }
@media (min-width: 768px)  { .hero-home-text .hero-headline { font-size: 2.9rem; } }
@media (min-width: 1024px) { .hero-home-text .hero-headline { font-size: 3.4rem; } }

.hero-home-search { width: 100%; }
.hero-home-search .search-card { max-width: 100%; }

/* Label above search fields */
.search-card-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 12px;
}

/* Section with tinted background */
.section--tinted {
  background: var(--bg);
}

/* Connection type cards: SVG icon wrapper */
.conn-card-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.conn-icon--fiber   { background: #e8f5e9; color: #16a34a; }
.conn-icon--cable   { background: #fff3e0; color: #d97706; }
.conn-icon--dsl     { background: #e3f2fd; color: #1f5fff; }
.conn-icon--5g      { background: #f3e8ff; color: #7c3aed; }
.conn-icon--tv      { background: #fff8e1; color: #b45309; }
.conn-icon--student { background: #fce7f3; color: #be185d; }

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
div.entry-content .eyebrow {
	margin-top: 30px;
}
.nowrap {
	white-space: nowrap;
}
.tarifdetails_main > div {
	display: flex;
	flex-direction: column;
}
.tarif-last-update {
	font-style: italic;
	font-size: 0.92em;
}
.img_anb_tarif {
    max-width: 110px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    display: block;
    /* Logo on white pill — matches design */
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 5px 8px;
    box-sizing: content-box;
}

/* ── YOAST FAQ: https://www.afteractive.com/blog/yoast-seos-faq-block-accordion ─── */
/* Frontend Styles */
.schema-faq-section > p {
	display: none;
}
.schema-faq-section {
  font-family: Arial;
  background: white;
  margin: 1rem 0;
  border: 2px solid rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.03);
}

.schema-faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity ease 0.25s;
  padding: 1rem;
}

.schema-faq-question:after {
  width: 16px;
  height: 20px;
  display: inline-block;
  margin-left: auto;
  margin-right: 5px;
  vertical-align: top;
  color: inherit;
  content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18l6-6-6-6"/></svg>');
  transition: transform 0.5s;
}

.schema-faq-question.expanded:after {
	display: inline-block; /* Required for rotation to take effect */
	transform: rotate(90deg); 
}

.schema-faq-question:hover {
  opacity: 0.75;
}

.schema-faq-answer {
  padding: 0 1rem 1rem 1rem;
  display: none;
}

.schema-faq-answer.default {
  display: block;
}

/* Backend Styles: Ensure all content is visible in the block editor */

.editor-styles-wrapper .schema-faq-question {
  cursor: text;
}

.editor-styles-wrapper .schema-faq-answer {
  display: block;
}
/* ── SectionHead: eyebrow+title+subtitle left, link right ─── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 0;
}
.section-head-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-head-link:hover { text-decoration: underline; }

/* ── Placeholder image (gradient + label) ─────────────────── */
.img-placeholder {
  height: 160px;
  border-radius: 14px 14px 0 0;
  position: relative;
  background: linear-gradient(135deg,
    hsl(var(--ph-hue, 220), 70%, 88%),
    hsl(calc(var(--ph-hue, 220) + 30), 60%, 78%)
  );
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: hsl(var(--ph-hue, 220), 35%, 30%);
}

.img-card .img-image {
  height: 160px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.img-card .img-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.img-card .img-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Image cards (Aktionen + Ratgeber) ───────────────────── */
.img-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .img-card-grid { grid-template-columns: repeat(3, 1fr); }
}

.img-card { padding: 0; overflow: hidden; cursor: pointer; }
.img-card-body { padding: 20px 22px 22px; }
.img-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}
.img-card-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.img-card-more {
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

/* ── Ratgeber: extra article link grid ───────────────────── */
.guide-links {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
@media (min-width: 600px) {
  .guide-links { grid-template-columns: repeat(3, 1fr); }
}
.guide-link {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .12s;
}
.guide-link:hover { color: var(--primary); }
@media (min-width: 600px) {
  .guide-link:nth-child(3n) { border-right: none; }
  .guide-link:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
}

/* ── Glasfaserausbau city cards ───────────────────────────── */
.fiber-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 600px) { .fiber-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .fiber-city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.fiber-city-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
  min-width: 0;
  transition: border-color .15s, transform .15s;
}
.fiber-city-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.fiber-city-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.fiber-city-name { font-size: 14.5px; font-weight: 700; }
.fiber-update-chip {
  margin-left: auto;
  font-size: 10.5px;
  padding: 2px 7px;
}
.fiber-city-state { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.fiber-city-note  { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

/* ── Schnellzugriff / Alles auf einen Blick ──────────────── */
/*
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 22px;
}
@media (min-width: 768px) {
  .quicklinks-grid { grid-template-columns: repeat(4, 1fr); }
}
.quicklinks-col-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quicklinks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.quicklinks-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.quicklinks-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--muted);
  border-right: 1.5px solid var(--muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.quicklinks-list a {
  color: inherit;
  text-decoration: none;
  transition: color .12s;
}
.quicklinks-list a:hover { color: var(--primary); }
*/

/* ── PYUR im Portrait ─────────────────────────────────────── */
.pyur-section { background: var(--bg); }

.pyur-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .pyur-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.pyur-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pyur-logo-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  height: 52px;
  display: grid;
  place-items: center;
}
.pyur-intro {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 28px;
}

.pyur-points { display: grid; gap: 14px; }
.pyur-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pyur-point-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary), white 88%);
  color: var(--primary-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pyur-point-title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.pyur-point-desc  { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Tariff table card */
.pyur-tariffs { padding: 0; overflow: hidden; }
.pyur-tariffs-head {
  background: linear-gradient(135deg, #2a3146, #0e1424);
  color: #fff;
  padding: 20px 24px;
}
.pyur-tariffs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 4px;
}
.pyur-tariffs-subtitle { font-size: 18px; font-weight: 700; }

.pyur-tariff-row {
  display: grid;
  grid-template-columns: 90px 1fr auto 16px;
  gap: 16px;
  padding: 16px 24px;
  align-items: center;
}
.pyur-tariff-row--border { border-top: 1px solid var(--line-2); }

.pyur-speed {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.pyur-unit   { font-size: 11px; color: var(--muted); font-weight: 500; }
.pyur-tariff-label { font-weight: 600; font-size: 13.5px; }
.pyur-tariff-sub   { font-size: 12px; color: var(--muted); }
.pyur-price  { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.pyur-tariffs-footer {
  padding: 16px 24px;
  background: var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pyur-footer-note { font-size: 12.5px; color: var(--muted); }

/* ── Homepage Promo Cards (Kabelfernsehen + Studentenrabatt) ── */
.home-promos {
  padding: 30px 0;
  background: #fff;
}
.home-promos-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 767px) {
  .home-promos-inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

.promo-card {
  border-radius: 22px;
  padding: 32px 36px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.promo-card--dark {
  background: linear-gradient(135deg, #1a1f33, #2a3146);
  color: #fff;
}
.promo-card--accent {
  background: linear-gradient(135deg, #ffd84d 0%, #ffb648 100%);
  color: #1a1408;
}

/* decorative glow circle on dark card */
.promo-card-glow {
  position: absolute;
  right: -40px; bottom: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,216,77,.25), transparent 65%);
  pointer-events: none;
}

/* decorative "%" on yellow card */
.promo-card-pct {
  position: absolute;
  right: 18px; top: 18px;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0,0,0,.08);
  pointer-events: none;
  user-select: none;
}

.promo-card-body { position: relative; }

.promo-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: inherit;
}
.promo-eyebrow--accent { color: var(--accent); }

.promo-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 10px;
}
.promo-card--dark  .promo-title { color: rgba(255,255,255,.75); }

.promo-desc {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 460px;
}
.promo-card--dark  .promo-desc { color: rgba(255,255,255,.75); }
.promo-card--accent .promo-desc { color: rgba(0,0,0,.7); }

.promo-card-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.promo-btn--light {
  background: #fff;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter .12s;
}
.promo-btn--light:hover { filter: brightness(.95); }

.promo-btn--dark {
  background: #1a1408;
  color: #ffd84d;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter .12s;
}
.promo-btn--dark:hover { filter: brightness(1.1); }

.promo-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.promo-chip {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.promo-saving {
  font-size: 12.5px;
  font-weight: 600;
}

/* Provider logos: text-based */
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 720px) {
  .hero-city-grid { grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
}

.hero-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-chips .chip { display: inline-flex; align-items: center; gap: 5px; }

.hero-headline {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.hero-city-name { color: var(--primary); }

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Stat card (right column) */
.hero-stat-card { padding: 22px; }

.hero-stat-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-kpi-tile {
  padding: 12px;
  background: var(--line-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-kpi-value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hero-kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

.hero-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--primary-50);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.hero-highlight-box svg { color: var(--primary); flex-shrink: 0; margin-top: 1px; }

/* Search Card */
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 24px;
  max-width: 600px;
}

.search-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.speed-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.speed-btn {
  appearance: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}

.speed-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

.speed-btn.active,
.speed-btn:checked {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* Trust Row */
.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.trust-icon {
  color: var(--good);
  font-size: 16px;
}

/* -----------------------------------------------------------------------
   How It Works Section
------------------------------------------------------------------------ */
.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* -----------------------------------------------------------------------
   Provider Strip
------------------------------------------------------------------------ */
.provider-strip {
  padding: 32px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.provider-strip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.provider-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 70vw;
  margin: 0 auto;
  padding: 0 16px;
}
@media (max-width: 900px) { .provider-logos { max-width: 90vw; } }

.provider-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: opacity .4s ease;
}

.provider-logo-item svg {
  width: 200px;
  height: 80px;
}

/* -----------------------------------------------------------------------
   Connection Type Cards
------------------------------------------------------------------------ */
.connection-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 600px) {
  .connection-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.conn-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.conn-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.conn-card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.conn-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.conn-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* -----------------------------------------------------------------------
   Tariff Cards
------------------------------------------------------------------------ */
.tariff-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  transition: box-shadow .15s;
}

.tariff-card:hover {
  box-shadow: var(--shadow);
}

.tariff-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tariff-provider-logo {
  height: 32px;
  width: auto;
}

.tariff-speed {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.tariff-speed-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.tariff-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.tariff-price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.tariff-price-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.tariff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tariff-details {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

/* -----------------------------------------------------------------------
   Shortcode: aktuelle DSL-Angebote
------------------------------------------------------------------------ */
.aktangebot-list { display: flex; flex-direction: column; gap: 10px; }
.aktangebot-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "info btn" "bonus btn";
  align-items: center;
  gap: 4px 16px;
  padding: 14px 18px;
}
.aktangebot-info  { grid-area: info;  display: flex; align-items: center; gap: 8px; min-width: 0; }
.aktangebot-bonus { grid-area: bonus; font-weight: 700; font-size: 15px; color: #16a34a; }
.aktangebot-card .btn { grid-area: btn; align-self: center; }
.aktangebot-info .fiber-badge { flex-shrink: 0; }
a.aktangebot-name { font-weight: 600; font-size: 14px; color: var(--ink) !important; text-decoration: none; min-width: 0; }
a.aktangebot-name:hover { color: var(--primary); text-decoration: none; }
.aktangebot-bonus-item { white-space: nowrap; }
.aktangebot-plus { color: var(--muted); font-weight: 400; margin: 0 2px; }
@media (max-width: 600px) {
  .aktangebot-card { grid-template-columns: 1fr; grid-template-areas: "info" "bonus" "btn"; }
  .aktangebot-card .btn { width: 100%; }
  .aktangebot-bonus { display: flex; flex-direction: column; gap: 1px; }
}

/* -----------------------------------------------------------------------
   Sidebar Filters
------------------------------------------------------------------------ */
/*
.sidebar-filter {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 16px;
}

.sidebar-filter-header {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-filter-body {
  padding: 12px 16px;
}
*/
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--primary);
}

/* autocompleter */
.s_ort {
	padding: 20px;
	border: 1px solid #416fa0;
}
#s_ort_ovl {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(56,95,137,0.7);
	z-index: 9999;
}
.ajaxloader_overlay {
	display: none;
	position: absolute;
	background-color: rgba(250,250,250,0.8);
	width: 100%;
	height: 100%;
	z-index: 250;
}
.ajaxloader_overlay div {
	position: absolute;
	margin-left: calc(50% - 50px);
	margin-top: 20px;
	border: 4px solid #053567;
	opacity: 1;
	border-radius: 50%;
	animation: ajaxloader_overlay 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.ajaxloader_overlay div:nth-child(2) {
	animation-delay: -0.5s;
}
@keyframes ajaxloader_overlay {
	0% {
		top: 50px;
		left: 50px;
		width: 0;
		height: 0;
		opacity: 1;
	}
	100% {
		top: -1px;
		left: -1px;
		width: 102px;
		height: 102px;
		opacity: 0;
	}
}
.ac_results {
	padding: 0px;
	position: relative;
	border: 1px solid #204182;
	background-color: #e1e6f0;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 255px;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 5px 5px;
	cursor: default;
	display: block;
	font: menu;
	font-size: 14px;
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('/images/ajax-loader.gif') right center no-repeat;
}

.ac_odd {
	background-color: #d1dcf1;
}

.ac_over {
	background-color: #204182;
	color: #fff;
}

/* -----------------------------------------------------------------------
   City Page - Breadcrumb
------------------------------------------------------------------------ */
.breadcrumbs {
	border-bottom:1px solid var(--line-2);
	background:#fff;
}
.breadcrumbs-inner {
	max-width:1280px;
	margin:0 auto;
	padding:13px 40px;
	display:flex;
	align-items:center;
	gap:8px;
	font-size:12.5px;
	color:var(--muted);
}
.breadcrumb {
  color:var(--muted);
  text-decoration:none;
  font-weight:500
}

.breadcrumb-last {
	color:var(--ink);
	font-weight:600;
}

/* -----------------------------------------------------------------------
   City Page - KPI Tiles
------------------------------------------------------------------------ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.kpi-tile {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 16px;
  text-align: center;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 2px;
}

.kpi-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* -----------------------------------------------------------------------
   City Page - Technology section
------------------------------------------------------------------------ */
.tech-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  background: var(--line-2);
  color: var(--muted);
  border: 1px solid var(--line);
  line-height: 1;
}

.tech-chip--active {
  background: color-mix(in oklab, var(--primary), white 88%);
  color: var(--primary);
  border-color: color-mix(in oklab, var(--primary), white 70%);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 700px) {
  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.coverage-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.coverage-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.coverage-rows {
  display: grid;
  gap: 8px;
}

.coverage-row {
  display: grid;
  grid-template-columns: 90px 1fr 44px;
  gap: 10px;
  align-items: center;
}

.coverage-speed {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.coverage-bar-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-2);
  overflow: hidden;
}

.coverage-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.coverage-pct {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.coverage-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* -----------------------------------------------------------------------
   City Page - WLAN section
------------------------------------------------------------------------ */
.wlan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .wlan-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.wlan-map-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: linear-gradient(135deg, #c7d6f0, #d8e7c7 60%, #e8d5b9);
}

.wlan-map-wrap #hotspot_wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nach Klick auf "Karte anzeigen": Map-Div füllt den Container */
.wlan-map-wrap #hotspot_wrapper #hotspot_map,
.wlan-map-wrap #hotspot_wrapper > div:not(.cookie-placeholder-wrapper) {
  width: 100%;
  height: 100%;
  padding: 0;
}

.wlan-map-wrap .cookie-placeholder-wrapper {
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 300px;
  width: 100%;
}

.wlan-map-wrap .cookie-placeholder-description {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.wlan-map-wrap .cookie-placeholder-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.wlan-map-wrap .cookie-placeholder-button:hover {
  background: var(--primary-700);
}

.wlan-map-label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 11px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

/* -----------------------------------------------------------------------
   City Page - Tabs
------------------------------------------------------------------------ */
/* ── Mobile Sticky CTA Bar ───────────────────────────────────── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
  z-index: 900;
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.sticky-cta-bar.is-visible {
  transform: translateY(0);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
}
.sticky-cta-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.sticky-cta-ep {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.sticky-cta-label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-tabs {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 56px;
  z-index: 80;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-tabs::-webkit-scrollbar {
  display: none;
}

.page-tabs-inner {
  display: flex;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-tab {
  display: block;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  text-decoration: none;
}

.page-tab:hover,
.page-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

/* -----------------------------------------------------------------------
   FAQ Accordion
------------------------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* -----------------------------------------------------------------------
   Footer
------------------------------------------------------------------------ */
.site-footer {
  background: #fff;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.site-footer .headline {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding: 0;
  border: none;
}
/*
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: none;
}
*/
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: var(--muted);
}
/*
.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--ink);
}
*/
/* -----------------------------------------------------------------------
   Blog / Loop
------------------------------------------------------------------------ */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
}

.post-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-thumb-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.post-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.post-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination — .pagination helper + WordPress ul.page-numbers */
.pagination-wrap {
	margin-top: 30px;
}
.pagination,
ul.page-numbers {
  list-style: none;
  margin: 32px 0 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination a,
.pagination span,
ul.page-numbers li a.page-numbers,
ul.page-numbers li span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

/* Current page */
.pagination .current,
ul.page-numbers li span.current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Hover */
.pagination a:hover,
ul.page-numbers li a.page-numbers:hover {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary);
}

/* Dots (…) */
ul.page-numbers li span.dots {
  border: none;
  background: transparent;
  color: var(--muted);
  letter-spacing: .05em;
}

/* Prev / Next arrows */
ul.page-numbers li a.prev,
ul.page-numbers li a.next {
  font-size: 16px;
  color: var(--muted);
}

ul.page-numbers li a.prev:hover,
ul.page-numbers li a.next:hover {
  color: var(--primary);
}

/* -----------------------------------------------------------------------
   404 Page
------------------------------------------------------------------------ */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 16px;
}

.error-code {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

/* -----------------------------------------------------------------------
   Neighboring Cities
------------------------------------------------------------------------ */
/*
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.city-chip {
  display: block;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color .15s, color .15s;
  text-align: center;
}

.city-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}
*/
/* -----------------------------------------------------------------------
   Responsive: Tablet (768px+)
------------------------------------------------------------------------ */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  h1 { font-size: 2.5rem; }

  .hero {
    padding: 64px 0 52px;
  }
  .hero--city {
    padding: 52px 0 44px;
  }

  .hero-headline {
    font-size: 2.75rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .provider-logos {
    grid-template-columns: repeat(6, 1fr);
  }

  .connection-types {
    grid-template-columns: repeat(3, 1fr);
  }

  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -----------------------------------------------------------------------
   Responsive: Desktop (1024px+)
------------------------------------------------------------------------ */
@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }

	footer aside .container {
		padding: 0px 20px;
		line-height: 1.2rem;
	}
	
  /* Show desktop header, hide mobile bar */
  .mobile-bar {
    display: none;
  }

  .tab-bar {
    display: none;
  }

  .site-header-inner {
    padding: 0 40px;
  }

  .site-main {
    padding-bottom: 0;
  }

  .hero-inner {
    padding: 0 40px;
  }

  .hero-headline {
    font-size: 3.25rem;
  }
  .hero--city .hero-headline {
    font-size: 2.75rem;
  }

  .search-fields {
    flex-direction: row;
  }

  .search-fields .field {
    flex: 1;
  }

  .content-wrap {
    padding: 0 40px;
  }

  .footer-grid {
    grid-template-columns: 3fr 2fr 2fr 2fr;
  }

  .page-tabs {
    top: 0;
  }
}

/* -----------------------------------------------------------------------
   Responsive: Mobile only (≤ 1023px)
------------------------------------------------------------------------ */
@media (max-width: 1023px) {
  .content-sidebar {
    display: none;
  }

  .mobile-bar {
    display: none;
  }

  .site-header {
    display: block;
    position: sticky;
    top: 0;
  }

  .site-header-inner {
    padding: 0 16px;
    max-width: none;
	z-index: 100000;
  }

  #searchform_head .sfh-pill {
    width: 100%;
    box-sizing: border-box;
  }

  #searchform_head .s_ort {
    width: auto;
    flex: 1;
  }
}

/* ≤ 959px: Mobile-Layout (UberMenu-Breakpoint) */
@media (max-width: 959px) {
  /* Header-Container fängt auf Mobile selbst keine Klicks ab — nur die echten
     interaktiven Kinder (Logo, Suchfeld, Menü) sind klickbar. So lässt der
     weggeclippte (unsichtbare) Suchfeld-Bereich Klicks auf den Inhalt dahinter
     durch, während Logo und Menü immer klickbar bleiben. */
  .site-header { pointer-events: none; }

  /* Row 1: Logo links, Toggle-Button absolut rechts */
  .site-header-top > a.site-logo {
    order: 1;
    pointer-events: auto;
  }

  /* Row 2: Suchfeld — volle Breite, scrollt weg via JS */
  #searchform_head {
    order: 2;
    flex-basis: 100%;
    margin-left: 0;
    padding: 10px 0;
    overflow: hidden;
    pointer-events: auto;
  }

  .site-header.search-hidden #searchform_head {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Sticky handoff: page-tabs folgt der Header-Höhe via JS-Variable */
  .page-tabs {
    top: var(--site-header-h, 64px);
  }
  .page-tabs-inner { padding: 0 16px; }

  /* header-nav: absolut oben-rechts in der Logo-Zeile */
  .header-nav {
    position: absolute;
    top: 0;
    right: 16px;
    height: 64px;
    display: flex;
    align-items: center;
    z-index: 100000000;
    pointer-events: auto;
  }

  /* Hamburger-Button auf Mobile sichtbar */
  .nav-toggle {
    display: flex;
  }

  /* Autocomplete dropdown: direkt unter dem sichtbaren Header */
  .ac_ort {
    top: var(--site-header-h, 120px);
    padding: 0 16px;
    margin-top: 0;
    z-index: 100000;
  }
  .ac_ort_vergleich {
		top: 0;
		margin-top: 40px;
		padding-left: 0;
	}
}

/* UberMenu auf Mobile: fixed unterhalb des Headers (nur ≤ 959px = UberMenu-Breakpoint) */
@media (max-width: 959px) {
  .header-nav .ubermenu {
    position: fixed !important;
    top: var(--site-header-h, 64px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: calc(100vh - var(--site-header-h, 64px));
    overflow-y: auto;
    background: #fff;
    z-index: 299;
    box-shadow: var(--shadow-lg);
  }
}

/* Native Navigation auf Mobile: Slide-in-Panel + Accordion (≤ 959px) */
@media (max-width: 959px) {
  .header-nav .header-menu {
    position: fixed;
    top: var(--site-header-h, 64px);
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(100vh - var(--site-header-h, 64px));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 299;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  .site-header.nav-open .header-menu {
    transform: translateX(0);
    visibility: visible;
  }

  /* Menüeinträge: volle Breite, Trennlinien */
  .header-nav .header-menu li {
    position: relative;
    width: 100%;
  }

  .header-nav .header-menu a {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .header-nav .header-menu a:hover,
  .header-nav .header-menu li.current-menu-item > a {
    background: var(--line-2);
  }

  /* Desktop-Caret ausblenden — auf Mobile übernimmt der Toggle-Button */
  .header-nav .menu-item-has-children > a::after {
    display: none;
  }

  /* Accordion-Toggle-Button (per next.js eingefügt) */
  .header-nav .submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 54px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    color: var(--ink-2);
  }
  .header-nav .submenu-toggle svg {
    transition: transform .2s ease;
  }
  .header-nav .submenu-toggle.is-open svg {
    transform: rotate(180deg);
  }

  /* Untermenüs: eingeklappt (Accordion), volle Breite */
  .header-nav .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--line-2);
    transition: none;
  }
  .header-nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }
  .header-nav .sub-menu a {
    padding-left: 36px;
    font-size: 15px;
  }
  .header-nav .sub-menu .sub-menu a {
    padding-left: 52px;
  }
}

/* -----------------------------------------------------------------------
   WordPress Utility Classes
------------------------------------------------------------------------ */
.alignleft  { float: left; margin-right: 1em; }
.alignright { float: right; margin-left: 1em; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide  { max-width: 100%; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }

.wp-caption {
  max-width: 100%;
  background: var(--line-2);
  padding: 8px;
  border-radius: var(--radius);
}

.wp-caption-text {
  font-size: 12.5px;
  color: var(--muted);
  margin: 6px 0 0;
  text-align: center;
}

.gallery-item img {
  border-radius: 8px;
}

.entry-content img {
  border-radius: 8px;
}

/* Gutenberg blocks */
.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.wp-block-pullquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  font-style: italic;
  color: var(--ink-2);
}

/* -----------------------------------------------------------------------
   Mobilfunk (LTE / 5G)
------------------------------------------------------------------------ */
.lte-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (min-width: 600px) {
    .lte-grid { grid-template-columns: 1fr 1fr; }
}
.lte-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.lte-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.lte-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}
.lte-row--border { border-top: 1px solid var(--line-2); }
.lte-provider {
    font-size: 13px;
    font-weight: 600;
    width: 72px;
    flex-shrink: 0;
}
.lte-bar-track {
    flex: 1;
    height: 8px;
    background: var(--line-2);
    border-radius: 4px;
    overflow: hidden;
}
.lte-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .4s ease;
}
.lte-pct {
    font-size: 12.5px;
    font-weight: 700;
    width: 58px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   Glasfaserausbau-Tabelle
------------------------------------------------------------------------ */
.fiber-table {
    padding: 0;
    overflow: hidden;
}

/* Header: einfaches 2-Spalten-Grid, Bar + Datum auf Mobile ausgeblendet */
.fiber-header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
    background: var(--line-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    align-items: center;
}
.fiber-header .fiber-col-bar,
.fiber-header .fiber-col-date { display: none; }

/* Rows: Flex-Wrap-Layout — Zeile 1: Name + Anteil, Zeile 2: Bar volle Breite */
.fiber-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 7px;
    padding: 11px 16px;
}
.fiber-row--border { border-top: 1px solid var(--line-2); }

/* name: nimmt verfügbare Breite (flex:1), pct (order:1) sitzt rechts daneben */
.fiber-name {
    flex: 1;
    min-width: 0;
    order: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.fiber-name::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: var(--primary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.fiber-einwohner {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}
.fiber-sub-ortsteile {
    flex: 0 0 100%;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    padding-left: 18px;
    line-height: 1.5;
}

.gf-news-section + .gf-news-section--border {
    border-top: 1px solid var(--line-2);
    margin-top: 24px;
    padding-top: 24px;
}
.gf-news-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary, #1e4ab3);
    background: rgba(30, 74, 179, 0.08);
    border-radius: 3px;
    padding: 2px 7px;
    margin-bottom: 8px;
}

/* pct: order:1 → rechts neben dem Namen auf Zeile 1 */
.fiber-col-pct {
    order: 1;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--ink-2);
    white-space: nowrap;
}

/* Datum: order:2 → erscheint unter dem Namen; kein Datum → ausgeblendet */
.fiber-col-date {
    order: 2;
    width: 100%;
}
.fiber-col-date:not(:has(.fiber-date-label)) { display: none; }
.fiber-col-date .fiber-date-label {
    font-size: 12px;
    color: var(--muted);
    font-style: normal;
}

/* bar/badge: order:3 + width:100% → bricht auf letzte Zeile durch */
.fiber-col-bar {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fiber-avail {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fiber-bar-track {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: var(--line-2);
    overflow: hidden;
}
.fiber-bar-fill {
    height: 100%;
    background: #0096C8;
    border-radius: 999px;
}
.fiber-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
}
.fiber-badge--status-available { background: color-mix(in oklab, #16a34a, white 88%); color: #16a34a; }
.fiber-badge--status-planned   { background: color-mix(in oklab, var(--primary), white 88%); color: var(--primary); }
.fiber-badge--status-unknown,
.fiber-badge--status-none      { background: var(--line-2); color: var(--muted); }
.fiber-date-label { font-size: 13px; color: var(--ink-2); font-style: italic; }
.fiber-date-none  { font-size: 13px; color: var(--muted); font-style: italic; }

/* Ab 700 px: 4-Spalten-Grid */
@media (min-width: 700px) {
    .fiber-header {
        grid-template-columns: 1fr 150px 170px 90px;
    }
    .fiber-header .fiber-col-bar,
    .fiber-header .fiber-col-date { display: block; }
    .fiber-row {
        display: grid;
        grid-template-columns: 1fr 150px 170px 90px;
        column-gap: 0;
        row-gap: 0;
        padding: 13px 18px;
        align-items: center;
    }
    .fiber-name    { order: 0; flex: none; }
    .fiber-col-bar { order: 0; max-width: 90%; display: flex; }
    .fiber-col-pct { order: 0; }
    .fiber-col-date { order: 0; width: auto; display: block; }
    .fiber-col-date:not(:has(.fiber-date-label)) { display: block; }
    .fiber-col-date .fiber-date-label {
        font-size: 13px;
        color: var(--ink-2);
        font-style: italic;
    }
}

/* -----------------------------------------------------------------------
   Stadtportrait
------------------------------------------------------------------------ */
.portrait-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}
@media (min-width: 600px) {
    .portrait-grid:not(.portrait-grid--no-img) {
        grid-template-columns: 240px 1fr;
    }
}
.portrait-img img,
.portrait-img figure img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}
.portrait-img figure {
    margin: 0;
}
.portrait-content {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-2);
    min-width: 0;
}
.portrait-text > p { margin-bottom: 14px; }
.portrait-text > p:last-child { margin-bottom: 0; }
.portrait-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    margin-top: 20px;
    margin-bottom: 4px;
}
.portrait-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.portrait-fact-k {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
}
.portrait-fact-v {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.portrait-fact-v a {
    color: var(--primary);
    text-decoration: none;
}
.portrait-fact-v a:hover { text-decoration: underline; }
.portrait-details {
    margin-top: 18px;
    border-top: 1px solid var(--line-2);
    padding-top: 14px;
}
.portrait-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.portrait-details summary::-webkit-details-marker { display: none; }
.portrait-details summary::before {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    color: var(--primary);
    transition: transform .2s;
    display: inline-block;
}
details[open].portrait-details summary::before {
    transform: rotate(45deg);
}
.portrait-details-body {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.7;
}

/* -----------------------------------------------------------------------
   In der Nähe
------------------------------------------------------------------------ */
.nearby-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
@media (min-width: 380px) { .nearby-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 540px) { .nearby-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .nearby-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .nearby-grid { grid-template-columns: repeat(5, 1fr); } }

.nearby-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
    transition: border-color .15s;
    min-width: 0;
}
.nearby-card:hover { border-color: var(--primary); }
.nearby-name {
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nearby-km {
    font-size: 11.5px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   FAQ Accordion
------------------------------------------------------------------------ */
.faq-list {
    display: grid;
    gap: 10px;
}
.faq-item {
    padding: 0;
}
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background-color: var(--muted);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: transform .2s ease;
}
details[open].faq-item .faq-chevron {
    transform: rotate(90deg);
}
.faq-answer {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
}
.faq-answer p { margin: 0; }

/* -----------------------------------------------------------------------
   Speedtest-Ergebnisse
------------------------------------------------------------------------ */
.speed-table {
    padding: 0;
    overflow: hidden;
}
.speed-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    padding: 12px 16px;
}
.speed-row--border { border-top: 1px solid var(--line-2); }
.speed-provider {
    order: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.speed-logo-box {
    display: grid;
    place-items: center;
    height: 26px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    flex-shrink: 0;
}
.speed-logo-box img {
    height: 16px;
    width: auto;
    display: block;
}
.speed-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.speed-pct {
    order: 1;
    font-size: 15px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.speed-bar-track {
    order: 2;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var(--line-2);
    overflow: hidden;
}
.speed-bar-fill {
    height: 100%;
    border-radius: 999px;
}
.speed-tests { display: none; }

/* -----------------------------------------------------------------------
   Anbieter-Übersicht (ProviderListCol)
------------------------------------------------------------------------ */
.provider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 500px) { .provider-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 780px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }

.provider-col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.provider-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.provider-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    transition: background .15s;
    cursor: default;
}
.provider-list-item:hover { background: var(--line-2); }
.provider-list-item::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    background-color: var(--muted);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* -----------------------------------------------------------------------
   Provider Comparison Table
------------------------------------------------------------------------ */
.provider-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.provider-table th {
  text-align: left;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.provider-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.provider-table tr:last-child td { border-bottom: none; }
.provider-table .provider-name { font-weight: 600; }
.provider-table .speed-value { font-weight: 700; color: var(--primary); white-space: nowrap; }
.provider-table .price-value { white-space: nowrap; }
.tech-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  margin: 1px 2px 1px 0;
  white-space: nowrap;
}

@media (min-width: 560px) {
    .speed-row {
        display: grid;
        grid-template-columns: 180px 1fr 70px 65px;
        column-gap: 16px;
        row-gap: 0;
        padding: 14px 22px;
        align-items: center;
    }
    .speed-provider { flex: none; }
    .speed-bar-track { order: 0; width: auto; }
    .speed-pct      { order: 0; }
    .speed-tests    { order: 0; display: block; font-size: 12px; color: var(--muted); text-align: right; }
}

/* ── Internettarife ──────────────────────────────────────────── */
.tarife-section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.tarife-section-head .section-title { margin: 0; }

.tarife-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 2000px;
}

.tarife-card { padding: 20px; border: 1px solid var(--primary) }

.tarife-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.tarife-logo-box {
    height: 50px;
    min-width: 90px;
    padding: 6px 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.tarife-logo-box img { max-width: 100%; max-height: 50px; object-fit: contain; }
.tarife-name-fallback { font-size: 12px; font-weight: 700; color: var(--ink-2); }

.tarife-card-meta { flex: 1; min-width: 0; }
.tarife-provider-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tarife-all-link { font-size: 12px; color: var(--primary); font-weight: 600; text-decoration: none; }
.tarife-all-link:hover { text-decoration: underline; }

.tarife-rows {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    row-gap: 0;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    overflow: hidden;
}
.tarife-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    column-gap: 12px;
    padding: 12px 14px;
    align-items: flex-start;
    background: #fff;
}
.tarife-row--border { border-top: 1px solid var(--line-2); }
.tarife-row-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; min-width: 0; }
.tarife-row-speed-col { min-width: 0; }
.tarife-row-speed { font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.tarife-row-price { display: none; }
.tarife-row-btn { flex-shrink: 0; }

/* CTA pill button */
.tarife-row-btn a.tarife-price-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    background: var(--accent-2);
    color: #fff;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--accent), transparent 40%);
    transition: transform .15s ease;
}
.tarife-row-btn a.tarife-price-btn:hover { transform: translateY(-1px); text-decoration: none; }
.tarife-row-btn a.tarife-price-btn span { font: inherit; color: inherit; }
.tarife-row-btn a.tarife-price-btn::before { content: "» "; position: relative; left: -7px; }
@media (min-width: 700px) {
    .tarife-row-btn { display: flex; }
    .tarife-row-btn a.tarife-price-btn { flex: 1; justify-content: center; }
}

.tarife-action {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: color-mix(in oklab, var(--primary), white 90%);
    border: 1px solid color-mix(in oklab, var(--primary), white 75%);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--ink-2);
}
.tarife-action svg { flex-shrink: 0; color: var(--primary); margin-top: 1px; }
.tarife-action strong { color: var(--primary); }

.tarife-telflat {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}
.tarife-telflat--yes { color: var(--good); }
.tarife-telflat--no  { color: var(--muted); }
.tarife-telflat > svg { margin-right: 5px; }

/* noprov toggle button: nur auf Mobilgeräten sichtbar */
.tarife-noprov-toggle { display: none; }
@media (max-width: 720px) {
    .tarife-noprov-toggle { display: block; margin-top: 16px; text-align: center; }
    .tarife-filter-speed { width: 100%; }
}

/* Mobile: 2 Tarife pro Anbieter nebeneinander statt untereinander */
@media (max-width: 699px) {
    .tarife-card-head {  }
	.tarife-card-head {
		display: block;
		justify-content: center;
		text-align: center;
		margin-bottom: 14px;
	}
	.tarife-provider-name {
		margin: 10px auto 6px;
	}

    .tarife-rows {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, auto);
    }
    .tarife-row {
        grid-column: auto;
        grid-row: 1 / 5;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: subgrid;
        padding: 10px;
        gap: 15px;
    }
	.tarife-row-name {
		font-weight: 400;
	}
    .tarife-row--border {
        border-top: 0;
        border-left: 1px solid var(--line-2);
    }
    .tarife-row-speed { font-size: 14px; font-weight: 700; color: var(--ink); }
    .tarife-telflat { display: block; text-align: center; }
    .tarife-row-btn { display: flex; justify-content: center; align-items: flex-end; }
    .tarife-row-btn a.tarife-price-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ── Tarife Mini-Filter ──────────────────────────────────── */
.tarife-filter {
    display: flex;
    gap: 8px 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}
.tarife-filter-techs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.tarife-filter-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12.5px;
    background: var(--line-2);
    color: var(--muted);
    border: 1px solid var(--line);
    line-height: 1;
    transition: background .1s, color .1s, border-color .1s;
    white-space: nowrap;
}
.tarife-filter-btn:hover:not(.tarife-filter-btn--unavail) {
    background: color-mix(in oklab, var(--primary), white 92%);
    color: var(--primary);
    border-color: color-mix(in oklab, var(--primary), white 75%);
}
.tarife-filter-btn--active {
    background: color-mix(in oklab, var(--primary), white 85%);
    color: var(--primary);
    border-color: color-mix(in oklab, var(--primary), white 65%);
}
.tarife-filter-btn--unavail {
    opacity: .35;
    cursor: not-allowed;
}
.tarife-filter-speed {
    height: 34px;
    padding: 0 28px 0 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line-2)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 8px center;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    font-family: inherit;
}
.tarife-loading {
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
}

/* =======================================================================
   Anbieterseite: Tariftabelle (.tariftabelle-next)
   Stilistisch an der Vergleichstabelle orientiert, 4-spaltig
   ======================================================================= */

/* ── Spalten-Header ───────────────────────────────────────── */
.tariftabelle-next .table-row.table-head {
    display: grid;
    grid-template-columns: 160px minmax(0,1fr) minmax(0,1fr) 200px;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 6px;
    border-radius: 0;
}
.tariftabelle-next .table-head .table-cell {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 0 14px 8px;
    background: transparent;
}

/* ── Tarif-Card ───────────────────────────────────────────── */
.tariftabelle-next .table-row.tarif,
.tariftabelle-next .table-row.tarif_recom {
    display: grid;
    grid-template-columns: 160px minmax(0,1fr) minmax(0,1fr) 200px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: box-shadow .15s;
}
.tariftabelle-next .table-row.tarif:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* ── Zellen ───────────────────────────────────────────────── */
.tariftabelle-next .table-cell {
    font-size: 13px;
    padding: 16px 14px;
    line-height: 1.5;
}

/* td1: Tarifname */
.tariftabelle-next .table-cell.td1 {
    grid-column: 1;
    background: var(--line-2);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tariftabelle-next .tarifname {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

/* td2 erste: Infos */
.tariftabelle-next .table-cell.td2:nth-child(2) {
    grid-column: 2;
    border-right: 1px solid var(--line);
}

/* td2 zweite: Kosten */
.tariftabelle-next .table-cell.td2:nth-child(3) {
    grid-column: 3;
    border-right: 1px solid var(--line);
}

/* Laufzeit-Badge */
.t-badge-kurz {
    width: fit-content;
}

/* td4: Preis + Button */
.tariftabelle-next .table-cell.td4 {
    grid-column: 4;
    background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    padding: 16px 14px;
}
.tariftabelle-next .price_ttall { text-align: right; }
.tariftabelle-next .td4-price-wrap { text-align: right; }
.tariftabelle-next .table-cell.td4.m-f { flex-direction: column; }
.tariftabelle-next .table-cell.td4 .m-f-50 { width: 100%; flex: none; }

/* Preis */
.tariftabelle-next .price_ttall .itemprice {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-700);
    line-height: 1.1;
    text-decoration: none !important;
    border: none !important;
	text-align: right;
}

/* CTA-Button */
.tariftabelle-next a.weiterbutton {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: var(--primary);
    color: #fff !important;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter .12s;
}
.tariftabelle-next a.weiterbutton:hover { filter: brightness(1.08); }

/* Aktionszeile */
.tariftabelle-next .tarifaktion .table-cell {
    padding: 8px 14px;
    font-size: 12px;
    background: color-mix(in oklab, var(--good), white 90%);
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
}

/* Details-Link */
.tariftabelle-next .mehr_details {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-top: 6px;
}

/* Stand-Zeile */
.tariftabelle-next .colspan-4 {
    font-size: 12px;
    color: var(--muted);
    padding: 8px 0;
}

/* ── Mobil ≤ 720px: 2-spaltig, 3 Zeilen ──────────────────── */
@media (max-width: 720px) {
	.hero-city-grid .hero-chips,
	.hero-city-grid .hero-stat-card { display: none; }
	.hero--city { padding: 24px 0 0; }
	.tarife-card { border: 1.5px solid var(--muted); }
	
	.tarife-row { text-align: center; }
	
    .tariftabelle-next .table-row.tarif { grid-template-columns: 1fr 1fr; }
    .tariftabelle-next .table-head { display: none; }

    /* Zeile 1: td1 volle Breite, Logo links + Name rechts */
    .tariftabelle-next .table-cell.td1 {
        grid-column: 1 / 3; grid-row: 1;
        border-right: none; border-bottom: 1px solid var(--line-2);
        flex-direction: row; align-items: center; gap: 14px;
    }
    .tariftabelle-next .table-cell.td1 .img_anb_tarif { flex-shrink: 0; }
    .tariftabelle-next .table-cell.td1 .tarifname { flex: 1; }
    /* Zeile 2: die beiden td2 nebeneinander */
    .tariftabelle-next .table-cell.td2:nth-child(2) {
        grid-column: 1; grid-row: 2; border-right: 1px solid var(--line-2);
    }
    .tariftabelle-next .table-cell.td2:nth-child(3) {
        grid-column: 2; grid-row: 2; border-right: none;
    }
    /* Zeile 3: td4 volle Breite, Preis links / Button rechts */
    .tariftabelle-next .table-cell.td4 {
        grid-column: 1 / 3; grid-row: 3;
        border-left: none; border-top: 1px solid var(--line);
        flex-direction: row; align-items: center;
        justify-content: space-between; gap: 12px;
    }
    .tariftabelle-next .price_ttall,
    .tariftabelle-next .td4-price-wrap { text-align: left; }
    .tariftabelle-next .td4-price-wrap { flex: 1; min-width: 0; }
    .tariftabelle-next .table-cell.td4 .weiterbutton { flex-shrink: 0; width: auto; }
	
	.hidden-phone { display: none; }

	/* Mobile hero CTA */
	.hero-mobile-cta {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 20px;
	}
	.hero-mobile-price {
		font-size: 13px;
		color: var(--muted);
	}
	.hero-mobile-price strong {
		color: var(--ink);
	}
	/* Mobile KPI strip */
	.hero-mobile-kpis {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 6px;
		padding: 12px 0 4px;
		border-top: 1px solid var(--line-2);
	}
	.hero-mobile-kpi {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}
	.hero-mobile-kpi-val {
		font-size: 14px;
		font-weight: 700;
		color: var(--ink);
	}
	.hero-mobile-kpi-lbl {
		font-size: 10px;
		color: var(--muted);
		text-transform: uppercase;
		letter-spacing: .04em;
	}
}

/* Hero mobile CTA hidden on desktop */
@media (min-width: 721px) {
	.hero-mobile-cta { display: none; }
	.sticky-cta-bar  { display: none; }
}

/* ── .tariftabelle-next: Zellen-Inhalte ───────────────────────────────── */
.tariftabelle-next .tnx-spec { margin-bottom: 10px; }
.tariftabelle-next .tnx-spec:last-child { margin-bottom: 0; }
.tariftabelle-next .tnx-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 3px; }
.tariftabelle-next .tnx-val { font-size: 14px; font-weight: 600; color: var(--ink); }
.tariftabelle-next .tnx-speed { font-size: 17px; font-weight: 800; }
.tariftabelle-next .tnx-preis-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.tariftabelle-next .tnx-dauer { color: var(--primary-700); font-weight: 600; }
.tariftabelle-next .tnx-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tariftabelle-next .tnx-badge-kurz { color: #1a6b2b; background: #dcf5e6; }
.tariftabelle-next .tnx-infotext { font-style: italic; font-weight: 400; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   Sidebar Widgets — next theme card design
   ═══════════════════════════════════════════════════════════════ */

/* Stack widgets vertically */
.content-sidebar .sidebar-widgets {
    display: grid;
    gap: 16px;
}

/* Widget card chrome */
.content-sidebar aside.widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

/* Remove .container padding/centering inside sidebar widgets */
.content-sidebar .container.sidebar-widget {
    padding: 0;
    max-width: none;
    width: auto;
    margin: 0;
}

/* Widget title bar */
.content-sidebar .headline {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 0;
}

/* ── List-based widgets (nav menu, categories, pages, recent posts, archive) */
.content-sidebar .widget_nav_menu .menu,
.content-sidebar .widget_categories ul,
.content-sidebar .widget_pages ul,
.content-sidebar .widget_recent_posts ul,
.content-sidebar .widget_archive ul,
.content-sidebar .widget_meta ul {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: grid;
    gap: 1px;
}




.content-sidebar .widget_nav_menu .menu-item a,
.content-sidebar .widget_categories li a,
.content-sidebar .widget_pages li a,
.content-sidebar .widget_recent_posts li a,
.content-sidebar .widget_archive li a,
.content-sidebar .widget_meta li a,
.content-sidebar #text-13.widget_text .textwidget a,
.content-sidebar #custom_html-2.widget_text .textwidget a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: background .15s ease;
}

.content-sidebar .widget_nav_menu .menu-item a:hover,
.content-sidebar .widget_categories li a:hover,
.content-sidebar .widget_pages li a:hover,
.content-sidebar .widget_recent_posts li a:hover,
.content-sidebar .widget_archive li a:hover,
.content-sidebar .widget_meta li a:hover {
    background: var(--line-2);
}

/* Category count badge */
.content-sidebar .widget_categories .post-count,
.content-sidebar .widget_archive .post-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    background: var(--line-2);
    padding: 2px 7px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* ── Text widget */
.content-sidebar .widget_text .textwidget,
.content-sidebar .widget_custom_html .custom-html-widget {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-2);
}
.content-sidebar #text-13.widget_text .textwidget,
.content-sidebar #custom_html-2.widget_text .textwidget {
	padding: 0;
}

/* ── Search widget */
.content-sidebar .widget_search form {
    padding: 12px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.content-sidebar .widget_search .search-field {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.content-sidebar .widget_search .search-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary), white 80%);
}

.content-sidebar .widget_search .search-submit {
    height: 38px;
    padding: 0 14px;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
    white-space: nowrap;
}

.content-sidebar .widget_search .search-submit:hover {
    background: var(--primary-700);
}

/* ── Recent comments widget */
.content-sidebar .widget_recent_comments ul {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: grid;
    gap: 2px;
}

.content-sidebar .widget_recent_comments li {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.4;
}

.content-sidebar .widget_recent_comments li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ── Tag cloud widget */
.content-sidebar .widget_tag_cloud .tagcloud {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.content-sidebar .widget_tag_cloud .tagcloud a {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--line-2);
    color: var(--ink-2);
    text-decoration: none;
    font-size: 12px !important;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.content-sidebar .widget_tag_cloud .tagcloud a:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Shortcode widget lists: [menu_stadtliste] + [widget_ratgeberliste] */
.content-sidebar #menu-staedte,
.content-sidebar #menu-ratgeber-widget {
    list-style: none;
    margin: 0;
    padding: 4px;
    display: grid;
    gap: 1px;
}

.content-sidebar #menu-staedte li {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background .15s ease;
}
.content-sidebar #menu-staedte li:hover { background: var(--line-2); }

.content-sidebar #menu-staedte li br { display: none; }

.content-sidebar #menu-staedte li a {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	width: 0;
}
.content-sidebar #menu-staedte li a:hover { background: none; }

.content-sidebar #menu-staedte li small {
    flex-shrink: 0;
    padding-right: 8px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
    white-space: nowrap;
}

.content-sidebar #menu-ratgeber-widget li a {
    display: block;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: background .15s ease;
}
.content-sidebar #menu-ratgeber-widget li a:hover { background: var(--line-2); }


/* ═══════════════════════════════════════════════════════════════
   Footer search field
   ═══════════════════════════════════════════════════════════════ */
/* ── Footer widget menus */
.site-footer .widget ul,
.site-footer .widget_nav_menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .widget ul a,
.site-footer .widget_nav_menu .menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color .15s;
}

.site-footer .widget ul a:hover,
.site-footer .widget_nav_menu .menu a:hover {
    color: var(--primary);
}

/* Remove card chrome from footer widgets */
.site-footer aside.widget {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.site-footer .container.sidebar-widget {
    padding: 0;
}

.footer-search-wrap {
    margin-top: 18px;
}

.footer-search-wrap .field {
    background: var(--bg);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════════
   Ratgeber / single post layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.ratgeber-hero {
    border-bottom: 1px solid var(--line-2);
	padding-top: 0;
}

.ratgeber-hero-center {
    text-align: center;
    padding: 44px 0 36px;
/*    max-width: 860px;*/
    margin: 30px auto 0;
	background-image: linear-gradient(to bottom, white 30%, transparent 200%), var(--background);
	background-size: cover;
}
.hero-center-inner {
	max-width: 860px;
	margin: auto;
	padding: 30px 0;
}

.ratgeber-eyebrow {
    margin-bottom: 14px;
}
.ratgeber-eyebrow a {
    color: inherit;
    text-decoration: none;
}
.ratgeber-eyebrow a:hover {
    text-decoration: underline;
}

.ratgeber-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0 0 16px;
}
@media (min-width: 768px)  { .ratgeber-title { font-size: 1.9rem; } }
@media (min-width: 1024px) { .ratgeber-title { font-size: 2.2rem; } }

.ratgeber-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
    margin: 0 0 24px;
}

.ratgeber-meta-pill {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 18px;
    padding: 12px 22px;
    background: var(--line-2);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-2);
}

.ratgeber-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ratgeber-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    display: grid;
    place-items: center;
    color: #7c2d12;
    font-weight: 700;
    font-size: 10px;
    flex-shrink: 0;
}

.ratgeber-meta-sep {
    width: 1px;
    height: 16px;
    background: var(--line);
}

/*.ratgeber-hero-img {*/
/*    border-radius: var(--radius-lg);*/
/*    overflow: hidden;*/
/*    margin-bottom: 0;*/
/*    max-height: 440px;*/
/*}*/
/*.ratgeber-hero-img-el {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    display: block;*/
/*}*/

/* ── Body layout ── */
.ratgeber-body-wrap {
    padding-top: 36px;
    padding-bottom: 56px;
}

.ratgeber-article {
    flex: 1;
    min-width: 0;
}

/* ── TOC ── */
.article-toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 32px;
}

.article-toc-head {
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-toc ol {
    list-style: decimal-leading-zero;
    margin: 0;
    padding-left: 26px;
    color: var(--ink-2);
}
.article-toc ol li {
	padding-left: 6px;
}

.article-toc ol li a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.article-toc ol li a:hover { text-decoration: underline; }

/* ── Entry content typography ── */
.ratgeber-article .entry-content {
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--ink-2);
}
.ratgeber-article .entry-content p { margin: 0 0 14px; }

.ratgeber-article .entry-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.018em;
    line-height: 1.2;
    color: var(--ink);
    margin: 36px 0 12px;
    scroll-margin-top: 90px;
}
.ratgeber-article .entry-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 8px;
    scroll-margin-top: 90px;
}
.ratgeber-article .entry-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 20px 0 6px;
}

.ratgeber-article .entry-content ul,
.ratgeber-article .entry-content ol {
    margin: 0 0 14px;
    padding-left: 24px;
}
.ratgeber-article .entry-content li { margin-bottom: 6px; }

.ratgeber-article .entry-content a:not(.btn, .ghostkit-button) {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ratgeber-article .entry-content a:hover {
    color: var(--primary-700, var(--primary));
}

.ratgeber-article .entry-content strong { color: var(--ink); font-weight: 700; }

.ratgeber-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
/*    margin: 20px 0;*/ /* raus, da es in der ratgeber-übersicht sonst doof aussieht */
}

.ratgeber-article .entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 16px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.ratgeber-article .entry-content th {
    background: var(--line-2);
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.ratgeber-article .entry-content td {
    padding: 10px 14px;
    border-top: 1px solid var(--line-2);
}

.ratgeber-article .entry-content blockquote {
    border-left: 3px solid var(--primary);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--primary-50, color-mix(in oklab, var(--primary), white 92%));
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--ink-2);
}

/* ── Post footer ── */
.post-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* ── Author bio ── */
.author-bio {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-top: 32px;
}

.author-bio-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    display: grid;
    place-items: center;
    color: #7c2d12;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
.author-bio-avatar--photo {
    background: none;
}
.author-bio-avatar--photo img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
}

.author-bio-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.author-bio-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-bio-desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-2);
}

/* ── Post navigation ── */
.post-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.post-nav-btn { flex: 1; min-width: 200px; }
.post-nav-btn--next { text-align: right; }

/* ── Related articles ── */
.related-articles {
    margin-top: 40px;
}

.related-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.015em;
    margin: 0 0 18px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 767px) {
    .related-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

.related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 8px 24px rgba(0,0,0,.10));
}

.related-card-img {
    height: 140px;
    overflow: hidden;
}
.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.related-card-gradient { height: 140px; }

.related-card-body { padding: 14px 16px; }

.related-card-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.related-card-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--ink);
}

.related-card-meta {
    font-size: 12px;
    color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 1023px) {
    .ratgeber-hero-center {
        padding: 32px 30px 28px;
        text-align: left;
    }
    .ratgeber-title,
    .ratgeber-subtitle {
        text-align: left;
    }
    .ratgeber-meta-pill {
        justify-content: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Archive page — 2-column post grid
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 720px) {
    .archive .post-list,
    .search-results .post-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Ratgeber Shortcodes
   ═══════════════════════════════════════════════════════════════ */

/* ── [callout] ── */
.sc-callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 22px 0;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid;
}
.sc-callout--info {
    background: color-mix(in oklab, var(--primary), white 92%);
    border-color: color-mix(in oklab, var(--primary), white 75%);
}
.sc-callout--warn {
    background: #fff7ed;
    border-color: #fed7aa;
}
.sc-callout-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.75);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary);
}
.sc-callout--warn .sc-callout-icon { color: #9a3412; }
.sc-callout-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
}
.sc-callout--warn .sc-callout-title { color: #7c2d12; }
.sc-callout-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
}
.sc-callout-text p { margin: 0; }

/* ── [keyfacts] ── */
.sc-keyfacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}
@media (min-width: 600px) {
    .sc-keyfacts { grid-template-columns: repeat(4, 1fr); }
}
.sc-keyfacts-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sc-keyfacts-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}
.sc-keyfacts-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

/* ── [steps] ── */
.sc-steps {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.sc-steps-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    align-items: flex-start;
}
.sc-steps-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--primary), white 88%);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.sc-steps-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--ink);
}
.sc-steps-body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-2);
}

/* ── [proscons] ── */
.sc-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}
@media (max-width: 600px) {
    .sc-proscons { grid-template-columns: 1fr; }
}
.sc-proscons-col {
    border-radius: 12px;
    padding: 18px 20px;
}
.sc-proscons-pros {
    background: color-mix(in oklab, var(--good), white 92%);
    border: 1px solid color-mix(in oklab, var(--good), white 78%);
}
.sc-proscons-cons {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}
.sc-proscons-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sc-proscons-pros .sc-proscons-head { color: color-mix(in oklab, var(--good), black 40%); }
.sc-proscons-cons .sc-proscons-head { color: #7c2d12; }
.sc-proscons-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.sc-proscons-col li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-2);
}
.sc-proscons-check { color: var(--good); flex-shrink: 0; margin-top: 1px; }
.sc-proscons-dash  { color: #9a3412; font-weight: 700; flex-shrink: 0; line-height: 1.2; }

/* ── [spec_table] ── */
.sc-spec-table {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}
.sc-spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 12px 18px;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}
@media (max-width: 500px) {
    .sc-spec-row { grid-template-columns: 1fr; gap: 2px; }
}
.sc-spec-row--border { border-top: 1px solid var(--line-2); }
.sc-spec-k { font-weight: 600; color: var(--muted); }
.sc-spec-v { font-weight: 600; color: var(--ink); }

/* ── [barchart] ── */
.sc-barchart {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 22px;
    margin: 20px 0;
    display: grid;
    gap: 14px;
}
.sc-barchart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 14px;
    align-items: center;
}
@media (min-width: 600px) {
    .sc-barchart-row { grid-template-columns: 180px 1fr 90px; grid-template-rows: auto; }
}
.sc-barchart-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.sc-barchart-label-note { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.sc-barchart-track {
    height: 16px;
    border-radius: 999px;
    background: var(--line-2);
    overflow: hidden;
    grid-column: 1 / -1;
}
@media (min-width: 600px) {
    .sc-barchart-track { grid-column: auto; }
}
.sc-barchart-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), color-mix(in oklab, var(--primary), white 30%));
    border-radius: 999px;
    transition: width .4s ease;
}
.sc-barchart-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}
.sc-barchart-unit { font-size: 11px; font-weight: 500; color: var(--muted); }
.sc-barchart-note { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 4px; }

/* dual-bar variant */
.sc-barchart-row--dual { grid-template-columns: 1fr; grid-template-rows: auto auto; }
@media (min-width: 600px) {
    .sc-barchart-row--dual { grid-template-columns: 180px 1fr; grid-template-rows: auto; align-items: center; }
}
.sc-barchart-dual {
    display: flex;
    flex-direction: column;
    gap: 3px; /* eng zusammen → sichtbar zusammengehörig */
    background: var(--line-2);
    border-radius: 8px;
    padding: 7px 8px;
}
.sc-barchart-bar { display: flex; align-items: center; gap: 12px; }
.sc-barchart-bar .sc-barchart-track { flex: 1; height: 11px; grid-column: auto; }
.sc-barchart-bar .sc-barchart-val { min-width: 80px; }
.sc-barchart-fill--2 {
    background: linear-gradient(90deg, #60a5fa, color-mix(in oklab, #60a5fa, white 30%));
}
.sc-barchart-val--2 { color: #3b82f6; }
.sc-barchart-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 0 4px;
    border-radius: 4px;
    background: var(--primary-50);
    color: var(--primary-700);
    vertical-align: middle;
}
.sc-barchart-badge--2 {
    background: #dbeafe;
    color: #3b82f6;
}

/* ── [compare_table] ── */
.sc-compare-table {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}
.sc-compare-head,
.sc-compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    padding: 12px 18px;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}
.sc-compare-head {
    background: var(--line-2);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-2);
}
.sc-compare-row { border-top: 1px solid var(--line-2); }
.sc-compare-k { font-weight: 600; color: var(--muted); }
.sc-compare-v { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.sc-compare-v--win { font-weight: 700; color: var(--good); }
@media (max-width: 500px) {
    .sc-compare-head,
    .sc-compare-row { grid-template-columns: 1fr 1fr; }
    .sc-compare-k { grid-column: 1 / -1; }
}

/* sc-content-eyebrow ------------------------------------------------------- */
#main .eyebrow + h2,
#main .eyebrow + h3 {
    margin-top: 0 !important;
}

.mt-0 { margin-top: 0 !important; }
.hidden { display: none !important; }

/* alt-anb-card — [alternativer_anbieter_block] ----------------------------- */
.alt-anb-card {
    width: 100%;
    margin: 0 0 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.alt-anb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-2);
    min-height: 80px;
}
.alt-anb-logo a { display: flex; align-items: center; justify-content: center; }
.alt-anb-logo img { width: 140px; height: 52px; object-fit: contain; }
.alt-anb-body { padding: 16px; }
.alt-anb-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 14px;
}
.alt-anb-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}
.alt-anb-kpi {
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 10px;
}
.alt-anb-kpi-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.alt-anb-kpi-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    margin-top: 3px;
}
.alt-anb-txt {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
    margin-bottom: 14px;
}
.alt-anb-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.alt-anb-actions .btn {
    display: block;
    text-align: center;
    font-size: 13px;
    padding: 9px 12px;
}
/* alt-anb-cols — Desktop: zwei gleich breite Spalten nebeneinander, Mobile: gestapelt */
.alt-anb-cols {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (min-width: 768px) {
    .alt-anb-cols {
        flex-direction: row;
        gap: 24px;
    }
    .alt-anb-cols > .wp-block-column {
        flex: 1 1 0;
        width: 50%;
        min-width: 0;
        margin: 0;
    }
}

/* rtg-form — Anbieter-Bewertungsformular ----------------------------------- */
.rtg-form-wrap {
    max-width: 600px;
}
.rtg-notice {
    font-size: 13px;
    color: var(--ink-2);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    line-height: 1.55;
    margin-bottom: 24px;
}
.rtg-field-group {
    margin-bottom: 18px;
}
.rtg-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
}
.rtg-field-hint {
    font-weight: 400;
    color: var(--muted);
}
.rtg-select,
.rtg-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.rtg-select:focus,
.rtg-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary), white 82%);
}
.rtg-textarea { resize: vertical; min-height: 120px; }
.rtg-char-count {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 5px;
    text-align: right;
}

/* Rating rows */
.rtg-ratings {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.rtg-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-2);
}
.rtg-row:last-child { border-bottom: none; }
.rtg-row-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.rtg-row-input {
    display: flex;
    align-items: center;
    gap: 12px;
}
.rtg-pills {
    display: flex;
    gap: 5px;
}
.rtg-pill {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s, transform .1s;
    font-variant-numeric: tabular-nums;
}
.rtg-pill:hover { transform: translateY(-1px); }
.rtg-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    min-width: 80px;
    white-space: nowrap;
}

.rtg-submit {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    margin-top: 4px;
}

@media (max-width: 500px) {
    .rtg-row { grid-template-columns: 1fr; gap: 8px; }
    .rtg-hint { display: none; }
    .rtg-pill { width: 44px; height: 44px; font-size: 15px; }
}

/* ur-card — Nutzerbewertung [render_userrating] ----------------------------- */
.ur-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 14px;
}
.ur-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-2);
}
.ur-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ur-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.ur-date {
    font-size: 12px;
    color: var(--muted);
}
.ur-scores {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.ur-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ur-score-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.ur-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.ur-score--total .ur-total {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.ur-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-2);
    margin-bottom: 14px;
}
.ur-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ur-foot-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.ur-rec-badge,
.ur-product-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}
.ur-product-badge {
    background: var(--bg);
    color: var(--ink-2);
    border: 1px solid var(--line-2);
}
.rhelpful {
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.ur-helpful-count { color: var(--muted); }
.ur-helpful-btn {
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s, color .12s;
}
.ur-helpful-btn--y:hover { background: #22c55e; color: #fff; border-color: #22c55e; }
.ur-helpful-btn--n:hover { background: #ef4444; color: #fff; border-color: #ef4444; }
@media (max-width: 600px) {
    .ur-head { flex-direction: column; }
    .ur-scores { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

/* ── wp_link_pages() Pagination ─────────────────────────────────────────── */
.page-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 32px 0 8px;
}
.page-links-title,
.page-links > span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-right: 4px;
}
.page-links a.post-page-numbers,
.page-links span.post-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background .12s, color .12s, border-color .12s;
}
.page-links a.post-page-numbers {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}
.page-links a.post-page-numbers:hover {
    border-color: var(--primary);
    background: color-mix(in oklab, var(--primary), white 90%);
    color: var(--primary);
}
.page-links span.post-page-numbers.current {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    cursor: default;
}

/* ── Anbieter Rating Header (renderHeader) ───────────────────────────────── */
.anb-rtg-header {
    margin-bottom: 32px;
}
.anb-rtg-header__intro {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--ink-2);
}
.anb-rtg-header__body {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.anb-rtg-header__left {
    flex: 1;
    min-width: 0;
}
.anb-rtg-header__aside {
    flex: 0 0 260px;
}
.anb-rtg-header__overview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.anb-rtg-header__big-score {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}
.anb-rtg-header__overview-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.anb-rtg-header__votes {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.anb-rtg-header__rec {
    font-size: 13px;
    color: var(--muted);
}
.anb-rtg-header__cats {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}
.anb-rtg-header__cat {
    display: grid;
    grid-template-columns: 140px 1fr 38px;
    align-items: center;
    gap: 10px;
}
.anb-rtg-header__cat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
}
.anb-rtg-header__bar {
    height: 8px;
    background: var(--line-2);
    border-radius: 4px;
    overflow: hidden;
}
.anb-rtg-header__bar-fill {
    height: 100%;
    border-radius: 4px;
}
.anb-rtg-header__cat-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
}
@media (max-width: 767px) {
    .anb-rtg-header__body { flex-direction: column; }
    .anb-rtg-header__aside { flex: none; width: 100%; }
    .anb-rtg-header__cat { grid-template-columns: 120px 1fr 36px; }
}

/* ── Störungsmeldungs-Widget ([stoerung]) ────────────────────────────────── */
.str-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.str-card__inner {
    padding: 20px 22px;
}
.str-card__headline {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
}
.str-card__sublabel {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    margin: 0 0 10px;
}
.str-card__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}
.str-service-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    transition: border-color .12s, background .12s, color .12s;
    user-select: none;
}
.str-service-item:hover {
    border-color: var(--primary);
    background: color-mix(in oklab, var(--primary), white 94%);
}
.str-service-item .bigcheck {
    cursor: pointer;
    border: 2px solid var(--line);
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: #fff;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s, border-color .12s;
}
.str-service-item .bigcheck.icon-chktrue {
    background: var(--primary);
    border-color: var(--primary);
}
.str-service-item .bigcheck.icon-chktrue::before {
    content: "✓";
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    font-family: inherit;
    top: auto;
    line-height: 1;
	top: 0;
	left: 0;
}
.str-service-item:has(.icon-chktrue) {
    border-color: var(--primary);
    background: color-mix(in oklab, var(--primary), white 90%);
    color: var(--primary);
    font-weight: 600;
}
.str-card__plz {
    display: none;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}
.str-card__plz-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.str-card__plz-input {
    width: 110px !important;
    flex: 0 0 auto;
}

/* ── Column Layout (one_third / one_half etc.) ───────────────────────────── */
.one_half,
.one_third,
.two_third,
.one_fourth,
.three_fourth,
.one_fifth,
.two_fifth,
.three_fifth,
.four_fifth,
.one_sixth,
.five_sixth {
    float: left;
    margin-right: 2.13%;
}
.one_half      { width: 48.94%; }
.one_third     { width: 31.91%; }
.two_third     { width: 65.96%; }
.one_fourth    { width: 23.40%; }
.three_fourth  { width: 74.47%; }
.one_fifth     { width: 16.8%;  margin-right: 4%; }
.two_fifth     { width: 38.4%;  margin-right: 4%; }
.three_fifth   { width: 57.6%;  margin-right: 4%; }
.four_fifth    { width: 79.2%;  margin-right: 4%; }
.one_sixth     { width: 14.89%; }
.five_sixth    { width: 82.98%; }
.one_half.last,
.one_third.last,
.two_third.last,
.one_fourth.last,
.three_fourth.last,
.one_fifth.last,
.two_fifth.last,
.three_fifth.last,
.four_fifth.last,
.one_sixth.last,
.five_sixth.last { margin-right: 0; }
.clearboth { clear: both; display: block; font-size: 0; height: 0; }
@media (max-width: 767px) {
    .one_half, .one_third, .two_third, .one_fourth, .three_fourth,
    .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
        float: none;
        width: 100%;
        margin-right: 0;
    }
}

/* ── Alle-Anbieter-Übersicht ─────────────────────────────────────────────── */
.anchorbuttonset {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 28px;
    padding: 12px 14px;
    background: var(--line-2);
    border-radius: var(--radius);
}
.anchorbuttonset .btn {
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
    min-width: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink-2);
    transition: background .12s, color .12s, border-color .12s;
}
.anchorbuttonset .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    opacity: 1;
}
.anb-letter-section {
    padding: 6px 0 20px;
    border-top: 1px solid var(--line);
}
.h2_anb_uebersicht {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 12px 0 16px;
    letter-spacing: -.02em;
}
.regio_uebersicht {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 14px 14px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s, border-color .15s;
	hyphens: auto;
}
.regio_uebersicht:hover {
    border-color: color-mix(in oklab, var(--primary), white 60%);
    box-shadow: var(--shadow);
}
.regio_uebersicht > div:first-child {
    text-align: center;
    margin-bottom: 10px;
}
.regio_uebersicht img.img_anb_tarif {
    max-height: 60px;
    width: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}
.regio_uebersicht h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
    text-align: center;
}
.regio_uebersicht a {
    text-decoration: none;
    color: inherit;
}
.regio_uebersicht a:hover h3 {
    color: var(--primary);
}
.technikbadge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--primary-50);
    color: var(--primary);
    border: 1px solid color-mix(in oklab, var(--primary), white 72%);
    line-height: 1.6;
    margin: 2px 2px 0 0;
}
.anb-weitere h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-2);
    margin: 0 0 8px;
}
.anb-weitere a {
    color: var(--primary);
    text-decoration: none;
}
.anb-weitere a:hover {
    text-decoration: underline;
}

/* ── Allnet-Flat CA Tariftabelle (.alf-*) ───────────────────────────────── */
.alf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}
.alf-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .15s;
}
.alf-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.09); }

.alf-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 16px 0;
}
.alf-product {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.alf-badges { display: flex; gap: 5px; flex-shrink: 0; }
.alf-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 3px 7px;
    border-radius: 999px;
    color: #fff;
    white-space: nowrap;
}
.alf-badge--netz { /* color via inline style */ }
.alf-badge--tech { background: var(--ink-2); }

.alf-card-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-2);
}
.alf-kpi { text-align: center; padding: 4px 6px; }
.alf-kpi-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    white-space: nowrap;
}
.alf-kpi-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 3px;
    white-space: nowrap;
}

.alf-features {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.alf-feature {
    font-size: 13px;
    color: var(--ink-2);
    padding-left: 18px;
    position: relative;
}
.alf-feature::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--muted);
}
.alf-feature--ok::before {
    content: "✓";
    color: var(--good);
    font-weight: 700;
}

.alf-card-footer {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line-2);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.alf-price-effective {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.alf-price-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.alf-price-hint {
    font-size: 12px;
    color: var(--muted);
}
.alf-price-monthly {
    font-size: 12px;
    color: var(--muted);
    margin-top: -4px;
}
.alf-bonus {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--good);
    background: color-mix(in oklab, var(--good), white 88%);
    border-radius: 8px;
    padding: 6px 10px;
}
.alf-bonus-amount { font-weight: 800; margin-right: 4px; }
.alf-cta { width: 100%; text-align: center; justify-content: center; }

/* ── Umgebung: Orte-Tag-Cloud ── */
.umgebung-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}
.umgebung-tags .chip a { color: inherit; text-decoration: none; }
.umgebung-tags .chip:has(a):hover {
    background: color-mix(in oklab, var(--primary), white 90%);
    border-color: var(--primary, #0057b8);
    color: var(--primary);
}

/* ── TV filter panel ── */
.tv-filter-panel {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 20px 24px; margin-bottom: 24px;
}
.tv-filter-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 16px;
    align-items: start;
}
.tv-filter-field { display: flex; flex-direction: column; gap: 5px; }
.tv-filter-label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--muted);
}
.tv-filter-input {
    height: 38px; border: 1px solid var(--line); border-radius: 8px;
    padding: 0 12px; font-size: 14px; color: var(--ink);
    background: #fff; outline: none; font-family: inherit;
}
.tv-filter-select {
    height: 38px; border: 1px solid var(--line); border-radius: 8px;
    padding: 0 32px 0 12px; font-size: 14px; color: var(--ink);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center;
    outline: none; font-family: inherit; appearance: none; cursor: pointer;
}
.tv-filter-input:focus,
.tv-filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary), white 80%);
}
.tv-filter-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.tv-filter-toggle {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-size: 13px; font-weight: 500; cursor: pointer; user-select: none;
    transition: background .15s, border-color .15s, color .15s;
}
.tv-filter-toggle input[type=checkbox],
.tv-filter-toggle input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; }
.tv-filter-toggle:has(input:checked) {
    background: color-mix(in oklab, var(--primary), white 88%);
    border-color: var(--primary); color: var(--primary); font-weight: 600;
}
.tv-filter-no-results {
    background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px;
    padding: 12px 16px; color: #b45309; font-size: 14px; font-weight: 600;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .tv-filter-panel { padding: 16px; }
    .tv-filter-row { grid-template-columns: 1fr; gap: 10px; }
    .tv-filter-input,
    .tv-filter-select { width: 100%; }
    .tv-filter-row .btn { width: 100%; }
}

/* ── Allnet-Filter ─────────────────────────────────────────────────────── */
.allnet-filter-grid { display: flex; flex-direction: column; gap: 14px; }
.allnet-toggle-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.allnet-netz-icon { height: 18px; width: auto; vertical-align: middle; margin-right: 5px; }
.allnet-netz-toggle { --netz-color: #64748b; }
.allnet-netz-toggle:has(input:checked) {
    background: color-mix(in oklab, var(--netz-color), white 85%);
    border-color: var(--netz-color);
    color: var(--netz-color);
    font-weight: 600;
}
.alf-treffer { font-size: 13px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); min-height: 20px; }

/* ── Tariff category blocks + table (single-anbieter & TV comparison) ── */
.anb-cat-block {
/*    border: 1px solid var(--line);*/
/*    background: var(--bg);*/
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 16px;
}
.anb-cat-block > .tariftabelle-next {
	margin-top: -10px;
}
.anb-cat-head { padding: 18px 22px 24px; border-bottom: 1px solid var(--line-2); background: #fff; }
.anb-cat-head-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.anb-cat-icon {
    width: 36px; height: 36px; border-radius: 9px;
    display: grid; place-items: center; flex-shrink: 0;
}
.anb-cat-title { font-size: 18px; font-weight: 700; margin: 0; }
/*.anb-cat-desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.4; }*/
.anb-cat-head-row h3.anb-cat-title { margin-top: 0; }
.anb-tarif-table { width: 100%; border-collapse: collapse; }
.anb-tarif-table th {
    padding: 9px 16px; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--ink-2); background: var(--line-2);
    text-align: left; white-space: nowrap;
}
.anb-tarif-table td {
    padding: 12px 16px; font-size: 13.5px;
    border-top: 1px solid var(--line-2); vertical-align: middle;
}
.anb-tarif-name { font-weight: 600; }
.anb-tarif-badge {
    display: inline-block; font-size: 9.5px; font-weight: 700;
    padding: 2px 7px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
    margin-left: 6px; vertical-align: middle;
}
.anb-tarif-badge--laufzeit { background: var(--line-2); color: var(--ink-2); }
.anb-tarif-speed { font-weight: 700; font-variant-numeric: tabular-nums; }
.anb-tarif-preis { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.anb-tarif-preis small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.anb-tarif-btn {
    display: inline-block; padding: 7px 13px; border-radius: 8px;
    color: #fff; font-size: 12px; font-weight: 700;
    text-decoration: none; white-space: nowrap; transition: opacity .15s;
}
.anb-tarif-btn:hover { opacity: .85; }
.anb-tarif-logo { max-height: 28px; width: auto; object-fit: contain; display: block; margin-bottom: 3px; }
@media (max-width: 900px) {
    .anb-tarif-table th:nth-child(3),
    .anb-tarif-table td:nth-child(3) { display: none; }
}
.umgebung-mehr { align-self: center; font-size: 13px; }

/* ── Landkreis-Seite ─────────────────────────────────────────────────────── */
.wp-block-columns { display:grid;grid-template-columns:1fr 1fr;gap:0 32px;margin-bottom:32px }
.wp-block-column { min-width:0 }
@media(max-width:600px){ .wp-block-columns { grid-template-columns:1fr } }
.chevron-right { list-style:none;padding:0;margin:0;display:grid;gap:6px }
.chevron-right li { align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--ink-2) }
ul.chevron-right li::before { text-indent:0;margin-right:8px }
.chevron-right a { color:inherit;text-decoration:none;transition:color .12s }
.chevron-right a:hover { color:var(--primary) }
.lk-ort-head { display:flex;align-items:center;gap:14px }
.lk-rank { flex-shrink:0;width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center }
.lk-rank--gold { background:#d97706 }
.bl-bar-row   { display:flex;align-items:center;gap:10px;margin-bottom:9px }
.bl-bar-label { width:68px;font-size:12px;font-weight:700;color:var(--ink-2);flex-shrink:0 }
.bl-bar-track { flex:1;height:8px;border-radius:999px;background:var(--line);overflow:hidden }
.bl-bar-fill  { height:100%;border-radius:999px }
.bl-bar-fill.bl-bar-dsl    { background:#60a5fa }
.bl-bar-fill.bl-bar-catv   { background:#fb923c }
.bl-bar-fill.bl-bar-ftth_b { background:#34d399 }
.bl-bar-fill.bl-bar-lte    { background:#a78bfa }
.bl-bar-fill.bl-bar-m5g    { background:#f472b6 }
.bl-bar-pct   { width:36px;font-size:12px;font-weight:700;color:var(--ink);text-align:right;flex-shrink:0 }


.ubermenu .lte-menu-results {margin-top:20px;text-align:center;font-size:20px;}
.ubermenu img.menu_anb_logo {padding:3px;border:1px solid #ccc;width:106px;height:36px;}

.ubermenu ul li.ubermenu-item ul.ubermenu-submenu .ubermenu-item-layout-text_only {
	padding-bottom: 3px;
}
.ubermenu ul li.ubermenu-item ul.ubermenu-submenu .ubermenu-custom-content-padded {
	padding-top: 5px;
}
.ubermenu .ubermenu-submenu a.ubermenu-target span.ubermenu-target-title,
.ubermenu .ubermenu-submenu .menu-item-type-post_type a,
.ubermenu .ubermenu-submenu .menu-item-type-custom a
{
	color: #888;
	text-shadow:none;
	text-decoration:none;
}

.ubermenu img.mmanblogo {
	border: 1px solid #ccc;
	width:120px;
	height:auto;
	aspect-ratio:300/120;
}
.ubermenu ul li.ubermenu-item ul.ubermenu-submenu .ubermenu-target.ubermenu-item-layout-text_only {
	padding-bottom: 16px !important;
}

/* ===== Homepage: fp-tarife ===== */
.fp-tarife-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
@media (max-width: 860px) {
  .fp-tarife-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .fp-tarife-grid { grid-template-columns: 1fr; }
}
.fp-tarif-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
}
.fp-tarif-card .tarife-card-head { margin-bottom: 0; }
.fp-tarif-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  border-radius: 4px;
  padding: 3px 8px;
}
.fp-tarif-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.fp-tarif-speed {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.fp-tarif-pricing { line-height: 1.3; }
.fp-tarif-ab-label { font-size: 12px; color: var(--muted); margin-right: 2px; }
.fp-tarif-ab-price { font-size: 22px; font-weight: 700; color: var(--ink); }
.fp-tarif-ab-unit  { font-size: 13px; color: var(--muted); margin-left: 2px; }
.fp-tarif-logo a   { display: inline-block; }
.fp-tarif-logo img { height: 32px; width: auto; }
.fp-tarif-tagline  { font-size: 12px; color: var(--muted); margin-top: -4px; }
.fp-tarif-eff      { font-size: 11px; color: var(--muted); }
.fp-tarif-boni     { font-size: 13px; font-weight: 600; color: #1a8a47; }
.fp-tarif-boni summary { cursor: pointer; list-style: none; }
.fp-tarif-boni summary::-webkit-details-marker { display: none; }
.fp-tarif-boni summary::after { content: ' \25BE'; font-size: 10px; }
.fp-tarif-boni[open] summary::after { content: ' \25B4'; font-size: 10px; }
.fp-tarif-boni-detail { margin: 4px 0 0; padding: 8px 10px; background: #f0faf4; border-radius: 5px; list-style: none; font-size: 12px; font-weight: 400; color: var(--ink-2); }
.fp-tarif-boni-detail li { padding: 2px 0; }
.fp-tarif-btn      { margin-top: auto; }
.ubermenu ul li.ubermenu-item ul.ubermenu-submenu .ubermenu-page_item .ubermenu-target.ubermenu-item-layout-text_only {
	padding-bottom: 0;
	padding-left: 32px;
}
.ubermenu .ubermenu-item-layout-image_left>.ubermenu-image {
	float: none;
	margin: auto;
}
.ubermenu-main .ubermenu-item-layout-image_left > .ubermenu-target-text {
	padding: 0 !important;
	text-align: center;
	margin-top: 5px;
}
.ubermenu-tab-content-panel.ubermenu-column.ubermenu-column-3-4.ubermenu-submenu.ubermenu-submenu-id-13371.ubermenu-submenu-type-tab-content-panel.ubermenu-autoclear {
	background: #fff;
	/* display: flex; */
	/* flex-direction: column; */
	/* z-index: 99999; */
	/* position: relative; */
}

