/*
Theme Name: webstruktur - GeneratePress Child
Template: generatepress
Version: 1.0
Text Domain: ws-child
*/

/* ==========================================================
   webstruktur.de – Startseite (Entwurf)
   Alle Klassen mit Präfix ws- , damit sich das Design nicht
   mit dem WordPress-Theme überschneidet.
   ========================================================== */
.ws-home, .ws-home *, .ws-home *::before, .ws-home *::after { box-sizing: border-box; }

.ws-home {
  --bg: #07130f;
  --surface: #0f1f19;
  --surface-2: #163027;
  --text: #f3efe2;
  --muted: #a9b9ad;
  --accent: #d4af37;
  --accent-2: #f1d98a;
  --border: rgba(212,175,55,.16);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,.4);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: clip;
  transition: background .4s ease, color .4s ease;
}
.ws-home.ws-light {
  --bg: #f7f4ea;
  --surface: #ffffff;
  --surface-2: #efeadb;
  --text: #0e2219;
  --muted: #4f6158;
  --accent: #8a6a12;
  --accent-2: #c9a227;
  --border: rgba(14,34,25,.12);
  --shadow: 0 20px 50px rgba(14,34,25,.1);
}
.ws-home img, .ws-home svg { max-width: 100%; display: block; }
.ws-home a { color: inherit; }
.ws-home h1, .ws-home h2, .ws-home h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
.ws-home p { margin: 0 0 1em; color: var(--muted); }
.ws-container { width: min(1180px, 92vw); margin-inline: auto; }
.ws-section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.ws-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 1rem;
}
.ws-section-head { max-width: 680px; margin-bottom: 3rem; }
.ws-section-head p { font-size: 1.05rem; }

/* Buttons */
.ws-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ws-btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0d14; box-shadow: 0 10px 30px -10px var(--accent);
}
.ws-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px var(--accent); }
.ws-btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.ws-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.ws-btn:focus-visible, .ws-home a:focus-visible, .ws-home button:focus-visible, .ws-home input:focus-visible, .ws-home textarea:focus-visible, .ws-home select:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}

/* Header */
.ws-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}
.ws-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.ws-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; }
.ws-logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a0d14; font-weight: 700; font-size: .9rem;
}
.ws-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.ws-menu a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s; }
.ws-menu a:hover { color: var(--text); }
.ws-header-actions { display: flex; align-items: center; gap: .75rem; }
.ws-theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.ws-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; place-items: center;
}
.ws-mobile-menu {
  display: none; border-top: 1px solid var(--border); background: var(--bg);
}
.ws-mobile-menu.is-open { display: block; }
.ws-mobile-menu ul { list-style: none; margin: 0; padding: 1rem 0; }
.ws-mobile-menu a { display: block; padding: .9rem 0; text-decoration: none; border-bottom: 1px solid var(--border); font-weight: 500; }

/* Hero */
.ws-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.ws-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.ws-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.ws-hero h1 .ws-gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ws-hero-lead { font-size: 1.15rem; max-width: 560px; }
.ws-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.ws-hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.ws-hero-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; color: var(--text); }
.ws-hero-stats span { font-size: .9rem; color: var(--muted); }

.ws-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: center;
}
.ws-browser {
  position: absolute; inset: 8% 0 12% 8%; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden; animation: ws-float 7s ease-in-out infinite;
}
.ws-browser-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.ws-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); display: block; }
.ws-browser-body { padding: 18px; display: grid; gap: 12px; }
.ws-skeleton { height: 14px; border-radius: 8px; background: var(--surface-2); }
.ws-skeleton.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .85; width: 60%; }
.ws-skeleton-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.ws-skeleton-row div { height: 70px; border-radius: 12px; background: var(--surface-2); }
.ws-chip {
  position: absolute; left: 0; bottom: 4%; padding: .8rem 1rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem; font-size: .9rem; font-weight: 600;
  animation: ws-float 6s ease-in-out infinite reverse;
}
.ws-chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
@keyframes ws-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Leistungen */
.ws-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ws-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.ws-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--shadow); }
.ws-card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.ws-card h3 { font-size: 1.25rem; }
.ws-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.ws-card li { padding: .35rem 0 .35rem 1.6rem; position: relative; color: var(--muted); font-size: .95rem; }
.ws-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Preise */
.ws-toggle {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 2.5rem;
}
.ws-toggle button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer;
  padding: .7rem 1.25rem; border-radius: 999px; transition: background .25s, color .25s;
}
.ws-toggle button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.ws-pricing-panel[hidden] { display: none; }
.ws-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.ws-price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.25rem; display: flex; flex-direction: column; position: relative;
}
.ws-price.is-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box;
  transform: translateY(-8px);
}
.ws-badge {
  position: absolute; top: -12px; right: 24px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .35rem .8rem; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #0a0d14;
}
.ws-price h3 { font-size: 1.4rem; }
.ws-price-amount { font-family: "Space Grotesk", sans-serif; font-size: 2.8rem; font-weight: 700; margin: .5rem 0 1.25rem; }
.ws-price-amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.ws-price ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.ws-price li { padding: .5rem 0 .5rem 1.7rem; position: relative; border-bottom: 1px dashed var(--border); color: var(--muted); font-size: .95rem; }
.ws-price li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ws-price .ws-btn { width: 100%; }
.ws-price-note { margin-top: 2rem; font-size: .9rem; }

/* Vergleich */
.ws-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin-top: 3rem; }
.ws-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.ws-table th, .ws-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.ws-table th { font-family: "Space Grotesk", sans-serif; font-size: .95rem; background: var(--surface-2); }
.ws-table td { color: var(--muted); }
.ws-table td:nth-child(n+2), .ws-table th:nth-child(n+2) { text-align: center; }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-yes { color: var(--accent); font-weight: 700; }
.ws-no { color: var(--muted); opacity: .5; }

/* Über uns */
.ws-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.ws-values { display: grid; gap: 1rem; margin-top: 2rem; }
.ws-value { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.ws-value strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.ws-value span { color: var(--muted); font-size: .95rem; }
.ws-quote {
  margin-top: 2rem; padding: 2rem; border-radius: var(--radius); border-left: 4px solid var(--accent);
  background: var(--surface); color: var(--text); font-size: 1.05rem;
}
.ws-quote footer { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

/* Kontakt */
.ws-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.ws-contact-info a { font-weight: 600; text-decoration: none; color: var(--text); }
.ws-contact-info a:hover { color: var(--accent); }
.ws-info-item { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.ws-info-item .ws-card-icon { margin: 0; width: 46px; height: 46px; }
.ws-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem;
  display: grid; gap: 1.1rem; box-shadow: var(--shadow);
}
.ws-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ws-field { display: grid; gap: .45rem; }
.ws-field label { font-size: .9rem; font-weight: 600; }
.ws-field input, .ws-field select, .ws-field textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: .85rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.ws-field textarea { min-height: 130px; resize: vertical; }
.ws-field input:focus, .ws-field select:focus, .ws-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.ws-field .ws-error { color: #f87171; font-size: .85rem; display: none; }
.ws-field.is-invalid input, .ws-field.is-invalid textarea { border-color: #f87171; }
.ws-field.is-invalid .ws-error { display: block; }
.ws-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.ws-check input { margin-top: .3rem; accent-color: var(--accent); }
.ws-form-status { font-weight: 600; min-height: 1.5em; margin: 0; }
.ws-form-status.is-ok { color: var(--accent); }
.ws-form-status.is-error { color: #f87171; }

/* Footer */
.ws-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; background: var(--surface); }
.ws-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.ws-footer h4 { font-family: "Space Grotesk", sans-serif; font-size: 1rem; margin-bottom: 1rem; }
.ws-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ws-footer a { text-decoration: none; color: var(--muted); }
.ws-footer a:hover { color: var(--accent); }
.ws-footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; color: var(--muted); }

/* Scroll-Animationen */
.ws-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.ws-reveal.is-visible { opacity: 1; transform: none; }
.ws-reveal[data-delay="1"] { transition-delay: .1s; }
.ws-reveal[data-delay="2"] { transition-delay: .2s; }
.ws-reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .ws-home *, .ws-home *::before, .ws-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ws-reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .ws-menu, .ws-header-actions .ws-btn { display: none; }
  .ws-burger { display: grid; }
  .ws-hero-grid, .ws-about-grid, .ws-contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ws-visual { max-width: 420px; }
  .ws-price.is-featured { transform: none; }
  .ws-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ws-form-row { grid-template-columns: 1fr; }
  .ws-footer-grid { grid-template-columns: 1fr; }
  .ws-hero-stats { gap: 1.5rem; }
  .ws-form { padding: 1.5rem; }
}

/* ---------- WordPress / GeneratePress Anpassungen ---------- */
body.ws-page { background: #07130f; }
body.ws-page.ws-is-light { background: #f7f4ea; }
body.ws-page .site-header, body.ws-page .site-footer, body.ws-page .site-info,
body.ws-page .entry-header, body.ws-page .entry-title, body.ws-page .generate-back-to-top,
body.ws-page .main-navigation { display: none !important; }
body.ws-page .site-content, body.ws-page .separate-containers .site-main,
body.ws-page .inside-article, body.ws-page .separate-containers .inside-article,
body.ws-page .grid-container, body.ws-page #page { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body.ws-page .separate-containers .site-main { margin: 0 !important; }
body.ws-page .inside-article, body.ws-page .site-main { background: transparent !important; box-shadow: none !important; border: 0 !important; }
body.ws-page .entry-content { margin: 0 !important; }
body.ws-page .ws-home { min-height: 0; }

/* Rechtstexte */
.ws-legal { max-width: 780px; }
.ws-legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
.ws-legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; color: var(--text); }
.ws-legal p { color: var(--muted); }
.ws-legal a { color: var(--accent); }

/* ---------- Seitenleiste ausblenden, volle Breite ---------- */
body.ws-page #right-sidebar, body.ws-page #left-sidebar, body.ws-page .sidebar,
body.ws-page .widget-area { display: none !important; }
body.ws-page .content-area, body.ws-page .site-main, body.ws-page .site-content .content-area {
  width: 100% !important; float: none !important; }

/* ---------- Complianz Cookie-Banner im webstruktur-Design ---------- */
.cmplz-cookiebanner {
  background: #0f1f19 !important; color: #f3efe2 !important;
  border: 1px solid rgba(212,175,55,.3) !important; border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.45) !important;
  font-family: "Inter", system-ui, sans-serif !important;
}
.cmplz-cookiebanner .cmplz-title, .cmplz-cookiebanner h2 {
  font-family: "Space Grotesk", "Inter", sans-serif !important; color: #f3efe2 !important; }
.cmplz-cookiebanner .cmplz-message, .cmplz-cookiebanner .cmplz-category,
.cmplz-cookiebanner p, .cmplz-cookiebanner label { color: #a9b9ad !important; }
.cmplz-cookiebanner a, .cmplz-show-banner { color: #d4af37 !important; text-underline-offset: 3px; }
.cmplz-cookiebanner .cmplz-btn, .cmplz-btn {
  border-radius: 999px !important; font-weight: 600 !important; padding: .75rem 1.25rem !important;
  font-family: "Inter", sans-serif !important; transition: transform .2s ease, box-shadow .2s ease !important; }
.cmplz-btn.cmplz-accept {
  background: linear-gradient(120deg, #d4af37, #f1d98a) !important; color: #07130f !important;
  border: 0 !important; box-shadow: 0 10px 30px -10px #d4af37 !important; }
.cmplz-btn.cmplz-deny, .cmplz-btn.cmplz-view-preferences, .cmplz-btn.cmplz-save-preferences {
  background: transparent !important; color: #f3efe2 !important; border: 1px solid rgba(212,175,55,.45) !important; }
.cmplz-btn:hover { transform: translateY(-2px); }
.cmplz-btn:focus-visible, .cmplz-cookiebanner a:focus-visible, .cmplz-show-banner:focus-visible {
  outline: 3px solid #d4af37 !important; outline-offset: 3px; }
.cmplz-cookiebanner .cmplz-close { color: #f3efe2 !important; }
.cmplz-cookiebanner .cmplz-category input[type=checkbox] { accent-color: #d4af37; }
@media (prefers-reduced-motion: reduce) { .cmplz-btn { transition: none !important; transform: none !important; } }

/* Cookie-Liste (Shortcode [cmplz-cookies]) */
.ws-legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; font-size: .92rem; }
.ws-legal th, .ws-legal td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.ws-legal th { color: var(--text); background: var(--surface-2); }
.ws-legal .ws-cookie-action { margin: 1.5rem 0 2.5rem; }

/* ---------- Logo-Monogramm (PNG) ---------- */
.ws-logo-img { width: 56px; height: 56px; object-fit: contain; flex: none; display: block; }
.ws-home .ws-logo-img--light { display: none !important; }
.ws-home.ws-light .ws-logo-img--gold { display: none !important; }
.ws-home.ws-light .ws-logo-img--light { display: block !important; }
.ws-home .ws-logo-img--gold { display: block !important; }
@media (max-width: 600px) { .ws-logo-img { width: 46px; height: 46px; } }

/* ============ Lebendiger Look v2 ============ */
.ws-hero { position: relative; }
.ws-hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent) 0%, transparent 68%);
  filter: blur(12px); animation: ws-drift 14s ease-in-out infinite; pointer-events: none; z-index: 0;
}
.ws-hero > .ws-container { position: relative; z-index: 1; }
@keyframes ws-drift { 50% { transform: translate(-50px, 36px) scale(1.08); } }

/* Karten: Spotlight + leichte 3D-Neigung */
.ws-home .ws-card, .ws-home .ws-price { position: relative; transform-style: preserve-3d; }
.ws-home .ws-card::after, .ws-home .ws-price::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.ws-home .ws-card:hover::after, .ws-home .ws-price:hover::after { opacity: 1; }
.ws-home .ws-card:hover, .ws-home .ws-price:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.ws-home .ws-price.is-featured:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-14px); }

/* Ablauf / Zeitstrahl */
.ws-timeline { position: relative; }
.ws-timeline-line { position: absolute; top: 26px; left: 0; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.ws-timeline-line path {
  fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.4s ease;
}
.ws-timeline.is-drawn .ws-timeline-line path { stroke-dashoffset: 0; }
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.ws-step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  font-family: "Space Grotesk", sans-serif; font-weight: 700; box-shadow: 0 0 0 8px var(--bg); position: relative; z-index: 1;
}
.ws-step h3 { font-size: 1.2rem; }
.ws-step p { font-size: .95rem; }

/* CTA-Band in Gold */
.ws-cta-band { padding-top: 0; }
.ws-cta-inner {
  position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem); border-radius: 24px;
  background: linear-gradient(120deg, #d4af37 0%, #f1d98a 55%, #c9a227 100%); color: #07130f;
}
.ws-cta-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-100%); animation: ws-shine 5s ease-in-out infinite;
}
@keyframes ws-shine { 60%, 100% { transform: translateX(100%); } }
.ws-cta-inner h2 { color: #07130f; margin: 0 0 .35em; max-width: 620px; }
.ws-cta-inner p { color: #163027; margin: 0; }
.ws-cta-inner .ws-btn-dark { position: relative; }
.ws-btn-dark { background: #07130f; color: #f3efe2; box-shadow: 0 12px 30px -12px rgba(7,19,15,.6); }
.ws-btn-dark:hover { transform: translateY(-2px); color: #f1d98a; }

@media (max-width: 960px) { .ws-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .ws-steps { grid-template-columns: 1fr; gap: 2rem; }
  .ws-timeline-line { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-hero::before, .ws-cta-inner::before { animation: none; }
  .ws-timeline-line path { transition: none; stroke-dashoffset: 0; }
  .ws-home .ws-card:hover, .ws-home .ws-price:hover { transform: translateY(-4px); }
}

/* Beitragsbild des Themes (z. B. KI-Bild auf /ueber-uns) auf webstruktur-Seiten ausblenden */
body.ws-page .post-image, body.ws-page .post-thumbnail, body.ws-page .featured-image,
body.ws-page .wp-post-image, body.ws-page img.wp-post-image, body.ws-page .page-header-image,
body.ws-page .entry-image { display: none !important; }

/* ---------- Portrait Über uns (Gold/Grün) ---------- */
.ws-portrait { margin: 0 0 2rem; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(212,175,55,.35); box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); position: relative; }
.ws-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7,19,15,.55)); pointer-events: none; }
.ws-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* ============ Über-uns-Seite v3 + Button-Fixes ============ */
.ws-home .ws-btn-primary { color: #07130f; }
.ws-home .ws-btn-dark { color: #f3efe2; }
.ws-home .ws-btn-dark:hover { color: #f1d98a; }
.ws-home .ws-btn-ghost { color: var(--text); }
.ws-home .ws-btn-ghost:hover { color: var(--accent); }
.ws-cta-inner > * { position: relative; z-index: 1; }
.ws-cta-inner p { color: #163027 !important; }
.ws-cta-inner h2 { color: #07130f !important; }

.ws-about-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.ws-about-portrait { position: relative; margin: 0; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden; border: 1px solid rgba(212,175,55,.35); box-shadow: 0 30px 70px -25px rgba(0,0,0,.7); }
.ws-about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.ws-about-portrait figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .5rem .9rem; border-radius: 999px;
  background: rgba(7,19,15,.75); color: #f3efe2; font-size: .85rem; backdrop-filter: blur(6px); }
.ws-about-intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.ws-chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ws-chips li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .9rem; background: var(--surface); }

.ws-story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.ws-story-list { list-style: none; margin: 0; padding: 0; }
.ws-story-list li { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 0 0 2.5rem; position: relative; }
.ws-story-list li::before { content: ""; position: absolute; left: 104px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.ws-story-list li:last-child { padding-bottom: 0; }
.ws-story-list li:last-child::before { bottom: 50%; }
.ws-story-year { font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--accent); text-align: right; padding-right: 1.5rem; padding-top: .15rem; }
.ws-story-list h3 { font-size: 1.2rem; margin-bottom: .3rem; }

.ws-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ws-value-num { display: block; font-family: "Space Grotesk", sans-serif; font-size: 3.2rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 1rem; }

.ws-how-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.ws-how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ws-how-list li { padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.ws-how-list strong { display: block; color: var(--text); font-family: "Space Grotesk", sans-serif; margin-bottom: .2rem; }

.ws-big-quote { max-width: 860px; margin: 0 auto; text-align: center; position: relative; padding: 2.5rem 0 0;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.35; color: var(--text); border: 0; }
.ws-big-quote::before { content: "\201C"; position: absolute; top: -.1em; left: 50%; transform: translateX(-50%);
  font-size: 6rem; color: var(--accent); opacity: .35; line-height: 1; }
.ws-big-quote footer { margin-top: 1.5rem; font-family: "Inter", sans-serif; font-size: 1rem; color: var(--muted); }

@media (max-width: 960px) {
  .ws-about-hero-grid, .ws-story-grid, .ws-how-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .ws-story-list li { grid-template-columns: 1fr; gap: .5rem; }
  .ws-story-list li::before { display: none; }
  .ws-story-year { text-align: left; padding-right: 0; }
}

/* ============ Individuelle Leistungen (Tab) ============ */
.ws-toggle { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.ws-toggle button { white-space: nowrap; }
.ws-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ws-service-grid .ws-card { display: flex; flex-direction: column; }
.ws-service-grid .ws-card p { flex: 1; }
.ws-card-link { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.ws-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ws-pricing-panel .ws-section-head { margin-bottom: 2.5rem; }
