/* =========================
   ARS Maquette Pro
   ========================= */
@font-face {
    font-family: "ARSMaquettePro";
    src: url("fonts/ARSMaquettePro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ARSMaquettePro";
    src: url("fonts/ARSMaquettePro-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ARSMaquettePro";
    src: url("fonts/ARSMaquettePro-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================
   Vars
   ========================= */
:root {
    --blue: #0b6ea6;
    --blue-dark: #0a659b;

    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .78);

    --overlay: rgba(0, 0, 0, .11);

    --label-bg: rgba(255, 255, 255, 1);
    --label-text: #0b6ea6;
    --line-height: 1.3;
    --font-size: 0.95rem;

    --axis: 2.3rem;
    --content-shift: .9rem;

    --divider: rgba(255, 255, 255, .6);
    --card-border: rgba(255, 255, 255, .32);

    --radius-field: 12px;

    --ph-bg: rgba(255, 255, 255, .92);

    --max-width: 800px;
}

/* =========================
   Base
   ========================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "ARSMaquettePro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    /*    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);*/
    background: url(assets/bg.png);
    background-size: 800px auto;
    color: var(--text);
    font-size: 1rem;
}


p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
small,
span,
div,
label {
    color: #FFF;
}

.bold {
    font-weight: 700;
}

/* links */
a {
    color: #fff;
}

a:hover {
    color: #fff;
}


:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.container {
    max-width: var(--max-width);
    padding: 0;
}


.max-width {
    max-width: var(--max-width);
}

/* =========================
   Skip link
   ========================= */


.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    background: #fff;
    color: #0a3b59;
    padding: 8px 10px;
    z-index: 9999;
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* =========================
   Topbar
   ========================= */
.ph--logo {
    height: 66px;
    width: auto;
    margin-left: 1.7rem;
}

/* =========================
   Language Switcher
   ========================= */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 1.7rem;
    font-size: 1rem;
    font-weight: 500;
}

.lang-link {
    color: #fff;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.lang-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lang-link.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
}




#main {
    container-type: inline-size;
    container-name: maincontainer;
}

@container maincontainer (max-width: 575.99px) {
    /* .hero-feature__img {
        width: 200px;
    }

    .hero-feature__btn {
        min-width: 220px;
    }*/
}

@container maincontainer (min-width: 576px) {
    .hero__lead {
        padding-left: calc(var(--axis) + 1rem);
    }
}

@supports not (container-type: inline-size) {
    .hero-feature__img {
        width: 150px;
    }
}

/* =========================
   Hero
   ========================= */
.hero {
    position: relative;
}

/*.hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    background: var(--overlay);
    pointer-events: none;
}*/

.hero__inner {
    position: relative;
}

.hero__title {
    margin: 0;
    padding-left: var(--axis);
    padding-right: var(--axis);

    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .2px;
    text-align: left;
    font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}

.hero__lead {
    margin-inline: auto;
    color: #FFF;
    padding: 6px var(--axis);
    line-height: var(--line-height);
    text-align: justify;
    font-size: 0.95rem;
}

.hero__stetho {
    width: 100%;
    max-width: 472px;
    height: auto;
}

p {
    font-size: var(--font-size);
    line-height: var(--line-height);
}

/* =========================
   HERO feature row (icons + buttons)
   ========================= */


.hero-feature {
    container-type: inline-size;
    container-name: hero;
}

.hero-feature__img {
    width: 150px;
}

/* pill button */
.hero-feature__btn {

    width: 160px;
    padding: 16px 22px;
    height: 68px;
    background: #fff;
    color: #0b6ea6;

    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    border-radius: 999px;
}



@container hero (max-width: 575.99px) {
    .hero-feature__img {
        width: 200px;
    }

    .hero-feature__btn {
        min-width: 220px;
    }
}

@container hero (min-width: 576px) {
    .hero-feature__img {
        width: 150px;
    }
}

@supports not (container-type: inline-size) {
    .hero-feature__img {
        width: 150px;
    }
}




.divider {
    position: relative;
    height: 1px;
    max-width: 800px;
    margin: 0 auto;
    background-image: repeating-linear-gradient(to right,
        rgba(255, 255, 255, .7) 0,
        rgba(255, 255, 255, .7) 2px,
        transparent 2px,
        transparent 6px);
}


/* =========================
   Sections alignment
   ========================= */


.section__title {
    padding-left: var(--axis);
    padding-right: var(--axis);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 5px 0 0.5rem 0;
}

/* Subtitle label sits on axis (LEFT) */
.section__subtitle {
    /*  margin:0 0 0 var(--axis);*/
    margin-top: 15px;
}

.section__lead {
    font-size: 0.95rem;
    line-height: var(--line-height);
    text-align: justify;
}

/* Everything else shifts right */
.section__content {
    margin-left: calc(var(--axis));
    margin-right: calc(var(--axis));
    ;
}

/* labels */
.section__subtitleLabel,
.subhead__label,
h3 {
    display: inline-block;
    background: var(--label-bg);
    color: var(--label-text);
    padding: .30rem var(--axis);
    font-weight: 500;
    line-height: 1.35;
    font-size: 1.4rem;
    text-align: left;

}

h3 {
    padding: .30rem 0;
}

p {
    text-align: justify;
    margin-right: calc(var(--axis));
    ;

}

/* subhead */
.subhead {
    margin: 0 0 .5rem 0;
    font-weight: 500;
}

/* copy + foot */
.copy {
    margin: .5rem 0 0;
    line-height: var(--line-height);
}

.section__foot {
    margin: .75rem 0 0;
    color: #FFF;
    line-height: 1.5;
}

/* bullets */
.bullets {
    margin: .5rem 0 0;
    padding-left: 1.1rem;
    line-height: 2;
}

.bullets li {
    margin: 6px 0;
}

.bullets--compact li {
    margin: 4px 0;
}

.s1-image,
.s2-image {
    max-width: 743px;
}

.s1__cols,
.s3__grid,
.contact__grid,
.grid-2 {
    display: block !important;
}



/* Remove Bootstrap row negative margins for safety (single column look) */
.row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* =========================
   Cards (make sure text is NOT black)
   ========================= */
.card {
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 0;
    color: var(--text);
}

.card * {
    color: inherit;
}

.card__title {
    margin: 0 0 .5rem 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

/* =========================
   Contact
   ========================= */
.contact__form {
    position: relative;
    padding: 16px;
    background: transparent;
}


/* dotted border with controllable spacing — NO grid */
.contact__form::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    /* 4 edges: top, right, bottom, left */
    background:
        /* top */
        repeating-linear-gradient(to right,
        rgba(255, 255, 255, .7) 0,
        rgba(255, 255, 255, .7) 2px,
        transparent 2px,
        transparent 6px) top left / 100% 1px no-repeat,

        /* bottom */
        repeating-linear-gradient(to right,
        rgba(255, 255, 255, .7) 0,
        rgba(255, 255, 255, .7) 2px,
        transparent 2px,
        transparent 6px) bottom left / 100% 1px no-repeat,

        /* left */
        repeating-linear-gradient(to bottom,
        rgba(255, 255, 255, .7) 0,
        rgba(255, 255, 255, .7) 2px,
        transparent 2px,
        transparent 6px) top left / 1px 100% no-repeat,

        /* right */
        repeating-linear-gradient(to bottom,
        rgba(255, 255, 255, .7) 0,
        rgba(255, 255, 255, .7) 2px,
        transparent 2px,
        transparent 6px) top right / 1px 100% no-repeat;
}


.form-control {
    border-radius: var(--radius-field);
}

.form-control-adrule {
    padding-top: 16px;
    padding-bottom: 16px;
    line-height: 1.2;
}

.form-control-adrule--textarea {
    min-height: 280px;
    resize: none;

    /* WICHTIG */
    padding-top: 18px;
    padding-bottom: 18px;
    line-height: 1.4;
    vertical-align: top;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}



.form-label,
label {
    color: var(--text);
}

/* button square */
.btn {
    border-radius: 0;
}

/* =========================
    CTA 
   ========================= */

.btn-adrule {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 260px;
    padding: 16px 32px;

    border: 0;
    border-radius: 999px;

    background: #01628d;

    color: #fff;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .2px;

    cursor: pointer;
}


.btn-adrule:hover {
    filter: brightness(1.05);
}


.btn-adrule:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .75);
    outline-offset: 3px;
}


.btn-adrule:active {
    transform: translateY(1px);
}


@media (max-width: 820px) {
    .btn-adrule {
        min-width: 220px;
        font-size: 1.05rem;
    }
}



/* =========================
   Devices 
   ========================= */
.formats-row {
  max-width: 800px;
  margin-inline: auto;     /* container zentrieren */
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 👈 DAS fehlt */
  gap: 48px;
  container-type: inline-size;
  container-name: formats;
}

/* Mobile default: 1 pro Zeile, 80% breit */
.formats-item {
  flex: 0 0 80%;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Ab 600px: 3 Spalten */
@container formats (min-width: 600px) {
  .formats-item {
    flex: 0 0 calc(33.333% - (48px * 2 / 3));
    max-width: none;
  }
}



/* Bullet + Titel */
.formats-label {
    font-weight: 700;
    margin-bottom: 12px;
}

/* Device placeholder */
.device {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.darkened {
    background: var(--overlay);
}


/*@media (max-width: 820px) {
    .formats-row {
        flex-direction: column;
        gap: 32px;
    }

    .device {
        max-width: initial;
    }
}
*/

.dsvgo {
    max-height: 60px;
    width: auto;
}



/* =========================
   Footer
   ========================= */


.footer {
    color: #FFF;
}

/* =========================
   Responsive
   ========================= */


@media (max-width:820px) {
    :root {
        --axis: 1.25rem;
        --content-shift: .65rem;
    }

    .hero::before {
        height: 120px;
    }
    
    .language-switcher {
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    
    .ph--logo {
        margin-left: 1rem;
    }
}