/* ASS KO Website
   Design-System angelehnt an Berater-Portal
*/

:root{
  --brand:#851b34;
  --brand-dark:#6b1528;
  --brand-light:#f9e8ec;
  --text:#1a0a10;
  --muted:#6b6b6b;
  --bg:#f5f5f0;
  --surface:#ffffff;
  --line:#e5e5e0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.1);
  --radius: 12px;
  --content: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  padding-left: 220px;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  font-size: 16px;
}

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

a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid rgba(133,27,52,0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

.container{
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

/* Sidebar Layout */
.sidebar{
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 220px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 12px 14px 16px;
  gap: 14px;
  overflow-y: auto;
  z-index: 40;
}
.sidebar-top{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sidebar-nav{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: background 150ms ease, color 150ms ease;
}
.sidebar-nav a:hover{
  background: var(--bg);
  color: var(--text);
}
.sidebar-nav a.active{
  background: rgba(133,27,52,0.08);
  color: var(--text);
  font-weight: 700;
}
.sidebar-contact{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sidebar-contact .header-contact{
  width: 100%;
  justify-content: flex-start;
}
.sidebar-cta{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.sidebar-cta .btn{
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
}

.header-contact{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 150ms ease;
  white-space:nowrap;
}
.header-contact:hover{ background: var(--bg); }
.header-contact svg{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header-contact.phone svg,
.header-contact.email svg{ color: var(--brand); }
.header-contact.whatsapp svg{ color: #25d366; }

/* Logo oben rechts (eigenständig) */
.logo-corner{
  position: fixed;
  top: 14px;
  right: 22px;
  z-index: 35;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: var(--shadow);
}
.logo-corner .logo{
  width: 180px;
  height: auto;
  display: block;
}

/* Mobile-Toggle (Hamburger) */
.sidebar-toggle{
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.sidebar-toggle svg{
  width: 20px;
  height: 20px;
  display: block;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform 120ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
  user-select:none;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary,
.nav a.btn-primary{
  background: var(--brand);
  color:#fff;
}
.btn-primary:hover,
.nav a.btn-primary:hover{
  background: var(--brand-dark);
  color:#fff;
}
.btn-ghost,
.nav a.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover,
.nav a.btn-ghost:hover{
  background: var(--bg);
  color: var(--text);
}
.nav-cta .btn{
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  cursor:pointer;
}

/* Hero */
.hero{
  position: relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-220px -220px auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(133,27,52,0.28), rgba(133,27,52,0.0) 60%);
  pointer-events:none;
}
.hero-inner{
  padding: 62px 0 28px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items:start;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: var(--radius);
  width: fit-content;
  font-weight: 600;
}
.kicker i{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  display:inline-block;
}
h1{
  font-size: clamp(32px, 4vw, 44px);
  line-height:1.12;
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
}
.lead{
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 64ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
  margin: 18px 0 10px;
}
.micro{
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}

.hero-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-panel h3{
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.bullets li{ margin: 8px 0; }

/* Sections */
section{
  padding: 52px 0;
  border-top: 1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.section-head p{
  margin:0;
  color: var(--muted);
  max-width: 72ch;
  font-size: 14px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.card h3{
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}
.card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.card li{ margin: 8px 0; }

.accent{
  display:inline-block;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand);
  margin-bottom: 10px;
}

.note{
  border: 1px solid rgba(133,27,52,0.25);
  background: rgba(133,27,52,0.06);
  border-radius: var(--radius);
  padding: 16px;
}
.note p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Metrics */
.metrics{
  background: var(--surface);
  border-top-color: var(--line);
}
.metrics-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.metric{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align:center;
  box-shadow: var(--shadow);
}
.metric .value{
  font-size: 30px;
  font-weight: 850;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.metric .value.word{
  font-size: 22px;
  letter-spacing: -0.01em;
}
.metric .label{
  margin-top: 10px;
  font-size: 13px;
  color: var(--text);
  font-weight: 750;
}
.metric .sub{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* Testimonials */
.testimonials{
  background: var(--surface);
}
.quote{
  position: relative;
}
.quote p{
  margin: 0;
  color: var(--text);
  font-size: 13px;
}
.quote .who{
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* Steps */
.steps{
  display:grid;
  gap: 12px;
}
.step{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}
.step .num{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(133,27,52,0.1);
  border: 1px solid rgba(133,27,52,0.25);
  color: var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 850;
  font-size: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.step strong{ font-size: 13px; }
.step .desc{
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* Contact */
.contact-wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items:start;
}
.contact-list{
  margin: 12px 0 0;
  padding:0;
  list-style:none;
  color: var(--muted);
  font-size: 13px;
}
.contact-list li{ margin: 10px 0; }
.contact-list strong{ color: var(--text); font-weight: 750; }

form{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
label{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
input, textarea, select{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
input:focus, textarea:focus, select:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(133,27,52,0.1);
  outline: none;
}
textarea{ min-height: 110px; resize: vertical; }
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row.single{ grid-template-columns: 1fr; }

.form-actions{
  margin-top: 12px;
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap:wrap;
}
.form-hint{
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.form-status{
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.form-status.ok{
  border-color: rgba(25,135,84,0.35);
  background: rgba(25,135,84,0.08);
}
.form-status.err{
  border-color: rgba(220,53,69,0.35);
  background: rgba(220,53,69,0.08);
}

.field-error{
  margin-top: 6px;
  color: #b00020;
  font-size: 12px;
}

/* Page header */
.page-hero{
  background: var(--surface);
}
.page-hero h1{ margin-top: 10px; }

/* Footer */
footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 12px;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.footer-links a{
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 10px;
}
.footer-links a:hover{ background: var(--surface); color: var(--text); }

/* Responsive */
@media (max-width: 1180px){
  .logo-corner{ top: 10px; right: 14px; padding: 4px 8px; }
  .logo-corner .logo{ width: 150px; }
}
@media (max-width: 940px){
  body{ padding-left: 0; }
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .section-head{ align-items:flex-start; flex-direction:column; }
  .sidebar{
    transform: translateX(-100%);
    transition: transform 220ms ease;
    box-shadow: 4px 0 16px rgba(0,0,0,0.08);
  }
  .sidebar.open{ transform: translateX(0); }
  .sidebar-toggle{ display: inline-flex; align-items:center; justify-content:center; }
  .logo-corner{ top: 8px; right: 8px; padding: 4px 8px; }
  .logo-corner .logo{ width: 110px; }
}
@media (max-width: 580px){
  .logo-corner .logo{ width: 90px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
  .nav a{ transition:none; }
}


/* Stimmungsbilder (atmospheric banners) */
.stimmung-banner{
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stimmung-banner img{
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
@media (max-width: 940px){
  .stimmung-banner img{ max-height: 260px; }
}
@media (max-width: 580px){
  .stimmung-banner img{ max-height: 200px; }
}

/* Team */
.team-card{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}
.avatar{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(133,27,52,0.10);
  border: 1px solid rgba(133,27,52,0.25);
  color: var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 850;
  flex: 0 0 auto;
}
.role{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 650;
}

/* Portal Showcase */
.portal-showcase{
  background: var(--surface);
}
.showcase-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.showcase-item{
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.showcase-item:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.showcase-item img{
  width: 100%;
  height: auto;
  display: block;
}
.showcase-item .caption{
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.showcase-item .caption span{
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Device Mockup Frame */
.device-frame{
  background: #1a0a10;
  border-radius: 16px;
  padding: 8px 8px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  overflow: hidden;
}
.device-frame .device-bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 8px;
}
.device-frame .dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.device-frame img{
  width: 100%;
  border-radius: 8px 8px 0 0;
  display: block;
}

/* Hero with background image */
.hero-bg{
  position: relative;
  overflow: hidden;
}
.hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

/* Section images */
.section-img{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.section-img img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Photo credit */
.photo-credit{
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  margin-top: 4px;
  opacity: 0.6;
}

/* Portal CTA Banner */
.portal-banner{
  background: linear-gradient(135deg, #1a0a10 0%, var(--brand) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.portal-banner h3{
  margin: 0 0 8px;
  font-size: 20px;
  color: #fff;
}
.portal-banner p{
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.portal-banner .btn{
  background: #fff;
  color: var(--brand);
  font-weight: 700;
}
.portal-banner .btn:hover{
  background: var(--brand-light);
}
@media (max-width: 940px){
  .portal-banner{ grid-template-columns: 1fr; }
  .showcase-grid{ grid-template-columns: 1fr; }
}

/* Cookie Banner */
#cookie-banner{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 16px 0;
}
.cookie-inner{
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text{
  flex: 1;
  min-width: 280px;
}
.cookie-text strong{
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.cookie-text p{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.cookie-text a{
  color: var(--brand);
  text-decoration: underline;
}
.cookie-actions{
  flex-shrink: 0;
}

/* Client Logo Marquee */
.logo-marquee-section{
  padding: 40px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.logo-marquee-section .section-label{
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}
.logo-marquee{
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.logo-marquee:hover{
  animation-play-state: paused;
}
.logo-marquee .logo-item{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;
  height: 64px;
  margin: 0 24px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  opacity: 0.55;
  transition: opacity 200ms ease, transform 200ms ease;
}
.logo-marquee .logo-item:hover{
  opacity: 1;
  transform: scale(1.05);
}
.logo-marquee .logo-item img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 200ms ease;
}
.logo-marquee .logo-item:hover img{
  filter: grayscale(0%);
}
@keyframes marquee-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* Enhanced Testimonials */
.quote-card{
  border-left: 3px solid var(--brand);
  padding-left: 16px;
}
.quote-card .quote-text{
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 0 0 12px;
}
.quote-card .quote-text::before{
  content: "\201E";
  font-size: 24px;
  color: var(--brand);
  font-style: normal;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 2px;
}
.quote-card .quote-text::after{
  content: "\201C";
  font-size: 24px;
  color: var(--brand);
  font-style: normal;
  line-height: 0;
  vertical-align: -6px;
  margin-left: 2px;
}
.quote-card .who{
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.quote-card .who span{
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Phone CTA in header */
.header-phone{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.header-phone svg{
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
}
@media (max-width: 580px){
  .header-phone{ display: none; }
}

/* Booking CTA */
.booking-cta{
  background: var(--brand-light);
  border: 1px solid rgba(133,27,52,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.booking-cta h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.booking-cta p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Footer enhanced */
.footer-contact{
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-contact a{
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}
.footer-contact a:hover{
  color: var(--brand);
}
.footer-contact svg{
  width: 14px;
  height: 14px;
}

/* FAQ Accordion */
.faq-list{
  display: grid;
  gap: 8px;
}
.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 150ms ease;
}
.faq-item:hover{
  box-shadow: var(--shadow-hover);
}
.faq-item[open]{
  border-color: rgba(133,27,52,0.25);
}
.faq-item summary{
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker{
  display: none;
}
.faq-item summary::after{
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after{
  transform: rotate(45deg);
}
.faq-answer{
  padding: 0 20px 16px;
}
.faq-answer p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Blog */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.blog-card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.blog-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-card .blog-body{
  padding: 18px;
}
.blog-card .blog-tag{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.blog-card h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.blog-card h3 a{
  color: var(--text);
}
.blog-card h3 a:hover{
  color: var(--brand);
}
.blog-card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.blog-card .blog-meta{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Lead Magnet */
.lead-magnet{
  background: linear-gradient(135deg, #1a0a10 0%, var(--brand) 50%, #1a0a10 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lead-magnet::before{
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.lead-magnet-inner{
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
  position: relative;
}
.lead-magnet h2{
  font-size: 28px;
  margin: 0 0 12px;
  color: #fff;
}
.lead-magnet .lead{
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin: 0 0 16px;
  max-width: none;
}
.lead-magnet .checklist-preview{
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.lead-magnet .check-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.lead-magnet .check-item svg{
  width: 20px;
  height: 20px;
  color: #4ade80;
  flex-shrink: 0;
}
.lead-magnet-form{
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px;
}
.lead-magnet-form h3{
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}
.lead-magnet-form .form-sub{
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
}
.lead-magnet-form label{
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}
.lead-magnet-form input{
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.3);
  color: #1a0a10;
}
.lead-magnet-form input::placeholder{
  color: #999;
}
.lead-magnet-form input:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(133,27,52,0.2);
  background: #fff;
}
.lead-magnet-form .form-checkbox label{
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}
.lead-magnet-form .form-checkbox label a{
  color: rgba(255,255,255,0.8);
}
.lead-magnet-form .btn{
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
}
.lead-magnet-form .btn:hover{
  background: var(--brand-light);
}
@media (max-width: 940px){
  .lead-magnet-inner{ grid-template-columns: 1fr; }
}

/* Pain Points — 4-column numbered cards */
.pain-points{
  background: var(--bg);
}
.pain-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 18px;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.pain-card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.pain-card .pain-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.pain-card h3{
  margin: 0 0 8px;
  font-size: 15px;
}
.pain-card p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 940px){
  .pain-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px){
  .pain-grid{ grid-template-columns: 1fr; }
}

/* Differenzierung — dark section */
.differenzierung{
  background: #1a0a10;
  color: #fff;
}
.differenzierung .section-head h2{
  color: #fff;
}
.differenzierung .section-head p{
  color: rgba(255,255,255,0.6);
}
.diff-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.diff-card{
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255,255,255,0.05);
}
.diff-card h3{
  margin: 0 0 10px;
  font-size: 15px;
  color: #fff;
}
.diff-card p,
.diff-card li{
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.55;
}
.diff-card ul{
  margin: 10px 0 0;
  padding-left: 18px;
}
.diff-card li{ margin: 6px 0; }
.diff-card.highlight{
  border-color: var(--brand);
  background: rgba(133,27,52,0.15);
}
.diff-card.highlight h3{
  color: var(--brand-light);
}
@media (max-width: 940px){
  .diff-grid{ grid-template-columns: 1fr; }
}

/* Leistungsfelder — 4 pillars */
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.pillar-card:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.pillar-icon{
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand-light);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pillar-icon svg{
  width: 22px;
  height: 22px;
}
.pillar-card h3{
  margin: 0 0 8px;
  font-size: 15px;
}
.pillar-card p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.pillar-card .pillar-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.pillar-card .pillar-tag{
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 940px){
  .pillars-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px){
  .pillars-grid{ grid-template-columns: 1fr; }
}

/* Savings Calculator */
.calculator{
  background: var(--surface);
}
.calc-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.calc-form{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.calc-form h3{
  margin: 0 0 4px;
  font-size: 16px;
}
.calc-form .calc-sub{
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.calc-field{
  margin-bottom: 16px;
}
.calc-field label{
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.calc-field input[type="range"]{
  width: 100%;
  accent-color: var(--brand);
  margin-top: 4px;
}
.calc-field .range-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.calc-field .range-value{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  min-width: 80px;
  text-align: right;
}
.calc-field .range-bounds{
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.calc-result{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.calc-result-header{
  text-align: center;
  margin-bottom: 20px;
}
.calc-result-header .calc-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-result-header .calc-amount{
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 8px 0 4px;
}
.calc-result-header .calc-period{
  font-size: 13px;
  color: var(--muted);
}
.calc-breakdown{
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.calc-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 13px;
}
.calc-row .calc-row-label{
  color: var(--muted);
}
.calc-row .calc-row-value{
  font-weight: 700;
  color: var(--text);
}
.calc-bar{
  height: 8px;
  border-radius: 4px;
  background: var(--bg);
  margin: 16px 0;
  overflow: hidden;
}
.calc-bar-fill{
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), #c0324f);
  transition: width 300ms ease;
}
.calc-note{
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.calc-cta{
  text-align: center;
  margin-top: 16px;
}
@media (max-width: 940px){
  .calc-wrap{ grid-template-columns: 1fr; }
}

/* Rating Badge */
.rating-badge{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.rating-badge:hover{
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.rating-stars{
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.rating-stars svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.rating-info{
  display: flex;
  flex-direction: column;
}
.rating-score{
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.rating-source{
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* Closing CTA — emotional, centered */
.closing-cta{
  background: var(--surface);
  text-align: center;
  padding: 72px 0;
}
.closing-cta h2{
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  max-width: 700px;
  color: var(--text);
}
.closing-cta p{
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 24px;
}

/* Scroll Reveal Animations */
.reveal{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* Animated Counter */
.metric .value[data-count]{
  transition: none;
}

/* Live Pulse */
.pulse-dot{
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}
.pulse-dot::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(34,197,94,0.4);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring{
  0%{ transform: scale(1); opacity: 1; }
  100%{ transform: scale(2.2); opacity: 0; }
}

/* Sticky Mobile CTA */
.sticky-cta{
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.sticky-cta .btn{
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 14px;
}
@media (max-width: 940px){
  .sticky-cta{ display: block; }
  footer{ padding-bottom: 70px; }
}

/* Dark Mode */
body.dark{
  --brand: #c0465f;
  --brand-dark: #a33750;
  --brand-light: #2a1018;
  --text: #e8e0e3;
  --muted: #9a9095;
  --bg: #121010;
  --surface: #1c1818;
  --line: #2e2828;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.4);
}
body.dark .header{
  background: rgba(18,16,16,0.95);
}
body.dark img{
  opacity: 0.92;
}
body.dark .device-frame{
  background: #0a0808;
}
body.dark .differenzierung{
  background: #0a0808;
}
body.dark .lead-magnet{
  background: linear-gradient(135deg, #0a0808 0%, var(--brand) 100%);
}
body.dark .portal-banner{
  background: linear-gradient(135deg, #0a0808 0%, var(--brand) 100%);
}
body.dark input,
body.dark textarea,
body.dark select{
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
body.dark .pain-card .pain-num{
  color: var(--muted);
  border-color: var(--line);
}
body.dark .rating-stars{ color: #f59e0b; }

.dark-toggle{
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 150ms ease;
}
.dark-toggle:hover{
  background: var(--surface);
}
.dark-toggle svg{
  width: 16px;
  height: 16px;
}

/* Portal Tour Tabs */
.tour-header{
  text-align: center;
  margin-bottom: 24px;
}
.tour-header p{
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}
.tour-tabs{
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.tour-tab{
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  transition: all 200ms ease;
}
.tour-tab:hover{
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}
.tour-tab.active{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(133,27,52,0.3);
  transform: scale(1.05);
}
.tour-tab .tour-tab-icon{
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}
.tour-panel{
  display: none;
  opacity: 0;
  transform: translateY(12px);
}
.tour-panel.active{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  animation: tourFadeIn 0.4s ease forwards;
}
@keyframes tourFadeIn{
  from{ opacity: 0; transform: translateY(12px); }
  to{ opacity: 1; transform: translateY(0); }
}
.tour-panel .showcase-item{
  box-shadow: var(--shadow-hover);
}
@media (max-width: 940px){
  .tour-panel.active{ grid-template-columns: 1fr; }
  .tour-tab{ padding: 10px 18px; font-size: 13px; }
}

/* Exit Intent Popup */
.exit-popup{
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.exit-popup.open{
  opacity: 1;
  visibility: visible;
}
.exit-popup-inner{
  background: var(--surface);
  border-radius: 16px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.95);
  transition: transform 250ms ease;
}
.exit-popup.open .exit-popup-inner{
  transform: scale(1);
}
.exit-popup-close{
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
}
.exit-popup-inner h3{
  font-size: 20px;
  margin: 0 0 8px;
}
.exit-popup-inner p{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

/* Ratedo Siegel als Floating-Widget (rechte Seite) */
.ratedo-floating-siegel{
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  width: 180px;
  max-width: 200px;
}
.ratedo-floating-siegel .ratedo_badge{
  width: 100%;
}
@media (max-width: 940px){
  .ratedo-floating-siegel{
    top: 12px;
    bottom: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
  }
}
@media (max-width: 580px){
  .ratedo-floating-siegel{
    width: 75px;
    top: 14px;
  }
}

/* Floating Ratedo Badge (Legacy — nicht mehr verwendet) */
.ratedo-floating{
  position: fixed;
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  writing-mode: horizontal-tb;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 14px 10px;
  box-shadow: -2px 2px 12px rgba(0,0,0,0.1);
  transition: box-shadow 150ms ease, transform 150ms ease;
  gap: 6px;
}
.ratedo-floating:hover{
  box-shadow: -4px 4px 20px rgba(0,0,0,0.15);
  transform: translateY(-50%) translateX(-2px);
}
.ratedo-floating .rf-score{
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.ratedo-floating .rf-stars{
  display: flex;
  gap: 1px;
  color: #f59e0b;
}
.ratedo-floating .rf-stars svg{
  width: 12px;
  height: 12px;
  fill: currentColor;
}
.ratedo-floating .rf-count{
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.ratedo-floating .rf-label{
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 4px;
}
@media (max-width: 940px){
  .ratedo-floating{
    top: auto;
    bottom: 70px;
    right: 0;
    left: auto;
    transform: none;
    flex-direction: row;
    border-radius: var(--radius) 0 0 0;
    padding: 8px 12px;
    gap: 8px;
  }
  .ratedo-floating:hover{
    transform: translateX(-2px);
  }
  .ratedo-floating .rf-label{
    writing-mode: horizontal-tb;
    transform: none;
    margin-top: 0;
  }
  .ratedo-floating .rf-score{ font-size: 14px; }
}

/* WhatsApp Floating Button */
.whatsapp-btn{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-decoration: none;
}
.whatsapp-btn:hover{
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.whatsapp-btn svg{
  width: 28px;
  height: 28px;
}
@media (max-width: 940px){
  .whatsapp-btn{ bottom: 70px; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.lightbox.open{
  opacity: 1;
  visibility: visible;
}
.lightbox img{
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  cursor: default;
  transform: scale(0.95);
  transition: transform 200ms ease;
}
.lightbox.open img{
  transform: scale(1);
}
.lightbox-close{
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.lightbox-close:hover{
  background: rgba(255,255,255,0.3);
}
.lightbox-caption{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  text-align: center;
  max-width: 600px;
}

/* Clickable showcase items */
.showcase-item[data-lightbox]{
  cursor: zoom-in;
}
.device-frame[data-lightbox]{
  cursor: zoom-in;
}

/* Skip Navigation */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 13px;
  font-weight: 700;
}
.skip-link:focus{
  left: 50%;
  transform: translateX(-50%);
}

/* Checkbox / Consent in forms */
.form-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0;
}
.form-checkbox input[type="checkbox"]{
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--brand);
}
.form-checkbox label{
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  cursor: pointer;
}
.form-checkbox label a{
  color: var(--brand);
  text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────────────────
   Team v2 — Geschäftsleitung + Vertrieb + Betrieb (echte Namen, Rollen)
   Präfix tm- (vermeidet Kollision mit existing .team-card / .avatar)
   ───────────────────────────────────────────────────────────────────────── */
.tm-section-label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.tm-gl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 24px;
}
.tm-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.tm-col-inner { display: flex; flex-direction: column; gap: 14px; }
.tm-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 1.4rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 8px;
}
.tm-card.tm-featured { border-top: 4px solid var(--brand); }
.tm-card.tm-compact {
  flex-direction: column; text-align: left;
  align-items: flex-start; gap: 12px; padding: 1.1rem 1.4rem;
}
.tm-compact-top { display: flex; align-items: center; gap: 14px; }
.tm-compact-texts { display: flex; flex-direction: column; gap: 3px; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tm-tag {
  font-size: 11px; padding: 3px 9px; border-radius: 99px;
  background: #f5e8eb; color: var(--brand); font-weight: 500;
}
.tm-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: #f5e8eb; display: flex; align-items: center;
  justify-content: center; font-size: 15px; font-weight: 600;
  color: var(--brand); flex-shrink: 0;
  overflow: hidden; position: relative;
}
/* Foto-Modus: sobald ein <img> im Avatar liegt, wird es bündig eingepasst.
   Initialen-Text bleibt im DOM (Accessibility), wird vom Bild visuell verdeckt. */
.tm-avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tm-avatar.tm-lead { background: var(--brand); color: #fff; }
.tm-avatar.tm-lead-lg { width: 80px; height: 80px; font-size: 22px; background: var(--brand); color: #fff; }
.tm-avatar.tm-sm { width: 42px; height: 42px; font-size: 12px; }
.tm-name { font-size: 17px; font-weight: 600; margin: 0; line-height: 1.35; color: var(--text); }
.tm-role { font-size: 13px; color: var(--brand); font-weight: 500; margin: 0; line-height: 1.4; }
.tm-epithet { font-size: 12px; color: var(--muted); font-style: italic; margin: 0; line-height: 1.4; }
.tm-desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.tm-badge {
  font-size: 11px; padding: 3px 9px; border-radius: 99px;
  background: #f5e8eb; color: var(--brand); font-weight: 500;
}
body.dark .tm-card { background: var(--bg-soft, #1a1414); }
body.dark .tm-tag, body.dark .tm-badge { background: rgba(133,27,52,0.20); }
body.dark .tm-avatar { background: rgba(133,27,52,0.20); }
@media (max-width: 640px) {
  .tm-gl-grid { grid-template-columns: 1fr; }
  .tm-two-col { grid-template-columns: 1fr; }
}
