/* Herbig IT – shared components: mobile toolbar, hero, trust bar, packages, FAQ */

:root {
    --toolbar-height: 58px;
}

/* --- Brand tokens (also defined per-page for fallback) ---------------- */
:root {
    --navy: #1A1A6E;
    --navy-dark: #13134F;
    --cyan: #00A8F0;
    --cyan-dark: #008FCC;
    --cyan-soft: #E8F7FE;
    --white: #FFFFFF;
    --bg-soft: #F5F9FE;
    --text: #222A38;
    --muted: #5B6572;
    --border: #E3EAF3;
    --radius: 18px;
    --shadow: 0 12px 32px rgba(26, 26, 110, 0.08);
    --font-head: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;
}

/* --- Base ------------------------------------------------------------ */
body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 700;
}

a { transition: color 0.2s; }

/* --- Buttons --------------------------------------------------------- */
.btn-brand {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.7rem 1.7rem;
    box-shadow: 0 8px 20px rgba(0,168,240,.25);
    transition: 0.2s;
}
.btn-brand:hover {
    background-color: var(--cyan-dark);
    border-color: var(--cyan-dark);
    color: #fff;
}
.btn-brand-ghost {
    border-color: var(--border);
    color: var(--navy);
    background: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.7rem 1.7rem;
    transition: 0.2s;
}
.btn-brand-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* --- Navbar ---------------------------------------------------------- */
.navbar-brand { padding: 0; }
.navbar-brand img { height: 44px; width: auto; display: block; }
.navbar {
    background-color: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
}
.navbar .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.navbar .nav-link:hover { color: var(--cyan) !important; }
.navbar .nav-link.btn-brand {
    margin-left: 0.5rem;
    padding-left: 1.3rem !important;
    padding-right: 1.3rem !important;
}
.navbar-toggler { border: 1px solid var(--border); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--cyan-soft); border-color: var(--cyan); }

/* --- Sections -------------------------------------------------------- */
.section { padding: 88px 0; }
.section-alt {
    background-color: var(--bg-soft);
    background-image: linear-gradient(180deg, #f3f8fe 0%, #fbfdff 100%);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: 2.1rem; font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* --- Service cards --------------------------------------------------- */
.service-card {
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 240, 0.55);
    box-shadow: 0 10px 24px rgba(0, 168, 240, 0.14), 0 0 0 1px rgba(0, 168, 240, 0.08);
}
.service-card .card-body { padding: 2rem; display: flex; flex-direction: column; }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--cyan-soft);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}
.service-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.service-card .btn-service {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 1rem;
}
.service-card .btn-service:hover { color: var(--cyan-dark); }

/* --- Feature cards (Warum ich) -------------------------------------- */
.feature-card {
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    text-align: center;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 240, 0.55);
    box-shadow: 0 10px 24px rgba(0, 168, 240, 0.14), 0 0 0 1px rgba(0, 168, 240, 0.08);
}
.feature-card .card-body { padding: 2rem; }
.feature-card .service-icon { margin: 0 auto 1.2rem; }
.feature-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* --- IT-Pakete (pricing) --------------------------------------------- */
.package-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 240, 0.55);
    box-shadow: 0 10px 24px rgba(0, 168, 240, 0.14), 0 0 0 1px rgba(0, 168, 240, 0.08);
}
.package-card .card-body { padding: 2rem; display: flex; flex-direction: column; }

.package-price {
    font-family: var(--font-head);
    color: var(--navy);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1;
}
.package-price .price-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}
.package-price .price-from {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 4px;
}

.package-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}
.package-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text);
}
.package-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cyan);
    font-weight: 400;
}

.package-target {
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 0.5rem;
}

.package-card.featured {
    border-color: var(--cyan);
    box-shadow: 0 12px 32px rgba(0,168,240,0.18);
}

/* --- FAQ (accordion via details) ------------------------------------- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 0.8rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cyan);
    flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--text);
    font-size: 0.95rem;
}

/* --- Trust bar ------------------------------------------------------- */
.trust-bar {
    background-color: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
}
.trust-bar .trust-item {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
    text-align: center;
    padding: 0.3rem 0.5rem;
}
.trust-bar .trust-item i {
    color: var(--cyan);
    margin-right: 6px;
}
@media (min-width: 768px) {
    .trust-bar .trust-item { text-align: left; }
}

/* --- Industry chips -------------------------------------------------- */
.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.industry-chip i { color: var(--cyan); }

/* --- Contact form ---------------------------------------------------- */
.contact-form .form-control {
    border-radius: 10px;
    border-color: var(--border);
    padding: 0.7rem 0.9rem;
}
.contact-form .form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-soft);
}
.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

/* Required field indicator */
.required::after {
    content: " *";
    color: #FF6B00;
    font-weight: 700;
}

/* --- Contact info items ---------------------------------------------- */
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 1.6rem; }
.contact-info-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--cyan-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-info-value { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--cyan); text-decoration: none; display: block; }
.contact-info-value:hover { color: var(--cyan-dark); text-decoration: underline; }
.contact-info-label { font-size: 0.85rem; color: var(--muted); }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }

/* --- Reference placeholder ------------------------------------------- */
.ref-placeholder {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ref-placeholder i { color: var(--cyan); font-size: 2rem; margin-bottom: 0.8rem; }

/* --- Partner badges -------------------------------------------------- */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cyan);
    background: var(--cyan-soft);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
}
.partner-badge i { color: var(--cyan); }

.tech-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    min-width: 105px;
    max-width: 140px;
}
.tech-badge img { max-height: 50px; max-width: 95px; object-fit: contain; }

/* --- Hero ------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(26,26,110,0.80) 0%, rgba(26,26,110,0.55) 55%, rgba(0,168,240,0.20) 100%);
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; }
.hero .hero-sub { color: rgba(255,255,255,.92); font-size: clamp(1.05rem, 2.5vw, 1.35rem); max-width: 640px; margin-bottom: 2rem; }
.hero .btn-hero { border-radius: 999px; padding: 0.8rem 1.9rem; font-weight: 600; font-size: 1.05rem; }
.hero .btn-hero-primary { background-color: var(--cyan); border-color: var(--cyan); color: #fff; box-shadow: 0 8px 20px rgba(0,168,240,.35); }
.hero .btn-hero-primary:hover { background-color: var(--cyan-dark); border-color: var(--cyan-dark); color: #fff; }
.hero .btn-hero-ghost { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(4px); }
.hero .btn-hero-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.hero-photo { width: 100%; height: auto; border-radius: 20px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,0.35); border: 6px solid rgba(255,255,255,0.9); }
.hero-photo-placeholder { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 2px dashed rgba(255,255,255,.4); border-radius: 20px; color: rgba(255,255,255,.85); font-weight: 600; min-height: 380px; }

/* --- Mobile sticky toolbar (global) ---------------------------------- */
.mobile-toolbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background-color: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(26, 26, 110, 0.1);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}
.mobile-toolbar .mt-row { display: flex; gap: 10px; max-width: 720px; margin: 0 auto; }
.mobile-toolbar .mt-btn {
    flex: 1;
    text-align: center;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.mobile-toolbar .mt-btn-call { background-color: var(--cyan); color: #fff; box-shadow: 0 6px 16px rgba(0, 168, 240, 0.3); }
.mobile-toolbar .mt-btn-call:hover { background-color: var(--cyan-dark); color: #fff; }
.mobile-toolbar .mt-btn-checkup { background-color: var(--navy); color: #fff; }
.mobile-toolbar .mt-btn-checkup:hover { background-color: var(--navy-dark); color: #fff; }
.mobile-toolbar .mt-btn-whatsapp { flex: 0 0 auto; background-color: #fff; color: #25D366; border: 1px solid #d5f3e3; width: 52px; padding: 0; border-radius: 50%; font-size: 1.4rem; }
.mobile-toolbar .mt-btn-whatsapp:hover { background-color: #eafaf2; }

@media (max-width: 991.98px) {
    .mobile-toolbar { display: block; }
    body { padding-bottom: var(--toolbar-height); }
}

/* --- Footer ---------------------------------------------------------- */
.footer {
    background-color: var(--navy);
    color: rgba(255,255,255,.8);
    padding: 64px 0 28px;
}
.footer h4, .footer h5 { color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer p { font-size: 0.92rem; max-width: 340px; margin-top: 14px; }
.footer-logo-box { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; margin-bottom: 1rem; }
.footer-logo-box img { height: 40px; width: auto; display: block; }
.footer-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: 14px;
    border-radius: 8px;
    background-color: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1.38rem;
    transition: background-color 0.2s, color 0.2s;
}
.footer-instagram:hover { background-color: var(--cyan); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 22px; font-size: 0.85rem; text-align: left; }

/* --- Legal page styles ----------------------------------------------- */
.content-wrap { max-width: 800px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.content-wrap h1 { border-bottom: 2px solid var(--cyan); padding-bottom: 10px; margin-bottom: 1.5rem; }
.content-wrap h3 { margin-top: 2rem; }
.content-wrap p { margin-bottom: 0.9rem; }
.address { font-style: italic; color: var(--muted); }
.page-logo { display: flex; justify-content: center; margin-bottom: 2rem; }
.page-logo img { height: 45px; width: auto; }

/* --- Responsive adjustments ------------------------------------------ */
@media (max-width: 991.98px) {
    .hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
}
@media (max-width: 575.98px) {
    .hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
}
@media (max-width: 800px) {
    .section { padding: 56px 0; }
}
