/* Dienstle: no external fonts or scripts, so the site needs no cookie or consent banner. Based on the Top Advisory
   stylesheet (cloud/topadvisory/site.css), in the blue and green of the dienstle.de logo. */
:root {
    --navy: #0B3C5D;
    --navy-soft: #0F5A87;
    --gold: #5FA83A;
    --ivory: #EAF5FB;
    --green: #0077B6;
    --ink: #0B3C5D;
    --muted: #4F6475;
    --line: #D8E6EE;
    --bg: #FFFFFF;
    --bg-soft: #F5FAFD;
    --serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--green); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

section { padding: 88px 0; }
section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px;
}
.intro { color: var(--muted); font-size: 1.1rem; max-width: 680px; margin-bottom: 40px; }
.center .intro { margin-left: auto; margin-right: auto; }

/* Navigation */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.brand .mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }
.nav-links .btn { color: #FFFFFF; }
.nav-links .lang { font-weight: 700; color: var(--navy); }

/* Buttons */
.btn {
    display: inline-block; background: var(--navy); color: #FFFFFF; text-decoration: none;
    font-weight: 600; padding: 13px 24px; border-radius: 8px; border: 2px solid var(--navy);
    transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--ivory); border-color: var(--navy); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }
.btn-block { display: block; text-align: center; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--ivory) 0%, #FFFFFF 100%); padding: 96px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 20px; max-width: 600px; }

.price-tag, .offer-card {
    background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--gold);
    border-radius: 12px; padding: 32px; box-shadow: 0 12px 32px rgba(11, 60, 93, 0.08);
}
.price-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.price { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--navy); line-height: 1.1; margin-top: 6px; }
.price-note { color: var(--muted); margin-bottom: 20px; }

.hero-quote {
    background: var(--navy); color: var(--ivory); border-radius: 12px; padding: 36px 32px;
    border-left: 4px solid var(--gold); box-shadow: 0 12px 32px rgba(11, 60, 93, 0.12);
}
.quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.quote-by { margin-top: 16px; color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.tiers { list-style: none; margin: -8px 0 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--muted); }
.tiers b { color: var(--navy); }
.price-unit { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card .price { font-size: 2.4rem; }

.checks { list-style: none; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; }
.checks li::before {
    content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
    border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: #FFFFFF; }
.card p, .option p { color: var(--muted); }
.option { padding: 8px 4px; }
.option-num {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border-radius: 50%; background: var(--navy); color: var(--ivory); font-weight: 700; margin-bottom: 14px;
}

/* Offer */
.offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; color: var(--muted); }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid var(--gold); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps strong { color: var(--navy); }

.about-product { max-width: 760px; }
.about-product p { color: var(--muted); font-size: 1.1rem; margin-bottom: 14px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin-top: 12px; }

/* Contact */
.contact { background: var(--navy); }
.contact h2 { color: var(--ivory); }
.contact .intro { color: #C9DDEA; }
.contact .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); font-size: 1.05rem; }
.contact .btn:hover { background: #6FBA48; border-color: #6FBA48; }
.contact-alt { color: #C9DDEA; margin-top: 16px; }
.contact-alt a { color: var(--ivory); }

/* Footer */
footer { background: #082C45; color: #A7C0D1; padding: 28px 0; font-size: 0.9rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 20px; }
footer a { color: #D6E6F0; text-decoration: none; }
footer a:hover { color: #FFFFFF; }

/* Legal pages */
.legal { padding: 64px 0 88px; background: var(--bg-soft); min-height: 70vh; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

@media (max-width: 900px) {
    .hero-grid, .offer, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero-grid, .offer { gap: 36px; }
    section { padding: 64px 0; }
    .hero { padding: 56px 0 64px; }
    .nav-links a:not(.btn):not(.lang) { display: none; }
}

.hero-side { display: flex; flex-direction: column; gap: 20px; }

section.about { border-top: 1px solid var(--line); }
.timeline { list-style: none; border-left: 2px solid var(--line); margin: 8px 0 48px 6px; }
.timeline > li { position: relative; padding: 0 0 32px 28px; }
.timeline > li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #FFFFFF; }
.timeline .when { color: var(--gold); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.timeline h3 { margin: 4px 0 8px; }
.timeline ul, .facts ul { color: var(--muted); padding-left: 20px; }
.timeline ul li, .facts ul li { margin-bottom: 6px; }

/* Dienstle additions */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
.brand img { height: 40px; width: auto; display: block; }
.hero { background: linear-gradient(160deg, var(--ivory) 0%, #FFFFFF 55%, #F0F8EA 100%); }
.btn { background: var(--green); border-color: var(--green); }
.btn:hover { background: #005F92; border-color: #005F92; }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.contact .btn { color: #FFFFFF; }
.card { border-top: 3px solid var(--ivory); }
.card:hover { border-top-color: var(--gold); }
.facts-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: 0 12px 32px rgba(11, 60, 93, 0.06); }
.fact b { display: block; font-size: 2rem; line-height: 1.1; color: var(--green); }
.fact span { color: var(--muted); font-size: 0.95rem; }
.fact:nth-child(2n) b { color: var(--gold); }
.contact-person { color: #C9DDEA; margin-top: 28px; font-size: 0.95rem; }
@media (max-width: 900px) {
    .brand img { height: 32px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .fact { padding: 16px; }
    .fact b { font-size: 1.35rem; }
}
.actions-note { margin: 8px 0 18px; font-size: 0.92rem; color: var(--muted, #4F6475); max-width: 560px; }
.tagline-bar { background: #5FA83A; color: #FFFFFF; text-align: center; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; }
/* Homepage: the example conversation, the result and the price cards */
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 8px; }
.chat-demo { background: #F5FAFD; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-demo .bubble { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 88%; font-size: 0.95rem; line-height: 1.45; }
.chat-demo .user { align-self: flex-end; background: #B5482F; color: #FFFFFF; border-bottom-right-radius: 4px; }
.chat-demo .bot { align-self: flex-start; background: #FFFFFF; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.result img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(11, 60, 93, 0.12); }
.result-label { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.result-note { color: var(--muted); font-size: 0.95rem; margin-top: 10px; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.pcard { position: relative; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.pcard.rec { border: 2px solid var(--green); }
.pcard .recb { position: absolute; top: -12px; right: 18px; background: var(--green); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 3px 12px; margin: 0; }
.pcard .plabel { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pcard h3 { margin: 4px 0 10px; }
.pamount { font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 8px; }
.pamount small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.ext { margin-top: 22px; background: #E7F1FB; border-left: 4px solid var(--green); border-radius: 10px; padding: 14px 18px; }
.ext p { margin: 0; }
.price-notes { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.price-notes li { margin: 6px 0; }
@media (max-width: 820px) { .example-grid, .price-cards { grid-template-columns: 1fr; } }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; }
/* Personal contact, shared identity with TopAdvisory and Dienstle's own positioning. */
.founder { display:grid; grid-template-columns:200px minmax(0,1fr); align-items:center; gap:48px; max-width:920px; margin:36px auto; padding:40px; background:#fff; border:1px solid #d8e6ee; border-radius:20px; box-shadow:0 12px 36px rgba(11,60,93,.05); }
.founder img { width:200px; height:auto; max-width:100%; border-radius:14px; display:block; }
.founder-copy { max-width:560px; }
.founder-copy .eyebrow { margin:0 0 10px; font-size:12px; }
.founder-copy h3 { font-size:30px; line-height:1.2; margin:0 0 16px; }
.founder-copy p { margin:0 0 14px; }
.founder-copy .founder-detail { color:var(--muted); font-size:15px; }
.founder-copy .btn { margin-top:8px; }
.founder-note { display:block; margin-top:10px; font-size:13px; color:var(--muted); }
@media (max-width:700px) { .founder { grid-template-columns:1fr; justify-items:center; gap:24px; padding:28px 22px; text-align:center; } .founder img { width:144px; height:auto; } .founder-copy h3 { font-size:27px; } .founder-copy .btn { max-width:100%; } }

/* JSandP videos on the homepage */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #12122E; box-shadow: 0 16px 40px rgba(11, 60, 93, 0.12); }
.video p { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; gap: 22px; } }
