/* =========================================================
   BASE.CSS
   Globale Basis für die gesamte Website
========================================================= */

/* =========================
   ROOT / DESIGN TOKENS
========================= */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=DM+Sans:wght@400;500;700;800&family=Poppins:wght@600;700;800&family=Sora:wght@500;600;700;800&display=swap");

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue-v16-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-v51-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-v51-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-v51-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("/assets/fonts/ZalandoSansExpanded-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zalando Sans";
  src: url("/assets/fonts/ZalandoSansExpanded-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
    --font-body: "DM Sans", sans-serif;
    --font-headline: "Sora", sans-serif;
    --font-accent: "Poppins", sans-serif;
    --font-display: "Archivo", sans-serif;
    --font-ui: "Sora", sans-serif;
    --color-primary: #0067a6;
    --color-primary-2: #1585c9;
    --color-primary-soft: #7cc9ff;

    --color-dark: #1f2a2e;
    --color-dark-2: #12202c;

    --color-white: #ffffff;
    --color-black: #000000;

    --color-text: #344054;
    --color-text-soft: #667085;
    --color-text-muted: #98a2b3;

    --color-border: rgba(17, 24, 39, 0.08);
    --color-border-soft: rgba(0, 103, 166, 0.10);

    --color-bg-light: #ffffff;
    --color-bg-soft: #f8fbfe;
    --color-bg-soft-2: #f3f8fc;
    --color-bg-cream: #f7f5f1;

    --color-success: #00b67a;
    --color-success-2: #009e68;
    --color-warning: #f4c542;
    --color-danger: #b42318;

    --shadow-xs: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 28px 60px rgba(0, 0, 0, 0.18);

    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;

    --container-narrow: 860px;
    --container-text: 720px;
    --container-wide: 1080px;


}

/* =========================
   GLOBAL RESET
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15.5px, 0.12vw + 15px, 17px);
    color: var(--color-text);
    background: var(--color-bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-dark-2);
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(40px, 5.4vw, 68px);
}

h2 {
    font-size: clamp(32px, 4vw, 52px);
}

h3 {
    font-size: clamp(24px, 2.6vw, 34px);
}

h4 {
    font-size: clamp(20px, 2vw, 28px);
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.72;
}

small {
    font-size: 12.5px;
    line-height: 1.5;
}

/* =========================
   LINKS
========================= */

a {
    color: var(--color-primary);
    transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}

a:hover {
    color: var(--color-primary-2);
    text-decoration: none;
}

/* =========================
   MEDIA
========================= */

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

/* =========================
   FORM BASICS
========================= */

input,
textarea,
select,
button {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================
   GLOBAL HELPERS
========================= */

.page-wrapper {
    position: relative;
}

.section-white {
    background: var(--color-white);
}

.section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    background: var(--color-white);
}

.section-divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-bg-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.border-line {
    border: 0;
    height: 1px;
    flex: 1 1 auto;
    background: rgba(17, 24, 39, 0.12);
    margin: 0;
}

.text-soft {
    color: var(--color-text-soft) !important;
}

.text-muted-custom {
    color: var(--color-text-muted) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.bg-soft {
    background: var(--color-bg-soft);
}

.bg-soft-2 {
    background: var(--color-bg-soft-2);
}

.round-36 {
    width: 36px;
    height: 36px;
}

.round-45 {
    width: 45px;
    height: 45px;
}

.round-52 {
    width: 52px;
    height: 52px;
}

.shadow-xs {
    box-shadow: var(--shadow-xs);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.radius-sm {
    border-radius: var(--radius-sm);
}

.radius-md {
    border-radius: var(--radius-md);
}

.radius-lg {
    border-radius: var(--radius-lg);
}

.radius-xl {
    border-radius: var(--radius-xl);
}

/* =========================
   BADGES / PILLS BASICS
========================= */

.badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(0, 103, 166, 0.08);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

/* =========================
   GENERIC CONTENT WIDTHS
========================= */

.content-narrow {
    max-width: var(--container-narrow);
}

.content-text {
    max-width: var(--container-text);
}

.content-wide {
    max-width: var(--container-wide);
}

/* =========================
   FOCUS STATES
========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(21, 133, 201, 0.22);
    outline-offset: 2px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
    p {
        line-height: 1.7;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    p {
        font-size: 15px;
        line-height: 1.65;
    }

    .section-divider {
        padding: 14px 0;
    }

    .section-divider span {
        font-size: 11px;
        padding: 8px 14px;
    }
}

/* =========================================
   GLOBAL HEADER CLEAN
========================================= */

.header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 999;
}

.header::before,
.header::after {
    display: none !important;
    content: none !important;
}

.header.border-top,
.header.border-4,
.header.border-primary {
    border: none !important;
}

.header .container {
    position: relative;
}

.header-wrapper {
    min-height: 88px;
    padding: 16px 0;
}

.toggle-menu {
    width: 52px;
    height: 52px;
    border: none !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toggle-menu:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.toggle-menu:focus,
.toggle-menu:active {
    border: none !important;
    outline: none !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14) !important;
}

.header-dropdown,
.header .dropdown-menu {
    min-width: 280px;
    border: none !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16) !important;
    padding: 24px !important;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #111827 !important;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-link:hover {
    transform: translateX(4px);
    color: #2563eb !important;
}

.header-link.active {
    color: #2563eb !important;
}

.header-contact a {
    display: block;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 6px;
}

.header-contact a:hover {
    color: #2563eb;
}

@media (max-width: 767.98px) {
    .header-wrapper {
        min-height: 78px;
        padding: 12px 0;
    }

    .toggle-menu {
        width: 48px;
        height: 48px;
    }

    .header-dropdown,
    .header .dropdown-menu {
        min-width: 250px;
        padding: 20px !important;
    }
}

/* =========================================
   GLOBAL HEADER FROM STYLE.CSS
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header-wrapper {
    min-height: 88px;
}

.toggle-menu {
    border: 0 !important;
    box-shadow: none !important;
}

.header .dropdown-menu {
    min-width: 320px;
    border: 0;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.header-menu .header-link {
    text-decoration: none;
}

.animate-spin {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
