/* ─── Shared Subpage Styles (Leistungs-Unterseiten + Blog) ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --obsidian: #09090b; --ink: #18181b; --graphite: #3f3f46;
    --slate: #52525b; --steel: #71717a; --ash: #a1a1aa;
    --pebble: #d4d4d8; --fog: #ececee; --mist: #f4f4f5; --snow: #ffffff;
    --gold: #1F6B5E; --gold-light: #2A8475; --gold-muted: rgba(31,107,94,.12);
    --warm-black: #1C1917;
    --font: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Barlow Condensed', system-ui, sans-serif;
    --font-body: 'Josefin Sans', 'DM Sans', system-ui, sans-serif;
    --page: 1100px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--mist); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100000; background: var(--obsidian); color: var(--snow); padding: 12px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 16px; outline: 2px solid var(--gold); }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: var(--snow); border-bottom: 1px solid var(--fog); padding: 0 24px; }
.nav-inner { max-width: var(--page); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo img { display: block; height: 52px; width: auto; }
.nav-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--graphite); }
.nav-links a:hover { color: var(--obsidian); text-decoration: none; }
.nav-cta { background: var(--gold); color: white; padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); text-decoration: none; }

/* Hamburger Button */
.nav-hamburger { display: none; background: transparent; border: 1px solid var(--fog); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-hamburger:hover { background: var(--mist); }
.nav-hamburger span { display: block; width: 18px; height: 2px; background: var(--obsidian); position: relative; transition: transform .25s, opacity .15s; }
.nav-hamburger span::before, .nav-hamburger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--obsidian); transition: transform .25s; }
.nav-hamburger span::before { top: -6px; }
.nav-hamburger span::after { top: 6px; }
.nav-hamburger[aria-expanded="true"] span { background: transparent; }
.nav-hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--snow); padding: 20px 24px 28px; transform: translateX(100%); transition: transform .3s ease; z-index: 99; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer a { display: block; padding: 16px 18px; font-size: 17px; font-weight: 600; color: var(--obsidian); border-radius: 8px; border: 1px solid var(--fog); margin-bottom: 8px; }
.nav-drawer a:hover { background: var(--mist); text-decoration: none; }
.nav-drawer a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.nav-drawer .drawer-cta { background: var(--gold); color: white; text-align: center; margin-top: 12px; padding: 18px; font-size: 16px; }
.nav-drawer .drawer-cta:hover { background: var(--gold-light); }
.nav-drawer-divider { font-size: 11px; font-weight: 700; color: var(--steel); text-transform: uppercase; letter-spacing: .14em; margin: 18px 0 8px 4px; }

@media (max-width: 740px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
}
body.nav-drawer-open { overflow: hidden; }

/* HERO */
.page-hero {
    background: linear-gradient(140deg, var(--obsidian) 0%, var(--warm-black) 100%),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 48V0H48' fill='none' stroke='rgba(255,255,255,0.045)' stroke-width='0.6'/%3E%3C/svg%3E") 0 0/48px 48px repeat;
    color: var(--snow); padding: 88px 24px 76px; position: relative;
}
.page-hero-inner { max-width: var(--page); margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.page-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold-light); }
h1.page-title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.05; margin-bottom: 20px; letter-spacing: -.02em; text-transform: uppercase; }
h1.page-title .accent { color: var(--gold-light); }
.page-lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 720px; margin-bottom: 28px; font-family: var(--font-body); font-weight: 300; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 100px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--gold); color: white; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); text-decoration: none; }

/* SECTIONS */
main { max-width: var(--page); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-bottom: 1px solid var(--fog); }
section:last-child { border-bottom: none; }
h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--obsidian); letter-spacing: -.01em; }
h2 .dim { color: var(--ash); font-weight: 300; }
h3 { font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--obsidian); margin: 24px 0 10px; }
p { font-size: 16px; line-height: 1.75; color: var(--graphite); margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

ul.checks { list-style: none; padding: 0; margin: 20px 0; }
ul.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; font-size: 16px; line-height: 1.65; color: var(--graphite); }
ul.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; font-size: 18px; }

/* USE CASE CARDS */
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 36px; }
.uc-card { background: var(--snow); padding: 28px 24px; border-radius: 10px; border: 1px solid var(--fog); border-left: 3px solid var(--gold); }
.uc-card h3 { margin-top: 0; font-size: 18px; }
.uc-card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--slate); }

/* FAQ */
.faq-item { background: var(--snow); border: 1px solid var(--fog); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 24px; font-weight: 600; color: var(--obsidian); cursor: pointer; font-size: 16px; list-style: none; position: relative; padding-right: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--gold); font-weight: 300; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item div.faq-body { padding: 0 24px 22px; color: var(--graphite); font-size: 15px; line-height: 1.7; }
.faq-item[open] summary { background: var(--mist); }

/* CTA BOTTOM */
.cta-bottom { background: var(--warm-black); color: var(--snow); border-radius: 12px; padding: 56px 40px; text-align: center; margin: 56px 0 24px; }
.cta-bottom h2 { color: white; }
.cta-bottom p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 28px; }
.cta-bottom .hero-ctas { justify-content: center; }

/* INTERNAL LINKS GRID */
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 28px; }
.links-grid a { background: var(--snow); padding: 18px 22px; border-radius: 8px; border: 1px solid var(--fog); color: var(--obsidian); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: space-between; transition: all .2s; }
.links-grid a:hover { border-color: var(--gold); transform: translateX(4px); text-decoration: none; }
.links-grid a::after { content: '→'; color: var(--gold); }

/* BLOG SPECIFIC */
.blog-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.blog-meta .blog-cat { background: rgba(42,132,117,.2); color: var(--gold-light); padding: 4px 10px; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; padding: 32px 0; }
.blog-card { background: var(--snow); border-radius: 12px; border: 1px solid var(--fog); padding: 28px 26px; transition: all .2s; display: block; color: var(--ink); }
.blog-card:hover { border-color: var(--gold); transform: translateY(-4px); text-decoration: none; box-shadow: 0 12px 24px rgba(0,0,0,.06); }
.blog-card-cat { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.blog-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--obsidian); margin-bottom: 12px; letter-spacing: -.01em; }
.blog-card-excerpt { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 18px; }
.blog-card-meta { font-size: 12px; color: var(--steel); display: flex; gap: 12px; }

/* FOOTER */
footer { background: var(--obsidian); color: var(--ash); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-inner h4 { color: white; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-inner a { color: var(--ash); font-size: 14px; display: block; padding: 4px 0; }
.footer-inner a:hover { color: white; }
.footer-bottom { max-width: var(--page); margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: var(--graphite); font-size: 13px; }
/* ─── HAMBURGER BUTTON + MOBILE MENU ─── */
.nav-toggle {
    display: none; flex-shrink: 0;
    width: 44px; height: 44px; padding: 10px;
    background: transparent; border: 1px solid var(--pebble);
    border-radius: 8px; cursor: pointer;
    flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--obsidian); border-radius: 1px;
    transition: transform .25s, opacity .25s;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(9,9,11,.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
    overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu-inner {
    padding: 96px 28px 48px; max-width: 480px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 4px;
}
.mobile-link {
    display: block; padding: 18px 0;
    font-size: 22px; font-weight: 600;
    color: var(--snow);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: var(--font-display);
    letter-spacing: -.01em;
}
.mobile-link:hover, .mobile-link:focus { color: var(--gold-light); text-decoration: none; }
.mobile-link-muted { color: rgba(255,255,255,.6); font-weight: 400; font-size: 15px; padding: 12px 0; border-bottom: none; font-family: var(--font); letter-spacing: 0; }
.mobile-cta { margin-top: 8px; background: var(--gold); color: var(--snow); padding: 16px 24px; border-radius: 100px; text-align: center; border-bottom: none; font-size: 16px; }
.mobile-cta:hover { background: var(--gold-light); color: var(--snow); }
body.menu-open { overflow: hidden; }

@media (max-width: 740px) {
    .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
    .nav-inner { height: 64px; padding: 0 16px; gap: 8px; }
    .nav-logo img { height: 44px; }
    .nav-cta { padding: 8px 14px; font-size: 13px; }
    .page-hero { padding: 56px 20px 52px; }
    h1.page-title { font-size: 34px; line-height: 1.05; }
    .page-lead { font-size: 16px; line-height: 1.55; }
    .breadcrumb { font-size: 12px; margin-bottom: 16px; }
    .page-eyebrow { font-size: 11px; margin-bottom: 12px; }
    .blog-meta { font-size: 12px; gap: 10px; }
    .blog-meta .blog-cat { font-size: 10px; padding: 3px 8px; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    section { padding: 48px 0; }
    main { padding: 0 20px; }
    h2 { font-size: 26px; margin-bottom: 18px; }
    h3 { font-size: 17px; margin: 18px 0 8px; }
    p, ul.checks li { font-size: 15px; line-height: 1.65; }
    ul.checks li { padding-left: 28px; margin-bottom: 10px; }
    .uc-card { padding: 22px 20px; }
    .uc-card h3 { font-size: 16px; margin-bottom: 8px; }
    .uc-card p { font-size: 13px; }
    .faq-item summary { padding: 16px 20px; padding-right: 48px; font-size: 15px; }
    .faq-item summary::after { right: 18px; font-size: 20px; }
    .faq-item div.faq-body { padding: 0 20px 18px; font-size: 14px; }
    .links-grid { grid-template-columns: 1fr; gap: 8px; }
    .links-grid a { padding: 16px 18px; font-size: 14px; }
    .cta-bottom { padding: 40px 24px; margin: 40px 0 16px; }
    .cta-bottom h2 { font-size: 24px; }
    .cta-bottom p { font-size: 14px; }
    .blog-list { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
    .blog-card { padding: 22px 20px; }
    .blog-card-title { font-size: 18px; }
    .blog-card-excerpt { font-size: 13px; margin-bottom: 14px; }
    .blog-card-meta { font-size: 11px; gap: 8px; }
    footer { padding: 40px 20px 24px; }
    .footer-inner { padding-bottom: 24px; }
    .footer-inner h4 { font-size: 12px; margin-bottom: 12px; }
    .footer-inner a { font-size: 13px; }
    .footer-bottom { font-size: 12px; padding-top: 18px; flex-direction: column; align-items: flex-start; }
}
