/* =========================================================
   Pottnet – Webagentur Dortmund
   style.css  |  v11
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@200;400;600;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --yellow:        #FDE012;
  --yellow-mid:    #FEEC66;
  --yellow-pale:   #FFF6BE;
  --yellow-wash:   #FFFCEC;
  --ink-soft:      rgba(18,17,14,.66);
  --stroke-xl:     2px;
  --stroke-lg:     1.4px;
  --stroke-sm:     .8px;

  --ink:           #16181D;
  --text:          #333740;
  --muted:         #5F6570;
  --line:          #E6E8EC;
  --white:         #FFFFFF;
  --soft:          #FAFAFB;

  --grad-yellow:   linear-gradient(120deg, var(--yellow) 0%, #FEE73F 45%, var(--yellow-mid) 100%);
  --grad-btn:      linear-gradient(135deg, var(--yellow) 0%, #FEE84A 100%);
  --grad-card:     linear-gradient(160deg, #FFFFFF 0%, var(--yellow-wash) 100%);

  --shadow-sm:     0 2px 10px rgba(20,24,32,.06);
  --shadow-md:     0 10px 30px rgba(20,24,32,.09);
  --shadow-lg:     0 24px 60px rgba(20,24,32,.13);
  --glow:          0 10px 28px rgba(253,224,18,.32);

  --radius:        14px;
  --radius-lg:     22px;
  --max:           1240px;
  --gap:           clamp(1.2rem, 2.4vw, 2rem);
  --section-y:     clamp(2.4rem, 4.4vw, 4rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.72;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1rem + .55vw, 1.35rem); font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: 1.02rem; font-weight: 700; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* Dünner Gegenpol zur fetten Headline */
.thin   { font-weight: 200; letter-spacing: -.01em; }
.accent {
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-xl) var(--ink);
  paint-order: stroke fill;
  letter-spacing: .018em;
  word-spacing: .06em;
}
h2 .accent, h3 .accent { -webkit-text-stroke-width: var(--stroke-lg); }
.hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow-pale) 62%);
  padding: 0 .06em;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-soft { background: var(--soft); }
.section-wash { background: linear-gradient(180deg, #fff 0%, var(--yellow-wash) 100%); }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--grad-btn);
  padding: .34rem .78rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.lead { font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  padding: .82rem 1.45rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn::after { content: '→'; font-weight: 600; transition: transform .18s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn-primary {
  background: var(--grad-btn);
  color: var(--ink);
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(253,224,18,.4); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--yellow); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding-block: .8rem;
}
.logo img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.5rem); }
.nav a {
  font-family: 'Inter Tight', sans-serif;
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--yellow); }
.nav a.active { color: var(--ink); border-bottom-color: var(--yellow); }
.nav .btn { border-bottom: none; padding: .68rem 1.15rem; font-size: .9rem; }
.nav .btn:hover { border-bottom: none; }

.burger {
  display: none;
  width: 44px; height: 40px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero (Panorama, v3) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 46vw, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
/* Weiche Aufhellung links, damit die Typo auf jedem Viewport sitzt */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.96) 30%,
    rgba(255,255,255,.72) 46%,
    rgba(255,255,255,0) 62%);
}
.hero-inner {
  padding-block: clamp(2.6rem, 5vw, 4.4rem);
  position: relative;
}
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: .6rem; }
.hero .lead { margin-bottom: 1.7rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }

.hero-usp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 640px;
}
.hero-usp div {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .86rem;
  line-height: 1.42;
}
.hero-usp .dot {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--grad-btn);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(253,224,18,.35);
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: clamp(1.4rem, 4vw, 3rem);
  width: 268px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--yellow);
}
.hero-card strong {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  display: block;
  margin-bottom: .6rem;
  color: var(--ink);
}
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  font-size: .85rem;
  line-height: 1.5;
  padding-left: 1.35rem;
  position: relative;
  margin-bottom: .3rem;
  color: var(--text);
}
.hero-card li::before {
  content: '✓';
  position: absolute; left: 0;
  font-weight: 700;
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-sm) var(--ink);
  paint-order: stroke fill;
}

@media (max-width: 1180px) {
  .hero-card { display: none; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-bg img { object-position: 62% center; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.94) 58%,
      rgba(255,255,255,.55) 100%);
  }
  .hero-inner { padding-block: 2.2rem 3.4rem; }
  .hero-usp { grid-template-columns: 1fr; gap: .8rem; }
}

/* ---------- Karten-Grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 10px 26px rgba(253,224,18,.18); }
.card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad-btn);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--ink);
}
.ico svg, .dot svg { display: block; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .94rem; color: var(--muted); margin-bottom: 1.1rem; }
.card .more {
  margin-top: auto;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.card .more::after { content: '→'; transition: transform .18s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- Zahlen-Band ---------- */
.stats {
  background: var(--grad-yellow);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem) clamp(1.2rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  box-shadow: var(--glow);
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.5rem);
  color: var(--ink);
  line-height: 1.1;
}
.stat span {
  font-size: .84rem;
  font-weight: 500;
  color: rgba(18,17,14,.72);
}

/* ---------- Split (Text + Bild) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.figure-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .7rem;
}

ul.check { list-style: none; margin: 0 0 1.4rem; padding: 0; }
ul.check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
  font-size: .96rem;
}
ul.check li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-sm) var(--ink);
  paint-order: stroke fill;
}

/* ---------- KI-Block ---------- */
.ki {
  background: var(--ink);
  border-radius: var(--radius-lg);
  color: #D9DCE2;
  padding: clamp(1.8rem, 4vw, 3.2rem);
}
.ki h2 { color: #fff; }
.ki .eyebrow { background: rgba(253,224,18,.16); color: var(--yellow); }
.ki p { color: #C3C8D1; }
.ki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.ki-item {
  background: #212328;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ki-item h3 {
  background: var(--grad-btn);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  padding: .72rem 1.25rem;
  letter-spacing: -.005em;
}
.ki-item p {
  font-size: .92rem;
  line-height: 1.66;
  margin: 0;
  padding: 1.15rem 1.25rem 1.3rem;
  color: #F2F4F7;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-skyline img {
  width: 100%;
  height: auto;
  opacity: 1;
}
.cta h2 { margin-bottom: .6rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.2rem 1.4rem;
  margin-bottom: .9rem;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin-bottom: .5rem; }
.faq-item p { font-size: .95rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grad-yellow);
  color: #2A2506;
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .48rem; }
.site-footer a {
  color: #2A2506;
  text-decoration: none;
  font-size: .92rem;
  border-bottom: 1px solid transparent;
}
.site-footer a:hover { border-bottom-color: #2A2506; }
.footer-logo img { width: 158px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; color: rgba(18,17,14,.78); }
.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(42,37,6,.22);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.6rem;
  justify-content: space-between;
  font-size: .87rem;
}
.footer-bottom a { font-size: .87rem; }
.powered a { font-weight: 700; border-bottom: 1px solid rgba(42,37,6,.4); }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .82rem; color: var(--muted); padding-top: 1.1rem; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumb a:hover { border-bottom-color: var(--yellow); }

/* ---------- Autorenbox ---------- */
.author {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.author img {
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.author p { font-size: .9rem; color: var(--muted); margin: .25rem 0 0; }
.author strong { font-family: 'Inter Tight', sans-serif; font-size: 1.02rem; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ki-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .6rem 1.2rem 1.4rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .78rem 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a.active { border-bottom-color: var(--line); color: var(--ink); }
  .nav .btn { justify-content: center; margin-top: .9rem; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .cta-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-card { position: static; width: 100%; margin-top: 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-skyline { order: 2; }
}
@media (max-width: 720px) {
  .cards, .ki-grid { grid-template-columns: 1fr; }
  .hero-usp { grid-template-columns: 1fr; gap: .8rem; }
  .author { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* =========================================================
   v2 – Bausteine für Unterseiten
   ========================================================= */

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.8rem, 3.4vw, 3rem) clamp(2.4rem, 5vw, 4rem);
}
.page-hero h1 { max-width: 20ch; margin-bottom: .7rem; }
.page-hero .lead { margin-bottom: 1.6rem; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}
.fact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-md);
}
.fact-box h2 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .9rem;
  font-family: 'Inter', sans-serif;
}
.fact-box ul { list-style: none; margin: 0; padding: 0; }
.fact-box li {
  font-size: .9rem;
  line-height: 1.5;
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: .5rem;
}
.fact-box li::before {
  content: '✓';
  position: absolute; left: 0;
  font-weight: 700;
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-sm) var(--ink);
  paint-order: stroke fill;
}

/* ---------- Textspalte ---------- */
.prose { max-width: none; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose > *:first-child { margin-top: 0; }

/* ---------- Prozess-Schritte (echte Reihenfolge) ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 1.8rem; }
.step {
  counter-increment: step;
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.25rem 4.2rem;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.3rem; top: 1.25rem;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-lg) var(--ink);
  paint-order: stroke fill;
}
.step h3 { margin-bottom: .35rem; font-size: 1.05rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Leistungsumfang ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 1rem; margin-bottom: .35rem; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Preis-Orientierung ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.4rem;
  font-size: .93rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow-wash);
}
.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* ---------- Hinweisbox ---------- */
.note {
  background: var(--yellow-wash);
  border: 1px solid var(--yellow-pale);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
}
.note p { font-size: .95rem; margin: 0; }
.note strong { color: var(--ink); }

/* ---------- Inline-Verlinkung im Fließtext ---------- */
.prose a, .note a, .figure-note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  font-weight: 500;
}
.prose a:hover, .note a:hover { background: var(--yellow-pale); }

/* ---------- Region ---------- */
.region {
  background: var(--ink);
  color: #C7CCD5;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.region h2 { color: #fff; }
.region p { color: #C3C8D1; }
.region .eyebrow { background: rgba(253,224,18,.16); color: var(--yellow); }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .price-table { font-size: .86rem; }
  .price-table th, .price-table td { padding: .7rem .6rem; }
}


/* =========================================================
   v3 – Standortkarte, Kontakt, Team
   ========================================================= */

.standort {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.standort h3 { margin-bottom: .8rem; }
.standort address {
  font-style: normal;
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.standort address a { border-bottom: 2px solid var(--yellow); text-decoration: none; font-weight: 500; }
.standort-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.standort-meta div { font-size: .86rem; color: var(--muted); }
.standort-meta b {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  color: var(--ink);
  font-size: .95rem;
}

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.contact-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.contact-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .dot {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-btn);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.contact-list b {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: .95rem;
  color: var(--ink);
}
.contact-list a { text-decoration: none; border-bottom: 2px solid var(--yellow); }

.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .96rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem .9rem;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(253,224,18,.28);
}
.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.form-consent input { width: 18px; height: 18px; margin-top: .2rem; flex: 0 0 auto; }
.form-consent a { color: var(--ink); border-bottom: 2px solid var(--yellow); text-decoration: none; }

/* ---------- Team / Agentur ---------- */
.person {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.person img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-sm); }
.person .role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: .3rem;
}

/* ---------- FAQ-Kategorien ---------- */
.faq-group { margin-bottom: 2.6rem; }
.faq-group > h2 { margin-bottom: 1.2rem; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; text-align: left; }
  .person img { max-width: 200px; }
}
@media (max-width: 560px) {
  .standort-meta { grid-template-columns: 1fr; }
}


/* =========================================================
   v4 – Blog, Artikel, Glossar, Rechtstexte
   ========================================================= */

/* ---------- Blogübersicht ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), 0 10px 26px rgba(253,224,18,.18); }
.post-meta {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .7rem;
}
.post-card h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); margin-bottom: .5rem; }
.post-card p { font-size: .94rem; color: var(--muted); margin-bottom: 1.2rem; }
.post-card .more {
  margin-top: auto;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.post-card .more::after { content: '→'; transition: transform .18s ease; }
.post-card:hover .more::after { transform: translateX(4px); }

/* ---------- Artikel ---------- */
.article-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.6rem, 3vw, 2.6rem) clamp(2rem, 4vw, 3.2rem);
}

.article-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  font-size: .87rem;
  color: var(--muted);
  margin-top: 1.2rem;
}
.article-meta img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.article-meta .by { display: flex; align-items: center; gap: .6rem; }
.article-meta b { color: var(--ink); font-weight: 600; }

.article { max-width: none; }
.article h2 { margin-top: 2.4rem; }
.article h3 { margin-top: 1.8rem; }
.article > *:first-child { margin-top: 0; }
.article a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  font-weight: 500;
}
.article a:hover { background: var(--yellow-pale); }
.article ul, .article ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.article li { margin-bottom: .45rem; }
.article blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--yellow-wash);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  font-size: 1.02rem;
}
.article blockquote p { margin: 0; }

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.toc b {
  font-family: 'Inter Tight', sans-serif;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: .7rem;
}
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .3rem; font-size: .93rem; }
.toc a { border-bottom: none; text-decoration: none; }
.toc a:hover { border-bottom: 2px solid var(--yellow); background: none; }

/* ---------- Glossar ---------- */
.glossar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 2.4rem;
}
.glossar-nav a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .5rem;
  border-radius: 9px;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink);
}
.glossar-nav a:hover { background: var(--grad-btn); border-color: var(--yellow); }

.term {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.term:last-child { border-bottom: none; }
.term h3 { margin-bottom: .45rem; }
.term p { font-size: .96rem; margin-bottom: .5rem; }
.term p:last-child { margin-bottom: 0; }
.term a { color: var(--ink); border-bottom: 2px solid var(--yellow); text-decoration: none; font-weight: 500; }
.letter-block { margin-bottom: 2.4rem; }
.letter-block > h2 {
  font-size: 1.8rem;
  color: var(--yellow);
  -webkit-text-stroke: var(--stroke-lg) var(--ink);
  paint-order: stroke fill;
  letter-spacing: .02em;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: .3rem;
  margin-bottom: .4rem;
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 78ch; }
.legal h2 { margin-top: 2.2rem; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); }
.legal h3 { margin-top: 1.6rem; font-size: 1.08rem; }
.legal > *:first-child { margin-top: 0; }
.legal p, .legal li { font-size: .97rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--ink); border-bottom: 2px solid var(--yellow); text-decoration: none; }
.legal address { font-style: normal; line-height: 1.8; }

@media (max-width: 860px) {
  .post-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   v5 – Rhythmus, Icons, Footer-Logo
   ========================================================= */

/* Doppeltes Padding zwischen gleichfarbigen Abschnitten vermeiden.
   Nur wo ein Hintergrundwechsel stattfindet, bleibt der volle Abstand. */
.section + .section { padding-top: 0; }
.section + .section-soft,
.section + .section-wash,
.section-soft + .section,
.section-wash + .section,
.page-hero + .section { padding-top: var(--section-y); }

.prose > h2:first-child,
.article > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.article h2 { margin-top: 2rem; }
.article h3 { margin-top: 1.5rem; }

/* Lesbarkeit ohne feste ch-Breite: Fließtext bekommt Luft nach rechts */
.prose p, .prose ul, .prose ol,
.article p, .article ul, .article ol,
.legal p, .legal ul, .legal ol { max-width: 92ch; }

/* Footer-Logo in CI-Schwarz einfärben (Maskierung der WebP-Silhouette) */
.footer-logo img {
  background-color: #212328;
  -webkit-mask-image: url('/pottnet-logo.webp');
          mask-image: url('/pottnet-logo.webp');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: left center;
          mask-position: left center;
}


/* =========================================================
   v6 – Sub-Hero-Grafik auf Unterseiten und Artikeln
   ========================================================= */

.subhero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.subhero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

/* Aufhellung nach links, damit Typo auf jeder Breite trägt.
   Zusätzlich ein Hauch Gelb unten, damit der Übergang zur Seite passt. */
.page-hero::before,
.article-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,252,236,0) 55%, rgba(255,252,236,.55) 100%),
    linear-gradient(98deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.95) 28%,
      rgba(255,255,255,.74) 46%,
      rgba(255,255,255,.14) 68%,
      rgba(255,255,255,0) 84%);
}

/* Faktenbox schwebt wie die Karte im Hero über dem Bild */
.page-hero .fact-box {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
  .subhero-bg img { object-position: 68% center; }
  .page-hero::before,
  .article-head::before {
    background: linear-gradient(180deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.93) 62%,
      rgba(255,252,236,.72) 100%);
  }
}


/* =========================================================
   v7 – CI-Gelb statt Goldton
   Gelb ist auf Weiß nicht lesbar. Statt es abzudunkeln,
   bekommt es eine dunkle Kontur, wie im Logo.
   ========================================================= */

/* Browser ohne paint-order zeichnen die Kontur mittig und
   lassen die Glyphe dünner wirken. Dann lieber ohne Kontur
   und dafür in Ink, damit nichts unlesbar wird. */
@supports not (paint-order: stroke) {
  .accent,
  .step::before,
  .letter-block > h2,
  ul.check li::before,
  .hero-card li::before,
  .fact-box li::before {
    -webkit-text-stroke: 0;
    color: var(--ink);
  }
  .accent { background: linear-gradient(180deg, transparent 58%, var(--yellow) 58%); }
}

/* Eyebrow auf dunklen Blöcken bleibt reines Gelb, dort trägt der Kontrast */
.ki .eyebrow, .region .eyebrow {
  background: rgba(253,224,18,.18);
  color: var(--yellow);
  -webkit-text-stroke: 0;
}

/* Glossar-Buchstaben brauchen etwas Luft unter der Kontur */
.letter-block > h2 { padding-bottom: .35rem; letter-spacing: 0; }


/* =========================================================
   v9 – Skyline im CTA-Block
   Gelbe Linien auf hellem Grund stehen schwach. Ein sehr
   dezenter dunkler Schatten hebt die Kontur ab, ohne die
   Farbe der Grafik zu verändern.
   ========================================================= */

.cta-skyline {
  align-self: end;
}
.cta-skyline img {
  filter: drop-shadow(0 1px 0 rgba(18,17,14,.22));
}
@media (max-width: 980px) {
  .cta-skyline { max-width: 460px; margin-inline: auto; }
}


/* =========================================================
   v10 – Artikelkopf bündig zum übrigen Raster
   ========================================================= */

.article-head h1 { max-width: 26ch; }
.article-head .lead { max-width: 64ch; }
.article-head .eyebrow { margin-bottom: .9rem; }

.article-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.article-meta a:hover { background: var(--yellow-pale); }


/* =========================================================
   v11 – Kontaktformular: Bot-Falle
   Nicht display:none, das erkennen manche Bots. Stattdessen
   aus dem Sichtfeld geschoben und aus dem Tab-Fluss genommen.
   ========================================================= */

.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
