/*
Theme Name: Günstiger Telefonanbieter Relaunch
Theme URI: https://www.guenstigertelefonanbieter.net/
Author: OpenAI
Description: Modernes, conversion-orientiertes WordPress-Theme für guenstigertelefonanbieter.net. Bewahrt Inhalte, URLs, Custom Post Types, Widgets und SEO-Plugin-Metadaten.
Version: 4.3.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gta-relaunch
*/

:root {
  --navy-950: #071f2d;
  --navy-900: #0b3345;
  --navy-800: #124c60;
  --teal-700: #007f79;
  --teal-600: #009b90;
  --teal-500: #16b5a5;
  --teal-100: #dff7f3;
  --accent-600: #e66d08;
  --accent-500: #ff831f;
  --accent-100: #fff0e4;
  --ink: #102a38;
  --muted: #5c6d76;
  --line: #d9e3e8;
  --surface: #ffffff;
  --surface-soft: #f4f8fa;
  --success: #17835b;
  --shadow-sm: 0 10px 28px rgba(7, 31, 45, 0.08);
  --shadow-md: 0 22px 60px rgba(7, 31, 45, 0.15);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

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

iframe {
  max-width: 100%;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-900);
}

p,
ul,
ol,
blockquote,
table {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7em;
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1,
h2 {
  font-family: inherit;
  font-weight: 850;
  letter-spacing: -0.04em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.2rem; }

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow-container {
  max-width: 820px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
  color: var(--navy-950);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.skip-link {
  position: fixed !important;
}

/* Header */
.trust-bar {
  position: relative;
  z-index: 40;
  background: var(--teal-100);
  color: var(--navy-950);
  font-size: 0.82rem;
  font-weight: 650;
}

.trust-bar__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.trust-bar__inner span {
  position: relative;
  padding-left: 19px;
}

.trust-bar__inner span::before {
  position: absolute;
  left: 0;
  color: var(--teal-700);
  content: "✓";
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 30, 45, 0.07);
}

.site-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-branding,
.custom-logo-link {
  flex: 0 0 auto;
}

.custom-logo {
  width: auto;
  max-height: 54px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  color: var(--navy-950);
  text-decoration: none;
}

.brand:hover {
  color: var(--navy-950);
}

.brand__wordmark {
  display: grid;
  gap: 5px;
  line-height: 1;
}

.brand__name {
  display: inline-flex;
  align-items: baseline;
  color: var(--navy-950);
  font-size: clamp(1.06rem, 1.6vw, 1.32rem);
  font-weight: 850;
  letter-spacing: -0.052em;
}

.brand__name strong {
  position: relative;
  color: var(--navy-950);
  font-weight: 900;
}

.brand__name strong::after {
  position: absolute;
  right: 5%;
  bottom: -4px;
  left: 5%;
  height: 3px;
  background: var(--accent-500);
  border-radius: 999px;
  content: "";
}

.brand__name b {
  color: var(--teal-700);
  font-weight: 900;
}

.brand__name em {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.58em;
  font-style: normal;
  letter-spacing: 0;
}

.brand__wordmark > small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-navigation ul,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation > .menu,
.primary-navigation > div > .menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-navigation .menu-item {
  position: relative;
}

.primary-navigation .menu-item > a {
  display: block;
  padding: 12px 10px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .menu-item > a:hover {
  color: var(--teal-700);
}

.primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-navigation .menu-item:hover > .sub-menu,
.primary-navigation .menu-item:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-950);
  transition: transform 160ms ease, opacity 160ms ease;
}

/* Buttons and links */
.button,
.entry-content .button1 a,
.entry-content a.button,
.entry-content .button2,
.entry-content .button-alt {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.entry-content .button1 a:hover,
.entry-content a.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button--primary,
.entry-content .button1 a,
.entry-content a.button,
.entry-content .button2 {
  background: linear-gradient(135deg, #ff9c4c, var(--accent-500));
  border-color: #ff8c35;
  box-shadow: 0 9px 22px rgba(230, 109, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: var(--navy-950);
}

.button--primary::after,
.entry-content .button1 a::after,
.entry-content a.button::after,
.entry-content .button2::after {
  content: "→";
  font-size: 1.08em;
  line-height: 1;
  transition: transform 160ms ease;
}

.button--primary:hover,
.entry-content .button1 a:hover,
.entry-content a.button:hover,
.entry-content .button2:hover {
  background: linear-gradient(135deg, #ffad70, #ff8d34);
  border-color: #ff9b4d;
  color: var(--navy-950);
  box-shadow: 0 13px 28px rgba(230, 109, 8, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button--primary:hover::after,
.entry-content .button1 a:hover::after,
.entry-content a.button:hover::after,
.entry-content .button2:hover::after {
  transform: translateX(3px);
}

.button--secondary,
.entry-content .button-alt {
  background: #fff;
  border-color: var(--teal-700);
  box-shadow: 0 6px 16px rgba(7, 31, 45, 0.08);
  color: var(--teal-700);
}

.button--small {
  min-height: 42px;
  padding: 10px 17px;
}

.button--full {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.text-link,
.entry-content .button-small {
  display: inline-flex;
  align-items: center;
  color: var(--teal-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(8, 127, 120, 0.35);
  text-underline-offset: 4px;
}

/* Front-page hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 80px;
  background:
    radial-gradient(circle at 82% 15%, rgba(22, 181, 165, 0.24), transparent 31%),
    radial-gradient(circle at 10% 95%, rgba(255, 131, 31, 0.12), transparent 27%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #fff;
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(48px, 7vw, 88px);
}

.eyebrow,
.entry-kicker,
.widget__eyebrow {
  margin-bottom: 14px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #77e1d4;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.65rem, 4.8vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero__intro {
  max-width: 650px;
  margin-bottom: 26px;
  color: #d5e5eb;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 30px;
}

.hero__actions p {
  display: grid;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1.25;
}

.hero__actions strong {
  color: #fff;
  font-size: 1.1rem;
}

.hero__actions span {
  color: #abc3cc;
  font-size: 0.76rem;
}

.hero__benefits,
.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 11px;
}

.hero__benefits {
  max-width: 680px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}

.hero__benefits li,
.check-list li {
  position: relative;
  padding-left: 31px;
}

.hero__benefits li::before,
.check-list li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  background: var(--teal-500);
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  content: "✓";
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #dce8e8;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-visual::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(7, 31, 45, 0.62));
  content: "";
}

.hero-trust-card {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  background: rgba(7, 31, 45, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-trust-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--teal-500);
  border-radius: 50%;
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 900;
}

.hero-trust-card > div {
  display: grid;
}

.hero-trust-card > div > span {
  color: #79dfd3;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-trust-card strong {
  margin-top: 2px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-trust-card p {
  margin: 4px 0 0;
  color: #c0d4dc;
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-card {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color: var(--ink);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 18px;
}

.hero-card__header > strong {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.hero-card__label {
  padding: 6px 10px;
  background: var(--teal-100);
  border-radius: 999px;
  color: var(--teal-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card__saving {
  display: grid;
  margin-bottom: 22px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1;
}

.hero-card__saving span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-card__saving strong {
  margin: 5px 0 8px;
  color: var(--accent-500);
  font-size: clamp(3.8rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.075em;
}

.hero-card__saving small {
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-card__steps {
  display: grid;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  gap: 10px;
}

.hero-card__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #354d5a;
  font-size: 0.86rem;
}

.hero-card__steps span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--teal-100);
  border-radius: 50%;
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 900;
}

.hero-card__link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--accent-500);
  border: 1px solid var(--accent-500);
  border-radius: 10px;
  color: var(--navy-950);
  font-weight: 850;
  text-decoration: none;
}

.hero-card__link::after {
  content: "→";
  font-size: 1.25rem;
}

.hero-card__link:hover {
  background: #ff9b4d;
  color: var(--navy-950);
}

.confidence-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.confidence-strip__grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.confidence-strip__grid > div:last-child {
  border-right: 0;
}

.confidence-strip__icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--teal-100);
  border: 0;
  border-radius: 50%;
  color: var(--teal-700);
  font-weight: 900;
  font-size: 0;
}

.confidence-strip__icon::before {
  content: "✓";
  font-size: 0.86rem;
}

.confidence-strip p {
  display: grid;
  margin: 0;
  line-height: 1.35;
}

.confidence-strip strong {
  font-size: 0.95rem;
}

.confidence-strip p span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Main layout */
.site-main,
.content-section {
  padding: clamp(48px, 7vw, 86px) 0;
}

.content-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(28px, 4vw, 48px);
}

.content-layout--wide {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout--full {
  grid-template-columns: minmax(0, 1fr);
}

.content-layout--reading {
  max-width: 940px;
  margin-inline: auto;
}

.entry-card,
.entry-content--home > .card,
.entry-content--home > div:not(.internet-vergleich-neu):not(.fragen-antwort-neu) {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.entry-card {
  padding: clamp(26px, 5vw, 58px);
}

.entry-header {
  margin-bottom: 32px;
}

.entry-header h1 {
  font-size: clamp(2.05rem, 4vw, 3.65rem);
}

.entry-header--article {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.entry-meta,
.content-card__meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.entry-hero-image {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 14px;
}

.entry-hero-image img {
  width: 100%;
}

.entry-content {
  min-width: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2 {
  margin-top: 1.65em;
  margin-bottom: 0.65em;
  padding-top: 0.18em;
}

.entry-content h3 {
  margin-top: 1.55em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 22px 26px;
  background: var(--teal-100);
  border-left: 4px solid var(--teal-600);
  border-radius: 0 12px 12px 0;
}

.legacy-notice-marker {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(7, 31, 45, 0.12);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(7, 31, 45, 0.14);
  color: var(--teal-700);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  vertical-align: -3px;
}

.legacy-notice-label {
  margin-right: 5px;
  color: var(--navy-950);
  font-weight: 850;
}

.entry-content table {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  padding: 13px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--navy-900);
  color: #fff;
}

.entry-content tr:last-child td,
.entry-content tr:last-child th {
  border-bottom: 0;
}

.entry-content td:last-child,
.entry-content th:last-child {
  border-right: 0;
}

.alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Existing homepage content classes */
.entry-content--home {
  background: transparent;
}

.entry-content--home > * {
  margin-bottom: 28px;
}

.entry-content--home > .card,
.entry-content--home > div:not(.internet-vergleich-neu):not(.fragen-antwort-neu) {
  padding: clamp(24px, 4vw, 40px);
}

.entry-content--home > .card h2 {
  position: relative;
  margin-top: 0;
  padding-left: 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.entry-content--home > .card h2::before {
  position: absolute;
  top: 0.12em;
  bottom: 0.12em;
  left: 0;
  width: 4px;
  background: var(--teal-500);
  content: "";
}

.entry-content--home > .card > p:first-of-type > img:first-child {
  width: 100%;
  margin-bottom: 22px;
  border-radius: 13px;
}

.internet-vergleich-neu {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  overflow: hidden;
  padding: clamp(26px, 4.5vw, 52px) !important;
  background:
    radial-gradient(circle at 91% 8%, rgba(22, 181, 165, 0.24), transparent 26%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
}

.internet-vergleich-neu .check-title {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 0 18px !important;
  padding: 0;
  background: transparent;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  font-weight: 850 !important;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.internet-vergleich-neu .check-title::before {
  display: block;
  margin-bottom: 11px;
  color: #76e0d3;
  content: "EIN VERGLEICH · ZWEI WEGE ZUM PASSENDEN TARIF";
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.internet-vergleich-neu .check-title::after {
  display: block;
  max-width: 680px;
  margin-top: 13px;
  color: #bfd3da;
  content: "Wählen Sie den passenden Vergleich und prüfen Sie kostenlos die aktuell verfügbaren Angebote.";
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.internet-vergleich-neu .left,
.internet-vergleich-neu .right {
  position: relative;
  display: flex;
  min-height: 350px;
  flex-direction: column;
  overflow: hidden;
  float: none !important;
  width: auto !important;
  padding: 27px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.15);
}

.internet-vergleich-neu .left {
  border-top: 5px solid var(--teal-500) !important;
}

.internet-vergleich-neu .right {
  border-top: 5px solid var(--accent-500) !important;
}

.internet-vergleich-neu .left::before,
.internet-vergleich-neu .right::before {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 9px;
  background: var(--teal-100);
  border-radius: 999px;
  color: var(--teal-700);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.internet-vergleich-neu .right::before {
  background: var(--accent-100);
  color: var(--accent-600);
}

.internet-vergleich-neu .left::before {
  content: "INTERNET & FESTNETZ";
}

.internet-vergleich-neu .right::before {
  content: "HANDY & MOBILFUNK";
}

.internet-vergleich-neu .left::after,
.internet-vergleich-neu .right::after {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 88px;
  height: 88px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.internet-vergleich-neu .left::after {
  background-image: url("assets/images/internet-signal.svg");
}

.internet-vergleich-neu .right::after {
  background-image: url("assets/images/mobile-signal.svg");
}

.internet-vergleich-neu h3 {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 102px);
  margin: 0 0 23px;
  font-family: inherit;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 850;
  line-height: 1.15;
}

.internet-vergleich-neu ul {
  margin: auto 0 22px;
  padding: 15px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.internet-vergleich-neu li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 28px;
  color: #38515d;
  font-size: 0.9rem;
  line-height: 1.45;
}

.internet-vergleich-neu li::before {
  position: absolute;
  top: 0.44rem;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  background: var(--teal-100);
  border-radius: 50%;
  color: var(--teal-700);
  content: "✓";
  font-size: 0.67rem;
  font-weight: 900;
}

.internet-vergleich-neu > div[style*="clear"] {
  display: none;
}

.internet-vergleich-neu .left img,
.internet-vergleich-neu .right img {
  display: none !important;
}

.internet-vergleich-neu .button1 {
  margin: 0;
}

.internet-vergleich-neu .button1 a {
  width: 100%;
  min-height: 52px;
  border-radius: 11px;
}

.internet-vergleich-neu .left .button1 a {
  background-color: var(--navy-900);
  background-image: linear-gradient(135deg, var(--teal-700), var(--navy-900));
  border-color: var(--teal-700);
  box-shadow: 0 10px 24px rgba(0, 127, 121, 0.24);
  color: #fff;
  backface-visibility: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.internet-vergleich-neu .left .button1 a:hover {
  background-color: var(--navy-800);
  background-image: linear-gradient(135deg, var(--teal-600), var(--navy-800));
  border-color: var(--teal-500);
  box-shadow: 0 13px 28px rgba(0, 127, 121, 0.25);
  color: #fff;
}

.internet-vergleich-neu .right .button1 a {
  box-shadow: 0 10px 24px rgba(230, 109, 8, 0.24);
}

.big-latest-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.big-latest-post {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.big-latest-post > a > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.big-latest-post__media {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-700));
  text-decoration: none;
}

.big-latest-post__media img,
.big-latest-post__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.big-latest-post__placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.big-latest-post-content {
  padding: 20px;
}

.big-latest-post-content h3 {
  font-size: 1.08rem;
  line-height: 1.35;
}

.big-latest-post-content h3 a {
  color: var(--navy-950);
  text-decoration: none;
}

.big-latest-post-content p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.big-latest-post-content p img,
.latest-post-content p img,
.post-content p img {
  display: none;
}

.empty-inline {
  margin: 0;
  padding: 18px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.fragen-antwort-neu {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px) !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-top: 5px solid var(--teal-500) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-md) !important;
}

.fragen-antwort-neu > h3 {
  position: relative;
  margin: 0 0 24px;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.fragen-antwort-neu > h3::before {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-700);
  content: "SCHNELL ERKLÄRT";
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.entry-content details {
  margin: 0 0 11px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.entry-content details:last-child {
  margin-bottom: 0;
}

.entry-content details:hover,
.entry-content details[open] {
  background: #fff;
  border-color: #a9ded6;
  box-shadow: 0 9px 22px rgba(7, 31, 45, 0.08);
}

.entry-content summary {
  position: relative;
  padding: 18px 66px 18px 20px;
  color: var(--navy-950);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
  transition: color 160ms ease, background 160ms ease;
}

.entry-content summary:hover {
  background: #eef9f7;
  color: var(--teal-700);
}

.entry-content summary::-webkit-details-marker {
  display: none;
}

.entry-content summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  background: var(--teal-100);
  border-radius: 50%;
  color: var(--teal-700);
  content: "+";
  font-size: 1.2rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.entry-content details[open] summary {
  color: var(--teal-700);
}

.entry-content details[open] summary::after {
  background: var(--navy-900);
  color: #fff;
  content: "−";
}

.entry-content details > div {
  padding: 0 20px 20px;
  color: var(--muted);
}

.entry-content details > div > :last-child {
  margin-bottom: 0;
}

.entry-content details > p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.schema-faq-section,
.rank-math-list-item {
  margin-bottom: 11px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-500);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.schema-faq-question,
.rank-math-question {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-weight: 850;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 112px;
}

.widget {
  margin-bottom: 22px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.widget--compare {
  background: var(--navy-900);
  border-top: 5px solid var(--accent-500);
  color: #d9e8ed;
}

.widget--compare h2 {
  color: #fff;
}

.widget--compare .widget__eyebrow {
  color: #6ae0cd;
}

.widget--compare .check-list {
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.widget-title {
  font-size: 1.25rem;
}

.widget img {
  width: 100%;
  border-radius: 9px;
}

.widget ul {
  padding-left: 0;
  list-style: none;
}

.widget li {
  margin-bottom: 11px;
}

.widget .latest-post,
.widget [class*="latest-post"] {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.back-dsl,
.back-handy {
  min-height: 210px;
  padding: 52% 18px 20px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 12px;
}

/* Article CTA and navigation */
.article-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  margin-top: 48px;
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 92% 4%, rgba(22, 181, 165, 0.28), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border: 1px solid rgba(22, 181, 165, 0.34);
  border-top: 5px solid var(--teal-500);
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(7, 31, 45, 0.22);
}

.article-cta::after {
  position: absolute;
  z-index: -1;
  right: -72px;
  bottom: -115px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.article-cta__copy {
  position: relative;
  z-index: 1;
  display: grid;
}

.article-cta__eyebrow {
  margin-bottom: 7px;
  color: #78e2d5;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.article-cta strong {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

.article-cta__copy > span:not(.article-cta__eyebrow) {
  margin-top: 8px;
  color: #d3e4e9;
  font-size: 0.9rem;
}

.article-cta__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.article-cta__benefits li {
  margin: 0;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e8f5f6;
  font-size: 0.7rem;
  font-weight: 750;
}

.article-cta__benefits li::before {
  margin-right: 5px;
  color: #6be0d1;
  content: "✓";
}

.article-cta__action {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.article-cta__action .button {
  width: 100%;
  min-height: 54px;
}

.article-cta__action small {
  color: #bdd3da;
  font-size: 0.7rem;
  text-align: center;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-navigation__link {
  position: relative;
  display: grid;
  min-height: 126px;
  align-content: center;
  padding: 22px 64px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-950);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.post-navigation__link::before {
  position: absolute;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--teal-100);
  border-radius: 50%;
  color: var(--teal-700);
  font-size: 1.1rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.post-navigation__link--previous::before {
  left: 19px;
  content: "←";
}

.post-navigation__link--next {
  text-align: right;
}

.post-navigation__link--next::before {
  right: 19px;
  content: "→";
}

.post-navigation__link:hover {
  background: #fff;
  border-color: #a9ded6;
  box-shadow: var(--shadow-sm);
  color: var(--navy-950);
  transform: translateY(-2px);
}

.post-navigation__link:only-child {
  max-width: none;
}

.post-navigation__link--next:only-child {
  grid-column: 2;
  margin-left: 0;
}

.post-navigation__label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-navigation__title {
  font-size: 1rem;
  line-height: 1.45;
}

/* Shared subpage header */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6.5vw, 76px) 0;
  background:
    radial-gradient(ellipse at 92% 4%, rgba(22, 181, 165, 0.25), transparent 32%),
    radial-gradient(circle at 77% 118%, rgba(255, 131, 31, 0.12), transparent 27%),
    linear-gradient(125deg, var(--navy-950) 0%, #0a3548 58%, var(--navy-800) 100%);
  color: #fff;
}

.subpage-hero::before {
  position: absolute;
  top: -62%;
  right: -11%;
  width: 43%;
  height: 225%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.015));
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  content: "";
  transform: rotate(12deg);
}

.subpage-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500) 0 18%, rgba(22, 181, 165, 0.18) 18% 72%, var(--accent-500) 72% 78%, transparent 78%);
  content: "";
}

.subpage-hero__inner {
  position: relative;
  z-index: 1;
}

.subpage-hero--has-button .subpage-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 348px);
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
}

.subpage-hero__inner::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 0;
  width: 270px;
  height: 155px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.48) 1px, transparent 1.5px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.22;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.subpage-hero__content {
  max-width: 980px;
  padding-left: clamp(18px, 2.4vw, 30px);
  border-left: 3px solid var(--teal-500);
}

.subpage-hero--has-button .subpage-hero__content {
  max-width: 900px;
}

.subpage-hero__action {
  position: relative;
  z-index: 2;
}

.subpage-hero__button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.92), transparent 31%),
    linear-gradient(135deg, #f4fffd 0%, #d8f7f2 100%);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow:
    0 22px 52px rgba(0, 14, 24, 0.34),
    0 0 0 5px rgba(22, 181, 165, 0.12),
    inset 0 1px 0 #fff;
  color: var(--navy-950);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.subpage-hero__button::before {
  position: absolute;
  z-index: -1;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #76e0d3 0 62%, var(--accent-500) 62%);
  border-radius: 0 999px 999px 0;
  content: "";
}

.subpage-hero__button-label,
.subpage-hero__button-title,
.subpage-hero__button-benefits,
.subpage-hero__button-cta {
  grid-column: 1;
}

.subpage-hero__button-label {
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.subpage-hero__button-title {
  margin-top: 6px;
  color: var(--navy-950);
  font-size: 1.05rem;
  line-height: 1.3;
}

.subpage-hero__button-benefits {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(0, 127, 121, 0.18);
  color: #385764;
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.35;
}

.subpage-hero__button-benefits span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.subpage-hero__button-benefits span::before {
  display: inline-grid;
  flex: 0 0 17px;
  place-items: center;
  width: 17px;
  height: 17px;
  background: var(--teal-500);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

.subpage-hero__button-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  margin-top: 18px;
  padding: 11px 12px 11px 17px;
  background: linear-gradient(135deg, #ff9b49 0%, var(--accent-500) 100%);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 12px;
  color: var(--navy-950);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(255, 131, 31, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.subpage-hero__button-cta i {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  background: rgba(7, 31, 45, 0.12);
  border: 1px solid rgba(7, 31, 45, 0.1);
  border-radius: 9px;
  color: var(--navy-950);
  font-size: 1.08rem;
  font-style: normal;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease;
}

.subpage-hero__button:hover,
.subpage-hero__button:focus-visible {
  border-color: #76e0d3;
  box-shadow:
    0 26px 58px rgba(0, 14, 24, 0.4),
    0 0 0 6px rgba(22, 181, 165, 0.2),
    inset 0 1px 0 #fff;
  color: var(--navy-950);
  transform: translateY(-4px) scale(1.015);
}

.subpage-hero__button:hover .subpage-hero__button-cta,
.subpage-hero__button:focus-visible .subpage-hero__button-cta {
  box-shadow: 0 14px 30px rgba(255, 131, 31, 0.36);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.subpage-hero__button:hover .subpage-hero__button-cta i,
.subpage-hero__button:focus-visible .subpage-hero__button-cta i {
  background: rgba(7, 31, 45, 0.17);
  transform: translateX(4px);
}

.subpage-hero .breadcrumbs {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #afc7d0;
}

.subpage-hero .breadcrumbs a {
  color: #eef7f8;
}

.subpage-hero .eyebrow {
  margin-bottom: 9px;
  color: #76e0d3;
}

.subpage-hero h1 {
  max-width: 940px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.15rem, 4.7vw, 3.75rem);
  line-height: 1.04;
}

.subpage-hero h1::after {
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--teal-500) 0 70%, var(--accent-500) 70%);
  border-radius: 999px;
  content: "";
}

.subpage-hero__description {
  max-width: 800px;
  margin-bottom: 0;
  color: #d5e5eb;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.subpage-hero__meta {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 750;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.breadcrumbs a {
  font-weight: 700;
  text-decoration: none;
}

/* Archives */
.archive-header,
.page-intro {
  max-width: 820px;
  margin-bottom: 38px;
}

.archive-header h1,
.page-intro h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.archive-header > p:not(.eyebrow),
.page-intro > p:not(.eyebrow),
.archive-description {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.archive-intro {
  margin-bottom: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.content-card__media {
  display: block;
  overflow: hidden;
  background: var(--surface-soft);
  text-decoration: none;
}

.content-card__image,
.content-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease;
}

.content-card:hover .content-card__image {
  transform: scale(1.025);
}

.content-card__placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-700));
}

.content-card__placeholder span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.content-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.content-card__meta {
  margin-bottom: 9px;
}

.content-card__title {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.3;
}

.content-card__title a {
  color: var(--navy-950);
  text-decoration: none;
}

.content-card__excerpt {
  color: var(--muted);
  font-size: 0.91rem;
}

.content-card__excerpt p {
  margin-bottom: 20px;
}

.content-card__body .text-link {
  margin-top: auto;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 42px;
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 11px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.pagination .current,
.nav-links .current {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.empty-state {
  padding: clamp(34px, 6vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state--404 {
  margin: 40px 0;
}

.search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
}

.search-results-form {
  margin-bottom: 32px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.search-field {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #b9c8cf;
  border-radius: 9px;
}

.search-submit,
.submit {
  min-height: 48px;
  padding: 10px 20px;
  background: var(--teal-700);
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

/* Calculators */
.site-main--calculator {
  background: linear-gradient(#edf8f6 0 480px, var(--surface-soft) 480px);
}

.calculator-page {
  max-width: 1100px;
  margin-inline: auto;
}

.calculator-shell {
  margin-bottom: 42px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.calculator-shell__trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 22px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.calculator-shell__trust span::before {
  margin-right: 8px;
  color: #69e0cc;
  content: "✓";
}

.calculator-embed {
  min-height: 420px;
  padding: 20px;
}

.calculator-embed--internet {
  background: linear-gradient(135deg, #e9f6f4, #f8fbfc);
}

.calculator-embed iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

.calculator-page__content {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

/* Table of contents plugin */
#toc_container {
  position: relative;
  width: 100% !important;
  margin: 32px 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #cfe1e4 !important;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(7, 31, 45, 0.09);
}

#toc_container::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500) 0 74%, var(--accent-500) 74% 100%);
  content: "";
}

#toc_container .toc_title {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 23px 26px 21px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 131, 31, 0.13), transparent 25%),
    linear-gradient(135deg, #e9f8f5, #f8fcfc 68%);
  color: var(--navy-950);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
}

#toc_container .toc_title::before {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: var(--navy-900);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(7, 31, 45, 0.14);
  color: #76e0d3;
  content: "☷";
  font-size: 1.4rem;
  line-height: 1;
}

#toc_container .toc_toggle {
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

#toc_container .toc_toggle_brackets .toc_brackets {
  display: none;
}

#toc_container .toc_toggle a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #a9ded6;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(7, 31, 45, 0.07);
  color: var(--teal-700);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

#toc_container .toc_toggle a::after {
  color: var(--accent-600);
  content: "↑";
  font-size: 1rem;
  line-height: 1;
}

#toc_container.contracted .toc_toggle a::after {
  content: "↓";
}

#toc_container .toc_toggle a:hover,
#toc_container .toc_toggle a:focus-visible {
  border-color: var(--teal-500);
  box-shadow: 0 10px 22px rgba(7, 31, 45, 0.12);
  color: var(--navy-950);
  transform: translateY(-1px);
}

#toc_container .toc_list {
  margin: 0;
  padding: 22px 26px 26px;
  background: #fff;
  counter-reset: toc-item;
  list-style: none !important;
}

#toc_container:not(.contracted) > .toc_list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#toc_container.contracted > .toc_list {
  display: none !important;
}

#toc_container .toc_list > li {
  margin: 0;
  counter-increment: toc-item;
  list-style: none !important;
}

#toc_container .toc_list > li > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 9px 13px 9px 10px;
  background: var(--surface-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

#toc_container .toc_list > li > a::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--teal-100);
  border-radius: 10px;
  color: var(--teal-700);
  content: counter(toc-item, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 850;
}

#toc_container .toc_list > li > a:hover,
#toc_container .toc_list > li > a:focus-visible {
  background: #f4fffd;
  border-color: #a9ded6;
  color: var(--teal-700);
  transform: translateY(-1px);
}

#toc_container .toc_list ul {
  margin: 8px 0 0 45px;
  padding: 0;
  list-style: none;
}

#toc_container .toc_list ul li {
  margin: 6px 0;
}

#toc_container .toc_list ul a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

#toc_container .toc_list ul a:hover,
#toc_container .toc_list ul a:focus-visible {
  color: var(--teal-700);
  text-decoration: underline;
}

@media (max-width: 700px) {
  #toc_container .toc_title {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
    font-size: 1.04rem;
  }

  #toc_container .toc_title::before {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  #toc_container .toc_toggle {
    grid-column: 1 / -1;
  }

  #toc_container .toc_toggle a {
    width: 100%;
  }

  #toc_container:not(.contracted) > .toc_list {
    grid-template-columns: 1fr;
  }

  #toc_container .toc_list {
    padding: 16px 18px 20px;
  }
}

/* Comments */
.comments-area {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-bottom: 18px;
  padding: 18px;
  background: var(--surface-soft);
  border-radius: 12px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #b9c8cf;
  border-radius: 8px;
}

/* Closing CTA */
.closing-cta {
  padding: 28px 0 72px;
}

.closing-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, #fff 0 72%, #edf9f7 72%);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.closing-cta__inner::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(0, 127, 121, 0.12);
  border-radius: 50%;
  content: "";
}

.closing-cta__visual {
  display: none;
}

.closing-cta .eyebrow {
  margin-bottom: 8px;
  color: var(--teal-700);
}

.closing-cta h2 {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.closing-cta__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.closing-cta__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.closing-cta__benefits li {
  padding: 7px 10px;
  background: var(--teal-100);
  border-radius: 999px;
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.closing-cta__benefits li::before {
  margin-right: 6px;
  content: "✓";
}

.closing-cta__action {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: stretch;
  gap: 14px;
  padding: 28px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.closing-cta__action > strong {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.closing-cta__action small {
  color: #b8d3cc;
  font-size: 0.72rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 64px 0 24px;
  background: var(--navy-950);
  color: #afc2cc;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 54px;
}

.brand--footer {
  color: #fff;
}

.brand--footer:hover,
.brand--footer .brand__wordmark,
.brand--footer .brand__name,
.brand--footer .brand__name strong {
  color: #fff;
}

.brand--footer .brand__name b {
  color: #80d9ca;
}

.brand--footer .brand__name em,
.brand--footer .brand__wordmark > small {
  color: #afc2cc;
}

.site-footer__brand p {
  max-width: 390px;
  margin-top: 20px;
}

.site-footer__title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__links li {
  margin-bottom: 10px;
}

.site-footer__links a {
  color: #c8d7de;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__legal:has(li) {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__credit {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: 0.35rem;
}

.site-footer__credit a {
  color: #80d9ca;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* GDPR plugin remains plugin-controlled; improve visual fit only. */
.moove-gdpr-info-bar-container,
.gdpr-infobar {
  font-family: inherit !important;
}

/* Responsive */
@media (max-width: 1050px) {
  .brand__name {
    font-size: 0.98rem;
  }

  .primary-navigation {
    gap: 12px;
  }

  .primary-navigation .menu-item > a {
    padding-inline: 7px;
  }

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

@media (max-width: 920px) {
  .trust-bar__inner {
    gap: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: fixed;
    z-index: 50;
    top: 114px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 22px 20px 40px;
    visibility: hidden;
    overflow-y: auto;
    opacity: 0;
    background: #fff;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-navigation > .menu,
  .primary-navigation > div > .menu {
    display: block;
    margin-bottom: 20px;
  }

  .primary-navigation .menu-item > a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .primary-navigation .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    visibility: visible;
    opacity: 1;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .nav-cta {
    width: 100%;
  }

  .hero__grid,
  .content-layout,
  .content-layout--wide {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      radial-gradient(circle at 85% 70%, rgba(22, 181, 165, 0.2), transparent 35%),
      linear-gradient(135deg, var(--navy-950), var(--navy-800));
  }

  .hero::after {
    display: none;
  }

  .hero-card {
    max-width: 560px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    min-height: 600px;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .widget {
    margin-bottom: 0;
  }

  .closing-cta__inner {
    grid-template-columns: 1fr;
  }

  .closing-cta__action {
    grid-column: 1;
    justify-items: stretch;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .trust-bar__inner {
    min-height: 32px;
    justify-content: center;
    font-size: 0.72rem;
  }

  .trust-bar__inner span:nth-child(n+2) {
    display: none;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .primary-navigation {
    top: 100px;
  }

  .brand__name {
    font-size: 0.92rem;
  }

  .brand__wordmark > small {
    display: none;
  }

  .hero {
    padding: 52px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .hero__intro {
    font-size: 1.02rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero__actions p {
    padding-left: 0;
    border-left: 0;
  }

  .hero__benefits {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 22px 20px;
    border-radius: var(--radius-lg);
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-trust-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 15px;
  }

  .hero-trust-card__icon {
    width: 38px;
    height: 38px;
  }

  .subpage-hero__inner,
  .subpage-hero--has-button .subpage-hero__inner {
    display: block;
  }

  .subpage-hero__inner::after {
    display: none;
  }

  .subpage-hero__content {
    padding-left: 17px;
    border-left-width: 2px;
  }

  .subpage-hero__action {
    margin: 24px 0 0 19px;
  }

  .subpage-hero__button {
    width: min(100%, 360px);
  }

  .subpage-hero .breadcrumbs {
    margin-bottom: 18px;
  }

  .subpage-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .confidence-strip__grid {
    grid-template-columns: 1fr;
  }

  .confidence-strip__grid > div {
    justify-content: flex-start;
    padding: 16px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .confidence-strip__grid > div:last-child {
    border-bottom: 0;
  }

  .internet-vergleich-neu,
  .big-latest-posts,
  .content-grid,
  .sidebar,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .internet-vergleich-neu .left {
    border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
  }

  .internet-vergleich-neu .left,
  .internet-vergleich-neu .right {
    min-height: 0;
    padding: 24px !important;
  }

  .internet-vergleich-neu .left::after,
  .internet-vergleich-neu .right::after {
    top: 20px;
    right: 20px;
    width: 72px;
    height: 72px;
  }

  .internet-vergleich-neu h3 {
    max-width: calc(100% - 82px);
  }

  .internet-vergleich-neu .check-title::before {
    line-height: 1.55;
  }

  .closing-cta__inner {
    grid-template-columns: 1fr;
  }

  .closing-cta__visual {
    width: 84px;
    height: 84px;
  }

  .closing-cta__visual::before {
    width: 60px;
    height: 60px;
  }

  .closing-cta__action {
    grid-column: 1;
    justify-items: stretch;
  }

  .entry-card {
    padding: 24px 20px;
  }

  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 0 0 18px;
  }

  .article-cta,
  .calculator-shell__trust,
  .site-footer__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .article-cta {
    grid-template-columns: 1fr;
  }

  .article-cta__action {
    padding: 15px;
  }

  .calculator-shell__trust {
    gap: 6px;
  }

  .calculator-embed {
    min-height: 360px;
    padding: 8px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-navigation__link:only-child {
    width: 100%;
    max-width: none;
  }

  .post-navigation__link--next {
    text-align: left;
  }

  .post-navigation__link--next:only-child {
    grid-column: auto;
    margin-left: 0;
  }

  .site-footer__grid {
    gap: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .trust-bar,
  .site-header,
  .site-footer,
  .sidebar,
  .closing-cta,
  .article-cta,
  .button {
    display: none !important;
  }

  body,
  .site-main,
  .entry-card {
    background: #fff;
  }

  .content-layout {
    display: block;
  }

  .entry-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
