/*
Theme Name: Web Kieeper
Theme URI: https://web-kieeper.de
Author: Web Kieeper
Author URI: https://web-kieeper.de
Description: Eigenstaendiges WordPress-Theme fuer den Web Kieeper Onepager – Wartung, Schutz und Weiterentwicklung. Design 1:1 uebernommen aus der statischen Referenzseite.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: web-kieeper
*/

:root{
    --black:#0B0B0B;
    --black-2:#161513;
    --black-3:#201F1C;
    --line-dark:#332F27;
    --muted-dark:#9C978C;

    --gold:#C9A24C;
    --gold-light:#E3C883;
    --gold-deep:#9C7A32;
    --gold-glow:rgba(201,162,76,0.32);

    --ivory:#F3F1EA;
    --paper:#F6F3EC;
    --paper-2:#FFFFFF;
    --paper-line:#E4DFD1;
    --text:#171510;
    --muted:#6E6A5E;

    --radius:14px;
    --maxw:1180px;

    --display:'Poppins', sans-serif;
    --body:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
    margin:0; background:var(--paper); color:var(--text);
    font-family:var(--body); font-size:16px; line-height:1.55;
    -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
.icon{ width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
section{ position:relative; }
.eyebrow{
    font-family:var(--body); font-size:12.5px; letter-spacing:.2em; text-transform:uppercase;
    display:inline-flex; align-items:center; gap:9px; font-weight:600;
}
.eyebrow.on-dark{ color:var(--gold); }
.eyebrow.on-light{ color:var(--gold-deep); }

h1,h2,h3{ font-family:var(--display); font-weight:600; margin:0; letter-spacing:-.01em; }
h2{ font-size:clamp(28px,3.6vw,40px); line-height:1.15; font-weight:600; }
h3{ font-size:23px; line-height:1.25; font-weight:600; }
p{ margin:0; }

/* ---------- pulse ---------- */
.pulse-dot{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--gold); flex:none; }
.pulse-dot::before,.pulse-dot::after{
    content:""; position:absolute; inset:0; border-radius:50%; border:1px solid var(--gold);
    animation:pulseRing 2.6s cubic-bezier(.25,.6,.4,1) infinite;
}
.pulse-dot::after{ animation-delay:1.3s; }
@keyframes pulseRing{ 0%{ transform:scale(1); opacity:.9; } 100%{ transform:scale(7); opacity:0; } }
@media (prefers-reduced-motion: reduce){
    .pulse-dot::before,.pulse-dot::after{ animation:none; opacity:.35; }
    html{ scroll-behavior:auto; }
}

/* ---------- brand logo ---------- */
.logo-lockup{ display:flex; align-items:center; gap:16px; }
.brand-logo{ display:block; width:auto; }
.logo-plate{
    display:inline-flex; align-items:center; justify-content:center;
    background:var(--paper-2); border:1px solid var(--paper-line); line-height:0;
}
.logo-plate-header{ border-radius:9px; padding:6px 13px; }
.brand-logo-header{ height:26px; }
.logo-plate-footer{ border-radius:9px; padding:6px 13px; }
.brand-logo-footer{ height:24px; }
.logo-plate-hero{
    border-radius:var(--radius); padding:26px 38px;
    box-shadow:0 26px 60px rgba(0,0,0,.4);
}
.brand-logo-hero{ height:clamp(72px,15vw,140px); }

/* ---------- nav ---------- */
header.nav{
    position:sticky; top:0; z-index:50; background:rgba(11,11,11,.88); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-dark);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 32px; max-width:var(--maxw); margin:0 auto; }
.nav-links{ display:flex; align-items:center; }
.nav-links a{ color:var(--muted-dark); font-size:14.5px; transition:color .2s; margin-right:32px; }
.nav-links a:last-child{ margin-right:0; }
.nav-links a:hover{ color:var(--ivory); }
.btn{
    font-family:var(--body); font-weight:600; font-size:14.5px; padding:11px 22px; border-radius:999px;
    display:inline-flex; align-items:center; gap:8px; cursor:pointer; border:none; white-space:nowrap;
    transition:transform .18s, box-shadow .18s, background .18s;
}
@media (max-width:480px){
    .nav-inner{ padding:12px 16px; }
    .brand-logo-header{ height:21px; }
    .logo-plate-header{ padding:5px 10px; }
    .nav-cta.btn{ padding:9px 14px; font-size:12.5px; }
}
.btn-gold{ background:var(--gold); color:#1B1508; }
.btn-gold:hover{ background:var(--gold-light); transform:translateY(-1px); box-shadow:0 8px 22px var(--gold-glow); }
.btn-ghost-dark{ background:transparent; color:var(--ivory); border:1px solid var(--line-dark); }
.btn-ghost-dark:hover{ border-color:var(--muted-dark); }
@media (max-width:860px){ .nav-links{ display:none; } }

/* ---------- hero ---------- */
.hero{ background:var(--black); color:var(--ivory); padding:104px 0 0; text-align:center; overflow:hidden; }
.hero::before{
    content:""; position:absolute; top:60px; left:50%; transform:translateX(-50%);
    width:560px; height:560px; background:radial-gradient(circle, var(--gold-glow), transparent 68%);
    pointer-events:none;
}
.hero-inner{ position:relative; z-index:2; max-width:760px; margin:0 auto; display:flex; flex-direction:column; align-items:center; padding:0 24px; }
.hero .logo-plate-hero{ margin-bottom:32px; }
.hero-tagline{ font-family:var(--body); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:38px; }
.hero p.lead{ font-size:17px; color:var(--muted-dark); max-width:540px; line-height:1.65; margin-bottom:38px; }
.hero-ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:64px; }

.pillars-row{ display:flex; align-items:stretch; justify-content:center; border-top:1px solid var(--line-dark); width:100%; padding:0; }
.pillar{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:36px 44px; }
.pillar + .pillar{ border-left:1px solid var(--line-dark); }
.pillar .icn{ width:32px; height:32px; color:var(--gold); }
.pillar .lbl{ font-family:var(--body); font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ivory); font-weight:600; }
@media (max-width:640px){ .pillar{ padding:30px 18px; } .pillar .lbl{ font-size:10px; } }
    /* ---------- generic section paddings ---------- */
.section{ padding:100px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head .eyebrow{ margin-bottom:16px; }
.section-head p.sub{ margin-top:16px; font-size:16.5px; color:var(--muted); line-height:1.6; }

/* ---------- problem cards ---------- */
.card-grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:860px){ .card-grid3{ grid-template-columns:1fr; } }
.pcard{
    background:var(--paper-2); border:1px solid var(--paper-line); border-radius:var(--radius); padding:30px 26px;
    transition:transform .25s ease, box-shadow .25s ease;
}
.pcard:hover{ transform:translateY(-3px); box-shadow:0 16px 30px rgba(20,18,10,.06); }
.pcard .icn{
    width:46px; height:46px; border-radius:11px; background:var(--black); color:var(--gold);
    display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.pcard h4{ font-family:var(--display); font-size:18px; font-weight:600; margin:0 0 8px; }
.pcard p{ color:var(--muted); font-size:14.5px; line-height:1.55; }

/* ---------- additional services (SEO / GEO) ---------- */
.addon-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:860px){ .addon-grid{ grid-template-columns:1fr; } }
.addoncard{ background:var(--paper-2); border:1px solid var(--paper-line); border-radius:var(--radius); padding:34px 30px; }
.addoncard .icn{
    width:48px; height:48px; border-radius:11px; background:var(--black); color:var(--gold);
    display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.addoncard h4{ font-family:var(--display); font-size:19px; font-weight:600; margin:0 0 18px; }
.addoncard .leistungen{ margin-bottom:20px; }

/* ---------- solution overview ---------- */
.solution{ background:var(--black); color:var(--ivory); }
.solution .section-head p.sub{ color:var(--muted-dark); }
.stair{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; position:relative; }
@media (max-width:860px){ .stair{ grid-template-columns:1fr; } }
.stair-item{
    background:var(--black-2); border:1px solid var(--line-dark); border-radius:var(--radius);
    padding:32px 28px; position:relative;
}
.stair-item .icn{ width:30px; height:30px; color:var(--gold); margin-bottom:20px; }
.stair-item .num{ font-family:var(--body); color:var(--gold); font-size:12px; letter-spacing:.16em; text-transform:uppercase; font-weight:600; display:block; margin-bottom:10px; }
.stair-item h4{ font-family:var(--display); font-size:21px; font-weight:600; color:var(--ivory); margin:0 0 10px; }
.stair-item p{ color:var(--muted-dark); font-size:14px; line-height:1.55; margin-bottom:18px; }
.stair-item a.jump{ font-family:var(--body); font-size:12.5px; font-weight:600; color:var(--gold); display:inline-flex; align-items:center; gap:6px; }
.stair-item a.jump .icon{ width:13px; height:13px; }
@media (min-width:861px){
    .stair-item:nth-child(2){ transform:translateY(-10px); border-color:#463C24; }
    .stair-item:nth-child(3){ transform:translateY(-20px); border-color:#5A4A26; box-shadow:0 20px 46px rgba(201,162,76,.08); }
}

/* ---------- module detail ---------- */
.module{ padding:96px 0; border-top:1px solid var(--paper-line); }
.module-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:60px; align-items:start; }
@media (max-width:920px){ .module-grid{ grid-template-columns:1fr; gap:34px; } .price-card{ position:static; } }
.module.reverse .module-grid > *:nth-child(1){ order:2; }
.module.reverse .module-grid > *:nth-child(2){ order:1; }
.kicker-row{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.kicker{ font-family:var(--body); font-size:12.5px; letter-spacing:.18em; text-transform:uppercase; font-weight:700; color:var(--gold-deep); }
.module h3{ margin-bottom:10px; }
.module .dek{ color:var(--muted); font-size:15.5px; margin-bottom:30px; max-width:480px; }
.leistungen{ list-style:none; margin:0 0 26px; padding:0; display:grid; gap:13px; }
.leistungen li{ display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:var(--text); line-height:1.5; }
.leistungen li .icon{ width:17px; height:17px; margin-top:2px; color:var(--gold-deep); flex:none; }
.footnote{ font-size:12.5px; color:var(--muted); line-height:1.6; border-top:1px solid var(--paper-line); padding-top:16px; margin-top:6px; }

.price-card{
    background:var(--black); color:var(--ivory); border-radius:var(--radius); padding:32px 30px;
    position:sticky; top:88px;
}
.price-card .lbl{ font-family:var(--body); font-size:11.5px; letter-spacing:.14em; color:var(--muted-dark); text-transform:uppercase; font-weight:600; }
.price-card .amount{ font-family:var(--display); font-size:38px; font-weight:600; color:var(--ivory); margin:8px 0 4px; }
.price-card .amount span{ font-size:16px; font-weight:400; color:var(--muted-dark); }
.price-card .note{ font-size:12.5px; color:var(--muted-dark); line-height:1.5; margin-bottom:22px; }
.price-card hr{ border:none; border-top:1px solid var(--line-dark); margin:22px 0; }
.price-card .contingent{ font-family:var(--display); font-size:19px; font-weight:600; color:var(--ivory); margin:6px 0 4px; }
.price-card .sub-note{ font-size:12px; color:var(--muted-dark); margin-bottom:20px; }
.advantage-box{ background:var(--black-3); border:1px solid var(--line-dark); border-radius:10px; padding:16px 18px; }
.advantage-box .reg{ font-size:12.5px; color:var(--muted-dark); margin-bottom:6px; }
.advantage-box .adv{ font-family:var(--display); font-size:18px; font-weight:600; color:var(--gold); }

.quote{ font-family:var(--display); font-weight:500; font-size:16px; color:var(--text); line-height:1.55; margin-top:22px; padding-left:18px; border-left:2px solid var(--gold); }
    /* ---------- pricing table section ---------- */
.pricing{ background:var(--black); color:var(--ivory); }
.pricing .section-head p.sub{ color:var(--muted-dark); }
table.ptable{ width:100%; border-collapse:collapse; }
table.ptable th, table.ptable td{ padding:18px 20px; text-align:center; font-size:14.5px; }
table.ptable th{ font-family:var(--body); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted-dark); font-weight:600; text-align:left; border-bottom:1px solid var(--line-dark); }
table.ptable td:first-child, table.ptable th:first-child{ text-align:left; }
table.ptable tbody tr{ border-bottom:1px solid var(--line-dark); }
table.ptable tbody td:first-child{ font-weight:500; color:var(--ivory); }
table.ptable tbody td.adv{ color:var(--gold); font-weight:700; }
table.ptable tr.total{ background:var(--black-2); }
table.ptable tr.total td{ font-weight:700; color:var(--ivory); padding:22px 20px; }
table.ptable tr.total td.adv{ color:var(--gold); font-size:16px; }
.table-scroll{ overflow-x:auto; margin:0 -4px; }
.pricing-callout{
    margin-top:34px; padding:26px 28px; border:1px solid var(--line-dark); border-radius:var(--radius);
    font-family:var(--display); font-weight:500; font-size:17px; color:var(--muted-dark); line-height:1.5;
    display:flex; gap:16px; align-items:flex-start;
}
.pricing-callout .icon{ color:var(--gold); flex:none; margin-top:3px; }

/* ---------- package comparison table ---------- */
table.ptable.compare{ min-width:640px; }
table.ptable.compare th{ text-align:center; vertical-align:bottom; padding-bottom:22px; }
table.ptable.compare th:first-child{ text-align:left; }
table.ptable.compare .plan-name{ display:block; font-family:var(--display); font-size:15px; font-weight:600; color:var(--ivory); text-transform:none; letter-spacing:0; }
table.ptable.compare .plan-price{ display:block; font-family:var(--display); font-size:20px; font-weight:600; color:var(--ivory); margin-top:6px; }
table.ptable.compare .plan-price span{ font-size:11px; font-weight:400; color:var(--muted-dark); text-transform:none; letter-spacing:0; }
table.ptable.compare .plan-badge{
    display:inline-block; font-family:var(--body); font-size:9.5px; letter-spacing:.12em; text-transform:uppercase;
    font-weight:700; color:#1B1508; background:var(--gold); padding:3px 9px; border-radius:999px; margin-bottom:8px;
}
table.ptable.compare td.yes{ color:var(--gold); font-weight:700; font-size:15px; }
table.ptable.compare td.no{ color:var(--line-dark); }
table.ptable.compare .col-highlight{ background:rgba(201,162,76,.07); }
table.ptable.compare tr.total td.col-highlight{ color:var(--gold); }
.compare-subhead{ margin:60px 0 6px; color:var(--ivory); }

/* ---------- benefits grid ---------- */
.card-grid6{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--paper-line); border:1px solid var(--paper-line); border-radius:var(--radius); overflow:hidden; }
@media (max-width:860px){ .card-grid6{ grid-template-columns:1fr; } }
@media (min-width:861px) and (max-width:1080px){ .card-grid6{ grid-template-columns:repeat(2,1fr); } }
.bcell{ background:var(--paper-2); padding:34px 28px; }
.bcell .icn{ width:38px; height:38px; border-radius:10px; background:var(--paper); color:var(--gold-deep); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.bcell h4{ font-family:var(--display); font-size:17px; font-weight:600; margin:0 0 8px; }
.bcell p{ color:var(--muted); font-size:14px; line-height:1.55; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:820px; }
.faq-item{ border-bottom:1px solid var(--paper-line); }
.faq-q{
    display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 4px;
    cursor:pointer; background:none; border:none; width:100%; text-align:left; font-family:var(--display);
    font-size:17px; font-weight:600; color:var(--text);
}
.faq-q .icon{ width:18px; height:18px; color:var(--gold-deep); flex:none; transition:transform .25s ease; }
.faq-item.open .faq-q .icon{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a-inner{ padding:0 4px 26px; color:var(--muted); font-size:15px; line-height:1.65; max-width:700px; }

/* ---------- final CTA ---------- */
.cta{ background:var(--black); color:var(--ivory); }
.cta-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:start; }
@media (max-width:900px){ .cta-grid{ grid-template-columns:1fr; } }
.cta h2{ color:var(--ivory); margin-bottom:20px; }
.cta p.lead{ color:var(--muted-dark); font-size:16.5px; line-height:1.6; max-width:520px; margin-bottom:36px; }
.steps{ display:grid; gap:18px; }
.step{ display:flex; gap:16px; align-items:flex-start; }
.step .n{
    width:30px; height:30px; border-radius:50%; background:var(--black-2); border:1px solid var(--line-dark);
    color:var(--gold); font-family:var(--body); font-weight:700; font-size:13px; display:flex; align-items:center; justify-content:center; flex:none;
}
.step p{ font-size:15px; color:var(--ivory); padding-top:4px; }

.contact-card{ background:var(--black-2); border:1px solid var(--line-dark); border-radius:var(--radius); padding:34px; }
.contact-card .lbl{ font-family:var(--body); font-size:11.5px; letter-spacing:.14em; color:var(--muted-dark); text-transform:uppercase; font-weight:600; margin-bottom:14px; }
.contact-line{ display:flex; align-items:center; gap:12px; margin-bottom:16px; font-size:15px; }
.contact-line .icon{ color:var(--gold); width:18px; height:18px; }
.contact-card .btn{ width:100%; justify-content:center; margin-top:8px; }

/* ---------- contact form ---------- */
.contact-form{ display:grid; gap:16px; margin-top:22px; }
.form-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:480px){ .form-row{ grid-template-columns:1fr; } }
.form-field{ display:grid; gap:6px; font-size:12.5px; color:var(--muted-dark); font-family:var(--body); font-weight:600; letter-spacing:.02em; }
.form-field input, .form-field select, .form-field textarea{
    font-family:var(--body); font-size:14.5px; color:var(--ivory); background:var(--black-3);
    border:1px solid var(--line-dark); border-radius:10px; padding:11px 13px; resize:vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--gold); }
.form-check{ display:flex; align-items:flex-start; gap:10px; font-size:12px; color:var(--muted-dark); line-height:1.5; }
.form-check input{ margin-top:3px; accent-color:var(--gold); flex:none; }
.form-check a{ color:var(--gold); text-decoration:underline; }
.form-note{ font-size:12.5px; color:var(--muted-dark); margin-top:2px; }
.form-note a{ color:var(--gold); }
.form-status{ font-size:13.5px; border-radius:10px; padding:12px 14px; margin-bottom:18px; line-height:1.5; }
.form-status.success{ background:rgba(201,162,76,.12); color:var(--gold-light); border:1px solid rgba(201,162,76,.3); }
.form-status.error{ background:rgba(200,80,60,.12); color:#E39C8C; border:1px solid rgba(200,80,60,.35); }

/* ---------- footer ---------- */
footer{ background:var(--black); color:var(--muted-dark); border-top:1px solid var(--line-dark); padding:44px 0; }
.foot-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; }
.foot-links{ display:flex; }
.foot-links a{ font-size:13.5px; margin-right:24px; }
.foot-links a:last-child{ margin-right:0; }
.foot-links a:hover{ color:var(--ivory); }
.foot-legal{ font-size:12.5px; }

/* ---------- reveal (progressive enhancement — visible by default) ---------- */
.reveal{ opacity:1; transform:none; }
body.io .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
body.io .reveal.in{ opacity:1; transform:none; }

/* ---------- legal pages (Impressum / Datenschutz) ---------- */
.legal-page{ padding:160px 0 100px; }
.legal-page h1{ font-size:clamp(28px,3.6vw,40px); margin-bottom:28px; }
.legal-content{ color:var(--text); font-size:15.5px; line-height:1.7; max-width:760px; }
.legal-content h2{ font-family:var(--display); font-size:22px; font-weight:600; margin:32px 0 12px; }
.legal-content p{ margin-bottom:16px; }
.legal-content ul, .legal-content ol{ margin:0 0 16px 20px; }
.legal-content a{ color:var(--gold-deep); text-decoration:underline; }
