/* =============================================
   Kleintierpraxis Weißbach – main.css

   Font: Raleway (sans-serif) – durchgängig

   Fluid Typography via clamp():
   Alle Schriftgrößen skalieren fließend zwischen
   einem Minimum (Mobile ~320px) und Maximum (Desktop ~1200px).
   Formel: clamp(min, preferred, max)
   preferred = viewport-basierter Wert (vw + rem)

   Farben aus Original-Vorlage:
     Blau (Überschriften/Links): #4a6a8a
     Text: #333 / #666
     Footer BG: #ededed
   ============================================= */

:root {
    --font-main: 'Raleway', sans-serif;

    /* Farben */
    --primary: #4a6a8a;
    --primary-dark: #3a5672;
    --text-color: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-footer: #ededed;
    --border-color: #dcdcdc;

    /* Fluid Font Sizes – zentral definiert */
    --fs-body:          clamp(1rem,    0.927rem + 0.36vw, 1.125rem);    /* 16px → 18px */
    --fs-nav:           clamp(0.875rem,0.82rem  + 0.27vw, 1rem);       /* 14px → 16px */
    --fs-nav-brand:     clamp(1.125rem,0.98rem  + 0.73vw, 1.5rem);     /* 18px → 24px */
    --fs-h1:            clamp(1.5rem,  1.09rem  + 2.05vw, 2.25rem);    /* 24px → 36px */
    --fs-h2-footer:     clamp(1.125rem,0.98rem  + 0.73vw, 1.5rem);     /* 18px → 24px */
    --fs-body-intro:    clamp(1rem,    0.927rem + 0.36vw, 1.125rem);    /* 16px → 18px */
    --fs-list:          clamp(0.938rem,0.87rem  + 0.36vw, 1.063rem);    /* 15px → 17px */
    --fs-footer-body:   clamp(0.875rem,0.82rem  + 0.27vw, 1rem);       /* 14px → 16px */
    --fs-small:         clamp(0.813rem,0.76rem  + 0.27vw, 0.938rem);    /* 13px → 15px */
}

/* raleway-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/raleway-v37-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/raleway-v37-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/raleway-v37-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/raleway-v37-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* ---- Base ---- */

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

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-color);
    background-color: var(--bg-white);
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ---- Navbar ---- */

.navbar {
    padding: 0.45rem 0;
    box-shadow: none;
    border-bottom: none;
}

/*.navbar-brand {
    font-family: var(--font-main);
    font-size: var(--fs-nav-brand);
    font-weight: 400;
    color: var(--text-color) !important;
    text-decoration: none;
    letter-spacing: 0.01em;
}*/

.navbar-brand {
    font-family: var(--font-main);
    font-size: var(--fs-nav-brand);
    font-weight: 400;
    color: var(--text-color) !important;
    text-decoration: none;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: normal;
}

.navbar-brand:hover {
    text-decoration: none;
    color: var(--text-color) !important;
}

.navbar-nav .nav-link {
    font-family: var(--font-main);
    font-size: var(--fs-nav);
    font-weight: 400;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(74, 106, 138, 0.25);
}

.navbar-brand {
    gap: 0.5rem;
}

.brand-text {
    line-height: 1.25;
}

/* ---- Hero (im Container, nicht volle Breite) ---- */

.hero-section {
    padding-top: 0;
    line-height: 0;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---- Welcome Section ---- */

.welcome-section {
    padding: 2.5rem 0 1rem;
}

.welcome-heading {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.welcome-intro {
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
}

.inline-link {
    color: var(--primary);
    text-decoration: underline;
}

.inline-link:hover {
    color: var(--primary-dark);
}

/* ---- Service Lists ---- */

.service-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-list li {
    font-size: var(--fs-list);
    padding: 0.15rem 0;
    line-height: 1.65;
    color: var(--text-color);
}

/* ---- Footer ---- */

.site-footer {
    background-color: var(--bg-footer);
    margin-top: 1.5rem;
}

.footer-main {
    padding: 2.5rem 0 1.5rem;
}

.footer-col {
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-family: var(--font-main);
    font-size: var(--fs-h2-footer);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.65rem;
    text-decoration: none;
}

.site-footer p {
    font-size: var(--fs-footer-body);
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.site-footer a,
.footer-link {
    color: var(--primary);
    text-decoration: underline;
}

.site-footer a:hover,
.footer-link:hover {
    color: var(--primary-dark);
}

/* ---- Footer Bottom / Copyright ---- */

.footer-bottom {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    padding: 0.8rem 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-legal li a {
    font-size: var(--fs-small);
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-bottom-right {
    text-align: right;
    font-size: var(--fs-small);
    color: var(--text-light);
}

/* ---- Scroll-to-Top ---- */

.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.8rem;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 2px;
    background-color: var(--primary);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
}

/* ---- Responsive (nur Layout, keine font-size Overrides mehr nötig) ---- */

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.35rem 0 !important;
    }
}

@media (max-width: 767.98px) {
    .welcome-section {
        padding: 2rem 0 0.5rem;
    }

    .footer-main {
        padding: 2rem 0 0.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center !important;
    }

    .footer-legal {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

/* ====================================================
   STELLENANGEBOTE – Übersicht (stellenangebote.html)
   ==================================================== */

/* -- Stellen Header -- */

.stellen-header {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
}

.stellen-page-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.stellen-page-intro {
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* -- Stellen-Listing -- */

.stellen-listing {
    padding: 0 0 2rem;
}

/* -- Stellen-Card -- */

.stellen-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stellen-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(74, 106, 138, 0.1);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.stellen-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-main);
    font-size: clamp(0.688rem, 0.65rem + 0.18vw, 0.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bg-white);
    background-color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    line-height: 1.4;
}

.stellen-card-body {
    padding: 1.5rem 1.5rem 1.25rem;
}

.stellen-card-title {
    font-family: var(--font-main);
    font-size: clamp(1.063rem, 0.95rem + 0.55vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.stellen-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-bottom: 0.85rem;
}

.stellen-card-meta-item {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.stellen-card-meta-item i {
    font-size: 0.85em;
    color: var(--primary);
    opacity: 0.6;
}

.stellen-card-excerpt {
    font-family: var(--font-main);
    font-size: var(--fs-footer-body);
    color: var(--text-color);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.stellen-card-link {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.stellen-card:hover .stellen-card-link {
    gap: 0.55rem;
}

/* -- Initiativbewerbung -- */

.stellen-initiativ {
    padding: 2rem 0 3rem;
}

.stellen-initiativ-box {
    background-color: rgba(74, 106, 138, 0.05);
    border: 1px solid rgba(74, 106, 138, 0.12);
    border-radius: 2px;
    padding: 2rem 1.5rem;
}

.stellen-initiativ-heading {
    font-family: var(--font-main);
    font-size: clamp(1.125rem, 0.98rem + 0.73vw, 1.375rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stellen-initiativ-box p {
    font-size: var(--fs-footer-body);
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.stellen-initiativ-btn {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.stellen-initiativ-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
    text-decoration: none;
}


/* ====================================================
   STELLENANGEBOTE – Detail (stelle-*.html)
   ==================================================== */

.stelle-detail {
    padding: 1.5rem 0 2.5rem;
}

/* Header */

.stelle-detail-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.stelle-detail-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.stelle-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
}

.stelle-detail-meta-item {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.stelle-detail-meta-item i {
    font-size: 0.9em;
    color: var(--primary);
    opacity: 0.6;
}

/* Intro */

.stelle-detail-intro {
    margin-bottom: 2rem;
}

.stelle-detail-intro p {
    font-family: var(--font-main);
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* Sections */

.stelle-detail-section {
    margin-bottom: 2rem;
}

.stelle-detail-heading {
    font-family: var(--font-main);
    font-size: clamp(1.063rem, 0.95rem + 0.55vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.stelle-detail-heading i {
    font-size: 1em;
    opacity: 0.6;
}

/* Standard-Liste */

.stelle-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stelle-detail-list li {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-color);
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
}

.stelle-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
}

/* Benefits-Liste (mit Titel + Beschreibung) */

.stelle-detail-list--benefits li {
    padding: 0.65rem 0 0.65rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stelle-detail-list--benefits li::before {
    top: 1em;
}

.stelle-detail-list--benefits li strong {
    font-weight: 600;
    color: var(--primary);
    font-size: var(--fs-body);
}

.stelle-detail-list--benefits li span {
    font-size: var(--fs-footer-body);
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA / Bewerbung */

.stelle-detail-cta {
    background-color: rgba(74, 106, 138, 0.05);
    border: 1px solid rgba(74, 106, 138, 0.12);
    border-radius: 2px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 0.5rem;
}

.stelle-detail-cta .stelle-detail-heading {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.stelle-detail-cta p {
    font-size: var(--fs-body);
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.stelle-detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.stelle-detail-btn {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 2px;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.stelle-detail-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
    text-decoration: none;
}

.stelle-detail-cta-contact {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stelle-detail-cta-contact a {
    color: var(--primary);
    text-decoration: none;
}

.stelle-detail-cta-contact a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Responsive */

@media (max-width: 767.98px) {
    .stellen-header {
        padding: 2rem 0 1rem;
    }

    .stellen-card-body {
        padding: 1.25rem 1rem 1rem;
    }

    .stelle-detail {
        padding: 1rem 0 2rem;
    }

    .stelle-detail-cta {
        padding: 1.25rem 1rem;
    }

    .stelle-detail-cta-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}


/* ====================================================
   CONTENT PAGE – Standard-Template (z.B. Philosophie)
   ==================================================== */

.content-page {
    padding: 2.5rem 0 3rem;
}

.content-page-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.content-page-lead {
    font-family: var(--font-main);
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Headerbild */

.content-page-figure {
    margin: 0 0 2rem;
    line-height: 0;
}

.content-page-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    object-fit: cover;
}

/* Body-Bereich: Fließtext, Listen, Zwischenüberschriften */

.content-page-body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--text-color);
}

.content-page-body p {
    margin-bottom: 1rem;
}

.content-page-body h2 {
    font-family: var(--font-main);
    font-size: clamp(1.125rem, 0.98rem + 0.73vw, 1.375rem);
    font-weight: 600;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.content-page-body h3 {
    font-family: var(--font-main);
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.125rem);
    font-weight: 600;
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.content-page-body ul,
.content-page-body ol {
    padding-left: 0;
    margin-bottom: 1.25rem;
    list-style: none;
}

.content-page-body ul li,
.content-page-body ol li {
    font-size: var(--fs-body);
    line-height: 1.75;
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
}

.content-page-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
}

.content-page-body ol {
    counter-reset: content-ol;
}

.content-page-body ol li::before {
    counter-increment: content-ol;
    content: counter(content-ol) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
}

.content-page-body a {
    color: var(--primary);
    text-decoration: underline;
}

.content-page-body a:hover {
    color: var(--primary-dark);
}

.content-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 1rem 0;
}

.content-page-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background-color: rgba(74, 106, 138, 0.04);
    font-style: italic;
    color: var(--text-muted);
}

.content-page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: var(--fs-footer-body);
}

.content-page-body table th,
.content-page-body table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.content-page-body table th {
    font-weight: 600;
    color: var(--primary);
}

/* Responsive */

@media (max-width: 767.98px) {
    .content-page {
        padding: 2rem 0 2.5rem;
    }
}


/* ====================================================
   KONTAKT & ANFAHRT (kontakt.html)
   ==================================================== */

/* -- Kontakt Header -- */

.kontakt-header {
    padding: 2.5rem 0 1rem;
    text-align: center;
}

.kontakt-page-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1.35;
}

/* -- Kontakt-Info Karten -- */

.kontakt-info {
    padding: 1.5rem 0 2.5rem;
}

.kontakt-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    height: 100%;
}

.kontakt-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(74, 106, 138, 0.08);
    color: var(--primary);
    font-size: 1.25rem;
}

.kontakt-card-heading {
    font-family: var(--font-main);
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.125rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.kontakt-card p {
    font-size: var(--fs-footer-body);
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.kontakt-card a {
    color: var(--primary);
    text-decoration: none;
}

.kontakt-card a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* -- Section Heading (Karte + Formular) -- */

.kontakt-section-heading {
    font-family: var(--font-main);
    font-size: clamp(1.125rem, 0.98rem + 0.73vw, 1.375rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.kontakt-section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

/* -- Karte / Maps -- */

.kontakt-map {
    padding: 0 0 2.5rem;
}

.kontakt-map-wrapper {
    border-radius: 2px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.kontakt-map-wrapper iframe {
    display: block;
    width: 100%;
}

/* -- Kontaktformular -- */

.kontakt-form-section {
    padding: 2.5rem 0 3rem;
    background-color: rgba(74, 106, 138, 0.04);
}

.kontakt-form-section .kontakt-section-heading {
    text-align: center;
    margin-bottom: 1.75rem;
}

.kontakt-form-section .kontakt-section-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.kontakt-label {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    display: block;
}

.kontakt-required {
    color: #c0392b;
}

.kontakt-input {
    font-family: var(--font-main);
    font-size: var(--fs-footer-body);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 0.6rem 0.85rem;
    color: var(--text-color);
    background-color: var(--bg-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kontakt-input::placeholder {
    color: var(--text-light);
    font-weight: 300;
}

.kontakt-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 106, 138, 0.1);
    outline: none;
}

.kontakt-textarea {
    resize: vertical;
    min-height: 140px;
}

/* Checkbox */

.kontakt-check {
    padding-top: 0.25rem;
}

.kontakt-check .form-check-input {
    border-color: var(--border-color);
    border-radius: 2px;
    margin-top: 0.3em;
}

.kontakt-check .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.kontakt-check .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(74, 106, 138, 0.15);
}

.kontakt-check-label {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.55;
}

.kontakt-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Submit */

.kontakt-submit {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 2px;
    padding: 0.65rem 1.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.kontakt-submit:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    gap: 0.7rem;
}

.kontakt-submit:focus-visible {
    outline: 3px solid rgba(74, 106, 138, 0.3);
    outline-offset: 2px;
}

.kontakt-hint {
    font-size: clamp(0.75rem, 0.71rem + 0.18vw, 0.813rem);
    color: var(--text-light);
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* -- Responsive Kontakt -- */

@media (max-width: 767.98px) {
    .kontakt-header {
        padding: 2rem 0 0.5rem;
    }

    .kontakt-info {
        padding: 1rem 0 1.5rem;
    }

    .kontakt-card {
        padding: 1.25rem 0.75rem;
    }

    .kontakt-map {
        padding: 0 0 1.5rem;
    }

    .kontakt-map-wrapper iframe {
        height: 280px;
    }

    .kontakt-form-section {
        padding: 2rem 0 2.5rem;
    }
}


/* ====================================================
   ÜBERWEISUNGSFORMULAR (fuer-kollegen.html)
   ==================================================== */

/* -- Intro-Box -- */

.ueberweisung-intro {
    padding: 1rem 0 0;
}

.ueberweisung-intro-box {
    background-color: rgba(74, 106, 138, 0.06);
    border-left: 3px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 2px 2px 0;
}

.ueberweisung-intro-box p {
    font-size: var(--fs-footer-body);
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.ueberweisung-intro-box p:last-child {
    margin-bottom: 0;
}

/* -- Fieldset / Legend -- */

.ueberweisung-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 2rem;
}

.ueberweisung-legend {
    font-family: var(--font-main);
    font-size: clamp(1.063rem, 0.95rem + 0.55vw, 1.25rem);
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    width: 100%;
}

.ueberweisung-legend i {
    font-size: 1.1em;
    opacity: 0.7;
}

/* -- Feld-Hints -- */

.ueberweisung-hint {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 0.71rem + 0.18vw, 0.813rem);
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* -- File-Input -- */

.kontakt-file {
    padding: 0.45rem 0.85rem;
}

.kontakt-file::file-selector-button {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--primary);
    background-color: rgba(74, 106, 138, 0.08);
    border: 1px solid rgba(74, 106, 138, 0.18);
    border-radius: 2px;
    padding: 0.3rem 0.75rem;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.kontakt-file::file-selector-button:hover {
    background-color: rgba(74, 106, 138, 0.15);
}

/* -- Submit-Bereich -- */

.ueberweisung-submit-area {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.ueberweisung-submit-area .kontakt-check {
    margin-bottom: 1.25rem;
}

.ueberweisung-submit-area .kontakt-submit {
    margin-bottom: 0.75rem;
}

/* -- DSGVO-Hinweis -- */

.ueberweisung-dsgvo-note {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.ueberweisung-dsgvo-note p {
    font-size: clamp(0.75rem, 0.71rem + 0.18vw, 0.813rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.2rem;
}

.ueberweisung-dsgvo-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* -- Select-Styling (gleicher Stil wie Inputs) -- */

.kontakt-input.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234a6a8a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 14px 10px;
}


/* ====================================================
   LEISTUNGEN (leistungen.html)
   ==================================================== */

/* -- Leistungen Header -- */

.leistungen-header {
    padding: 2.5rem 0 1.5rem;
    text-align: center;
}

.leistungen-page-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.leistungen-page-intro {
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
    max-width: 38rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* -- Leistungen Blöcke (abwechselnd) -- */

.leistungen-block {
    padding: 0;
}

.leistungen-block + .leistungen-block {
    margin-top: 0;
}

.leistungen-row {
    min-height: 340px;
}

.leistungen-img-col {
    overflow: hidden;
}

.leistungen-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
    transition: transform 0.5s ease;
}

.leistungen-block:hover .leistungen-img-col img {
    transform: scale(1.02);
}

.leistungen-text-col {
    display: flex;
    align-items: center;
}

.leistungen-text-inner {
    padding: 2.5rem 2rem 2.5rem 2.5rem;
}

/* Reverse-Layout: Bild rechts */
.leistungen-row--reverse {
    flex-direction: row-reverse;
}

.leistungen-row--reverse .leistungen-text-inner {
    padding: 2.5rem 2.5rem 2.5rem 2rem;
}

/* Alternierender Hintergrund */
.leistungen-block--alt {
    background-color: rgba(74, 106, 138, 0.04);
}

/* -- Überschrift -- */

.leistungen-heading {
    font-family: var(--font-main);
    font-size: clamp(1.25rem, 1.09rem + 0.82vw, 1.625rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.6rem;
}

.leistungen-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

/* -- Leistungsliste -- */

.leistungen-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leistungen-list li {
    font-family: var(--font-main);
    font-size: var(--fs-list);
    line-height: 1.65;
    color: var(--text-color);
    padding: 0.35rem 0 0.35rem 1.4rem;
    position: relative;
}

.leistungen-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
}

/* -- Responsive Leistungen -- */

@media (max-width: 991.98px) {
    .leistungen-text-inner {
        padding: 2rem 1.5rem;
    }

    .leistungen-row--reverse .leistungen-text-inner {
        padding: 2rem 1.5rem;
    }

    .leistungen-row,
    .leistungen-row--reverse {
        flex-direction: column;
    }

    .leistungen-img-col img {
        min-height: 220px;
        max-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .leistungen-header {
        padding: 2rem 0 1rem;
    }

    .leistungen-text-inner {
        padding: 1.5rem 0.5rem;
    }

    .leistungen-row--reverse .leistungen-text-inner {
        padding: 1.5rem 0.5rem;
    }
}


/* ====================================================
   TEAM – Übersicht (team.html)
   ==================================================== */

/* -- Team Header -- */

.team-header {
    padding: 2.5rem 0 1rem;
    text-align: center;
}

.team-page-title {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.team-page-intro {
    font-size: var(--fs-body-intro);
    color: var(--text-muted);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* -- Team Sections -- */

.team-section {
    padding: 1.5rem 0 2rem;
}

.team-section-heading {
    font-family: var(--font-main);
    font-size: clamp(1.125rem, 0.98rem + 0.73vw, 1.375rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* -- Team Cards (Übersicht) -- */

.team-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 2px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 106, 138, 0.12);
    color: inherit;
    text-decoration: none;
}

.team-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover .team-card-img img {
    transform: scale(1.03);
}

/* Placeholder für fehlende Bilder */
.team-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8eef4;
    aspect-ratio: 4 / 3;
}

.team-card-placeholder-text {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-card-body {
    padding: 0.75rem 0.25rem 1rem;
}

.team-card-name {
    font-family: var(--font-main);
    font-size: clamp(0.938rem, 0.87rem + 0.36vw, 1.063rem);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.15rem;
    line-height: 1.35;
}

.team-card-role {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.team-card-email {
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 0.71rem + 0.18vw, 0.813rem);
    color: var(--text-light);
    word-break: break-all;
}


/* ====================================================
   TEAM – Detail (team-detail.html)
   ==================================================== */

/* -- Breadcrumb -- */

.team-breadcrumb {
    padding: 1rem 0 0;
}

.breadcrumb-custom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: var(--fs-small);
}

.breadcrumb-custom li {
    color: var(--text-light);
}

.breadcrumb-custom li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--text-light);
}

.breadcrumb-custom li a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-custom li a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* -- Detail Layout -- */

.team-detail {
    padding: 1.5rem 0 2.5rem;
}

/* Großes Bild – volle Container-Breite, max 2:3 Hochformat */
.team-detail-hero {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.team-detail-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
}

/* Name & Rolle zentriert unter dem Bild */
.team-detail-identity {
    text-align: center;
    margin-bottom: 2rem;
}

.team-detail-name {
    font-family: var(--font-main);
    font-size: var(--fs-h1);
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.team-detail-role {
    font-family: var(--font-main);
    font-size: clamp(1rem, 0.927rem + 0.36vw, 1.125rem);
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

/* -- Fakten-Grid -- */

.team-detail-facts {
    max-width: 640px;
    margin: 0 auto;
}

.team-detail-fact-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 0;
    gap: 1rem;
    align-items: baseline;
}

.team-detail-fact-row:first-child {
    border-top: 1px solid var(--border-color);
}

.team-detail-fact-label {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--primary);
    min-width: 140px;
    flex-shrink: 0;
}

.team-detail-fact-value {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.55;
}

.team-detail-fact-value a {
    color: var(--primary);
    text-decoration: none;
}

.team-detail-fact-value a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* -- Tags / Schwerpunkte -- */

.team-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.team-detail-tag {
    display: inline-block;
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 0.71rem + 0.18vw, 0.813rem);
    font-weight: 500;
    color: var(--primary);
    background-color: rgba(74, 106, 138, 0.08);
    border: 1px solid rgba(74, 106, 138, 0.18);
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    line-height: 1.4;
}

/* -- Navigation / Zurück -- */

.team-detail-nav {
    max-width: 640px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.team-detail-back {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.team-detail-back:hover {
    color: var(--primary-dark);
    gap: 0.6rem;
}

/* -- Weitere Teammitglieder -- */

.team-related {
    padding: 2rem 0 2.5rem;
    background-color: var(--bg-footer);
}

/* ---- Responsive: Team ---- */

@media (max-width: 767.98px) {
    .team-header {
        padding: 2rem 0 0.5rem;
    }

    .team-section {
        padding: 1rem 0 1.5rem;
    }

    .team-detail {
        padding: 1rem 0 2rem;
    }

    .team-detail-info {
        padding-top: 0.5rem;
    }

    .team-related {
        padding: 1.5rem 0 2rem;
    }
}

@media (max-width: 575.98px) {
    .team-card-body {
        padding: 0.5rem 0.15rem 0.75rem;
    }

    .team-card-email {
        font-size: 0.688rem;
    }

    .team-detail-fact-row {
        flex-direction: column;
        gap: 0.15rem;
    }

    .team-detail-fact-label {
        min-width: auto;
    }
}


/* ---- Print ---- */

@media print {
    .navbar,
    .footer-bottom,
    .scroll-top-btn {
        display: none !important;
    }

    .site-footer {
        background: none;
    }

    body {
        font-size: 12pt;
    }
}


/* ---- Google Maps Consent-Overlay ---- */

.kontakt-map-wrapper {
    position: relative;
}

.map-consent-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(45, 55, 65, 0.92);
    border-radius: 2px;
}

.map-consent-card {
    text-align: center;
    max-width: 360px;
    padding: 2rem 1.75rem;
    background-color: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.map-consent-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.map-consent-title {
    font-family: var(--font-main);
    font-size: clamp(1.063rem, 0.95rem + 0.55vw, 1.25rem);
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.5rem;
}

.map-consent-text {
    font-family: var(--font-main);
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.map-consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

.map-consent-text a:hover {
    color: var(--primary-dark);
}

.map-consent-btn {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--bg-white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 2px;
    padding: 0.55rem 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.map-consent-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.map-consent-overlay.hidden {
    display: none;
}

/* iframe versteckt bis Zustimmung */
.kontakt-map-wrapper iframe[data-src] {
    visibility: hidden;
}

.kontakt-map-wrapper iframe:not([data-src]) {
    visibility: visible;
}

/* ── Instagram Footer Icon ── */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.3s ease;
    vertical-align: middle;
}
.footer-social-link:hover,
.footer-social-link:focus {
    color: var(--primary);
}

/* ── Instagram Fixed Button ── */
.instagram-fixed-btn {
    position: fixed;
    bottom: 160px;
    right: 20px;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.instagram-fixed-btn:hover,
.instagram-fixed-btn:focus {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    transform: scale(1.1);
}