/* ============================================================
   Frontida Pflegedienst - Stylesheet: impressum
   Extrahiert aus den Inline-<style>-Bloecken dieser Seite.
   Reihenfolge = Kaskaden-Reihenfolge.
   ============================================================ */

/* ===== Block 0  [war: <style>] ===== */
/* =========================================
           1. GRUNDLAGEN & VARIABLEN
           ========================================= */
        @font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/Open-Sans.woff2') format('woff2');
}

        :root {
            --blue:         #2165AE;
            --blue-mid:     #3F6EA0;
            --blue-light:   #6096C4;
            --blue-bg:      #EDF4FB;
            --orange:       #F47522;
            --orange-dark:  #C4601A;
            --orange-light: #F5A05A;
            --gray-bg:      #F5F7FA;
            --gray-light:   #EDF0F4;
            --text:         #454C4D;
            --text-mid:     #454C4D;
            --text-light:   #636363;
            --border:       #DDE2E9;
            --white:        #FFFFFF;
            --shadow:       0 2px 16px rgba(0,0,0,0.08);
            --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
        }

        /* RESET (Entfernt Standard-Abstände des Browsers) */
        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
        }

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

        body { 
            font-family: 'Open Sans', sans-serif; 
            color: var(--text); 
            background-color: var(--gray-bg); 
            font-size: 15px; 
            line-height: 1.6; 
          overflow-x: clip;
}

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Open Sans', sans-serif;
        }

    /* TOP BAR */
  .topbar { background:linear-gradient(90deg,#1a4f8c 0%,#236BB4 50%,#2a7fcf 100%); padding:0.52rem 5%; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
  .topbar-items { display:flex; align-items:center; gap:1.6rem; flex-wrap:wrap; }
  .tb-item { display:flex; align-items:center; gap:0.38rem; font-size:0.8rem; color:rgba(255,255,255,0.92); }
  .tb-item svg { width:14px; height:14px; flex-shrink:0; }
  .tb-stars { color:#FFD060; font-size:0.82rem; }
  .tb-tagline { font-size:0.74rem; color:rgba(255,255,255,0.92); }
  .tb-phone a { display:flex; align-items:center; gap:0.45rem; background:#fff; color:#236BB4; border-radius:20px; padding:0.4rem 1.1rem; text-decoration:none; font-weight:700; font-size:0.82rem; box-shadow:0 2px 8px rgba(0,0,0,0.15); transition:all 0.18s; white-space:nowrap; }
  .tb-phone a:hover { background:#EDF4FB; }
  @media(max-width:768px) { .tb-tagline { display:none; } .topbar-items { gap:1rem; } }

  /* NAV */
  header { position:sticky; top:0; z-index:200; background:var(--white); box-shadow:0 2px 12px rgba(0,0,0,0.08); }
  nav { display:flex; align-items:center; justify-content:space-between; padding:0 5%; height:100px; }
  .nav-logo { display:flex; align-items:center; text-decoration:none; }
  .nav-logo img { height:170px; display:block; }
  .nav-logo-text { font-size:1.15rem; font-weight:600; color:var(--blue); line-height:1.2; }
  .nav-logo-text span { color:var(--orange); display:block; font-size:0.75rem; font-weight:400; letter-spacing:0.05em; }
  .nav-links { display:flex; list-style:none; gap:0; height:100px; align-items:center; }
  .nav-links a { display:flex; align-items:center; height:100px; padding:0 1rem; text-decoration:none; color:var(--text); font-size:0.84rem; font-weight:600; transition:color 0.2s; white-space:nowrap; border-bottom:3px solid transparent; }
  .nav-links a:hover { color:var(--blue); border-bottom-color:var(--blue); }
  .nav-links a.active { color: #2165AE; border-bottom-color: #2165AE; }
  .nav-cta { background:var(--blue); border-radius:6px; margin-left:0.5rem; }
  .nav-links a.nav-cta { color:white; transition:background 0.2s; }
  .nav-orange { background:var(--orange); border-radius:6px; margin-left:0.3rem; }
  .nav-links a.nav-orange { color:white; }

  /* === BURGER MENU === */
  .burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--blue, #2D4F7A);
    padding: 0.3rem 0.5rem;
    line-height: 1;
    z-index: 1100;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 999;
    opacity: 0;
    animation: navOverlayIn 0.25s ease forwards;
  }
  body.menu-open header { z-index: 1500; }
  @keyframes navOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes navCardIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  @media (max-width: 1200px) {html{scroll-padding-top:80px;}
    .burger { display: block; }
    .nav-links {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      max-width: 420px;
      max-height: 85vh;
      overflow-y: auto;
      background: var(--white, #FFFFFF);
      border-radius: 18px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.28);
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0.4rem;
      height: auto;
      padding: 3rem 1.2rem 1.2rem;
      z-index: 1000;
    }
    .nav-links.open {
      display: flex;
      animation: navCardIn 0.28s ease forwards;
    }
    .nav-links li { width: 100%; text-align: center; list-style: none; }
    .nav-links a {
      display: block;
      height: auto;
      padding: 0.85rem 1.1rem;
      font-size: 1rem;
      font-weight: 600;
      background: var(--gray-bg, #F5F7FA);
      color: var(--text, #454C4D);
      border-radius: 10px;
      border-bottom: none;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .nav-links a:hover,
    .nav-links a.active {
      background: var(--blue-bg, #EDF4FB);
      color: var(--blue, #2165AE);
    }
    .nav-links a.nav-cta {
      background: var(--blue, #2165AE);
      color: #fff;
    }
    .nav-links a.nav-cta:hover {
      background: var(--blue-mid, #3F6EA0);
      color: #fff;
    }
    .nav-links a.nav-orange {
      background: var(--orange, #F47522);
      color: #fff;
    }
    .nav-links a.nav-orange:hover {
      background: var(--orange-dark, #C4601A);
      color: #fff;
    }
    nav { height: 85px; }
    .nav-logo img { height: 135px; max-height: 135px; }
  }

        /* =========================================
           3. IMPRESSUM BOX
           ========================================= */
        .legal-container {
            max-width: 800px;
            margin: 4rem auto; /* Sichert den Abstand zur Navigation */
            background: var(--white);
            padding: 3rem 4rem;
            border-radius: 16px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
        }

        .legal-container h1 { 
            color: #454C4D; 
            margin-bottom: 2rem; 
            font-size: 2.2rem; 
            border-bottom: 2px solid var(--gray-light);
            padding-bottom: 1rem;
        }

        .legal-container h2 { 
            font-size: 1.25rem; 
            color: #454C4D;
            margin-top: 2.5rem; 
            margin-bottom: 0.8rem; 
            font-weight: 700;
        }

        .legal-container p {
            color: var(--text-mid);
            margin-bottom: 1.2rem;
        }

        .legal-container strong {
            color: var(--text);
        }

        .legal-container a { 
            color: #454C4D; 
            text-decoration: none; 
            font-weight: 600; 
            transition: color 0.2s ease;
        }

        .legal-container a:hover { 
            color: var(--orange); 
            text-decoration: underline;
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            margin-bottom: 2rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-mid);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .back-link:hover {
            color: #454C4D;
        }

        /* =========================================
           4. FOOTER (Bereits vorbereitet)
           ========================================= */
        footer { background: #EEF4FB; color: #454C4D; padding: 2rem 5% 1.2rem; }
        .footer-grid { display: grid; grid-template-columns: 3.5fr 1fr 1fr; gap: 3rem; margin-bottom: 1.8rem; }
        .footer-brand img { height: 180px; display: block; margin: 0 auto 0.8rem; }
        .footer-brand p { font-size: 0.85rem; line-height: 1.7; font-weight: 300; }
        .footer-col h5 { color: #1C3A6E; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
        .footer-col p, .footer-col a { display: block; font-size: 0.84rem; color: #454C4D; text-decoration: none; margin-bottom: 0.5rem; line-height: 1.6; }
        .footer-col a:hover { color: #2165AE; }
        .footer-col .phone-big { font-size: 1.15rem; font-weight: 700; color: #1C3A6E; }
        .footer-social { display: flex; justify-content:center; gap: 0.7rem; margin-top: 1rem; }
        .footer-social a { width: 50px; height: 50px; background: transparent; border: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.2s ease;}
        .footer-social a img { width: 45px; height: 45px; display: block; }
        .footer-social a:hover { background: transparent; transform: scale(1.3); }
        .footer-bottom { border-top: 1px solid rgba(45,79,122,0.2); padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.77rem; flex-wrap: wrap; gap: 0.5rem; }
        .footer-bottom a { color: #454C4D; text-decoration: none; margin-left: 1rem; }
        .footer-bottom a:hover { color: #2165AE; }
        .footer-col button.cx-cookie-link { display:block; font-size:0.84rem; color:#454C4D; background:none; border:none; padding:0; margin-bottom:0.5rem; line-height:1.6; cursor:pointer; font-family:inherit; text-align:left; }
        .footer-col button.cx-cookie-link:hover { color:#2165AE; }
        .footer-bottom button.cx-cookie-link { color:#454C4D; background:none; border:none; padding:0; margin-left:1rem; cursor:pointer; font-family:inherit; font-size:inherit; }
        .footer-bottom button.cx-cookie-link:hover { color:#2165AE; }
        @media (min-width: 769px) {
            .footer-grid .footer-col:last-child { margin-left: 9rem; }
        }

        @media (max-width: 900px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .topbar { font-size: 0.72rem; }
            .footer-grid { grid-template-columns: 1fr; }
            .legal-container { padding: 2rem 1.5rem; margin: 2rem auto; }
        }
        @media (min-width: 769px) {
            .nav-links a.nav-cta { padding: 0.6rem 1.3rem; height: auto; border-bottom: none; }
            .nav-links a.nav-cta:hover { background: var(--blue-mid); border-bottom: none; }
            .nav-links a.nav-orange { padding: 0.6rem 1.3rem; height: auto; border-bottom: none; }
            .nav-links a.nav-orange:hover { background: var(--orange-dark); border-bottom: none; }
        }
        :root h1, :root h2, :root h3, :root h4, :root h5, :root h6 { font-family: 'Open Sans', sans-serif; }

/* ============================================
   GLOBAL TYPOGRAPHY SYSTEM — Open Sans (Frontida)
   ============================================ */
body { font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 400; }
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; }
h1, .hero h1, .page-hero h1, .danke-card h1 { font-size: clamp(1.9rem, 3vw + 0.8rem, 2.9rem); font-weight: 600; line-height: 1.2; }
h2, .section-title, .block-title, .verspr-text h2 { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.95rem; font-weight: 700; }
.nav-links a { font-size: 0.95rem; font-weight: 600; }
.btn, .btn-blue, .btn-orange, .btn-white, .lmodal-cta-primary, .verspr-cta, .pg-cta-btn, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .nav-cta, .nav-orange { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; }
.section-label, .page-hero-kicker, .lmodal-kicker, .lmodal-vorteile-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
footer { font-family: 'Open Sans', sans-serif; }
footer p, footer span, footer li, footer a, .footer-bottom span, .footer-bottom a { font-size: 0.84rem; font-weight: 400; }
footer p, .footer-brand p { font-weight: 300; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.faq-btn, details > summary { font-family: 'Open Sans', sans-serif; font-size: 0.97rem; font-weight: 700; }
input, textarea, select { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 400; }

  /* === Accessibility: Reduced motion === */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* === Accessibility: Visible focus indicators === */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid #2165AE;
    outline-offset: 2px;
  }

/* ===== Block 1  [war: <style id="footer-fix">] ===== */
footer { background:#EEF4FB; color:#454C4D; padding:2rem 90px 1.2rem 5%; font-family:'Open Sans',sans-serif; margin-top:3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:1.5rem; align-items:start; margin-bottom:1.8rem; }
.footer-grid .footer-col { padding-left:1rem; }
.footer-brand img { height:180px !important; width:auto !important; max-width:100% !important; margin:0 auto 0.8rem; display:block; }
.footer-brand p { font-size:0.85rem; line-height:1.7; font-weight:300; }
.footer-col h5 { color:#1C3A6E; font-size:0.8rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col p, .footer-col a { display:block; font-size:0.84rem; color:#454C4D; text-decoration:none; margin-bottom:0.5rem; line-height:1.6; }
.footer-col a:hover { color:#2165AE; }
.footer-social { display:flex; justify-content:center; gap:0.7rem; margin-top:1rem; }
.footer-social a { width:50px; height:50px; background:transparent; border:none; border-radius:7px; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform 0.2s; }
.footer-social a img { width:45px !important; height:45px !important; display:block; }
.footer-social a:hover { transform:scale(1.3); }
.footer-bottom { border-top:1px solid rgba(45,79,122,0.2); padding-top:1.2rem; display:flex; justify-content:space-between; align-items:center; font-size:0.77rem; flex-wrap:wrap; gap:0.5rem; }
.footer-bottom a { color:#454C4D; text-decoration:none; margin-left:1rem; }
.footer-bottom a:hover { color:#2165AE; }
.footer-bottom button.cx-cookie-link { color:#454C4D; background:none; border:none; padding:0; margin-left:1rem; cursor:pointer; font-family:inherit; font-size:inherit; }
.footer-bottom button.cx-cookie-link:hover { color:#2165AE; }
@media (max-width:900px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-grid { grid-template-columns:1fr; } footer { padding:2rem 5% 1.2rem; } }

/* ===== Block 2  [war: <style id="pf-nav-unify">] ===== */
/* Unified menu sizing for all Pflegedienst pages — matches Tagespflege presence */
.nav-logo img,
header .nav-logo img,
img#nav-logo-img {
  height: 130px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 130px !important;
  display: block;
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  .nav-logo img, header .nav-logo img, img#nav-logo-img {
    height: 120px;
    max-height: 120px !important;
  }
}
@media (min-width: 1201px) {
  .nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2A2A2A;
    white-space: nowrap;
    transition: color 0.2s !important;
  }
}
/* On mobile: nav-links must respect media query — hidden by default, only show when .open */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex !important; }
}
.nav-links a.nav-cta,
.nav-links a.nav-orange {
  height: auto !important;
  padding: 0.6rem 1.3rem;
  border-radius: 8px !important;
  font-size: 0.92rem;
  font-weight: 700 !important;
  margin-left: 0.4rem !important;
  border-bottom: none;
  color: #fff !important;
}

/* ===== Block 3  [war: <style id="pf-typo-unify">] ===== */
/* === Unified typography across ALL Pflegedienst pages === */
html, body { font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }

body { font-size: 15px; font-weight: 400; line-height: 1.7; color: #454C4D; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; }
h1, .hero h1, .page-hero h1, .danke-card h1 { font-size: clamp(1.9rem, 3vw + 0.8rem, 2.9rem); font-weight: 600; line-height: 1.2; }
h2, .section-title, .block-title { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.95rem; font-weight: 700; }

/* Section labels (small caps) */
.section-label, .page-hero-kicker, .lmodal-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Buttons */
.btn, .btn-blue, .btn-orange, .btn-white, .nav-cta, .nav-orange, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .pg-cta-btn, .verspr-cta, .lmodal-cta-primary { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0; }

/* Nav links */
.nav-links a { font-size: 0.95rem; font-weight: 600; }

/* Footer typography (CRITICAL — make footers identical everywhere) */
footer, footer * { font-family: 'Open Sans', sans-serif; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; margin-bottom: 1rem; color: #1C3A6E; }
footer p, .footer-col p, footer span, footer li, .footer-bottom span { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }
.footer-col a { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; display: block; }
.footer-brand p { font-size: 0.85rem; font-weight: 400; line-height: 1.65; }
.footer-bottom, .footer-bottom a, .footer-bottom button { font-size: 0.77rem; font-weight: 400; line-height: 1.5; }

/* Forms */
input, textarea, select { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 400; }
.form-group label { font-family: 'Open Sans', sans-serif; }

/* FAQ */
.faq-btn, details > summary { font-family: 'Open Sans', sans-serif; font-size: 0.97rem; font-weight: 700; }

/* Paragraphs */
p { font-family: 'Open Sans', sans-serif; }

/* ===== Block 4  [war: <style>] ===== */
/* Footer mobile centering - match index.html */
@media (max-width:600px){
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { text-align:center; }
  .footer-brand img { height:100px; margin:0 auto 0.6rem; display:block; }
  .footer-brand p { max-width:280px; margin:0 auto; }
  .footer-social { justify-content:center; }
  .footer-col h5 { margin-bottom:0.6rem; }
  .footer-bottom { flex-direction:column; align-items:center; text-align:center; gap:0.4rem; }
}

/* ===== Block 5  [war: <style id="burger-fix-style">] ===== */
.nav-close { display:none; position:absolute; top:0.75rem; right:0.85rem; background:#236BB4; border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; color:#fff; font-size:1.25rem; line-height:1; align-items:center; justify-content:center; z-index:1200; box-shadow:0 3px 10px rgba(35,107,180,0.45); -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; transition:background 0.2s,transform 0.15s; }
.nav-close:hover { background:#1b5490; transform:scale(1.08); }
.nav-links.open .nav-close { display:flex !important; }
.nav-links.open ~ .burger, body.menu-open .burger { display:none !important; visibility:hidden !important; }
.burger { -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; }

/* ===== Nav: Menue mittig zwischen Logo und Buttons (User-Wahl Variante 1, 12.06.2026) ===== */
@media (min-width: 1201px) {
  .nav-links { flex: 1; }
  .nav-links li:nth-of-type(1) { margin-left: auto; }
  .nav-links li:nth-last-child(2) { margin-left: auto; }
}
