/* =========================
   Gemeinsame Inhaltsseiten
   ========================= */

.inhaltsseite-abschnitt {
    position: relative;
    overflow: hidden;
    padding: 4.75rem 0 5.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 100%);
}

.inhaltsseite-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.inhaltsseite-glow-eins {
    top: 2rem;
    right: -6rem;
    width: 18rem;
    height: 18rem;
    background: rgba(255, 115, 0, 0.14);
}

.inhaltsseite-glow-zwei {
    top: 14rem;
    left: -7rem;
    width: 16rem;
    height: 16rem;
    background: rgba(59, 130, 246, 0.05);
}

.inhaltsseite-abschnitt .container-xxl {
    position: relative;
    z-index: 1;
}

.inhaltsseite-wrapper {
    max-width: 860px;
    margin-inline: auto;
}

.inhaltsseite-wrapper-breit {
    max-width: 1040px;
}

.inhaltsseite-kachel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.inhaltsseite-kachel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(255, 115, 0, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%);
}

.inhaltsseite-kachel > * {
    position: relative;
    z-index: 1;
}

.inhaltsseite-header {
    margin-bottom: 2.2rem;
    text-align: left;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.inhaltsseite-titel {
    color: #0f172a;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-wrap: balance;
}

.inhaltsseite-einleitung {
    max-width: 720px;
    color: #64748b;
    line-height: 1.8;
    font-size: 1.04rem;
}

.inhaltsseite-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 115, 0, 0.16) 0%, rgba(255, 115, 0, 0.10) 100%);
    color: #ff7300;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(255, 115, 0, 0.08);
}

.inhaltsseite-block {
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.inhaltsseite-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.inhaltsseite-block h2,
.inhaltsseite-block h3 {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.inhaltsseite-block p,
.inhaltsseite-block li,
.inhaltsseite-kachel address {
    color: #475569;
    line-height: 1.8;
}

.inhaltsseite-kachel address {
    font-style: normal;
}

.inhaltsseite-kachel ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.inhaltsseite-kachel li + li {
    margin-top: 0.45rem;
}

.inhaltsseite-kachel a {
    color: #ff7300;
    text-decoration: underline;
    text-decoration-color: rgba(255, 115, 0, 0.28);
    text-underline-offset: 0.14em;
}

.inhaltsseite-kachel a:hover,
.inhaltsseite-kachel a:focus {
    color: #e56600;
    text-decoration-color: rgba(255, 115, 0, 0.72);
}

.inhaltsseite-meta {
    color: #64748b;
}

.inhaltsseite-hinweisbox {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(250, 251, 252, 0.94) 0%, rgba(248, 249, 250, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 8px 20px rgba(15, 23, 42, 0.04);
    color: #475569;
}

.inhaltsseite-hinweisbox a {
    color: #ff7300;
}

/* =========================
   Kontaktseite
   ========================= */

.kontakt-layout {
    display: grid;
    gap: 1.5rem;
}

.kontakt-info-panel {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(250, 251, 252, 0.96) 0%, rgba(248, 249, 250, 1) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.80),
        0 8px 20px rgba(15, 23, 42, 0.03);
}

.kontakt-info-block {
    display: grid;
    gap: 0.5rem;
}

.kontakt-info-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kontakt-info-titel {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.kontakt-info-text {
    color: #64748b;
    line-height: 1.75;
}

.kontakt-info-karten {
    display: grid;
    gap: 0.9rem;
}

.kontakt-info-karte {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 6px 14px rgba(15, 23, 42, 0.03);
}

.kontakt-info-label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kontakt-info-wert {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none !important;
}

.kontakt-info-wert:hover,
.kontakt-info-wert:focus {
    color: #ff7300;
}

.kontakt-info-wert-text:hover,
.kontakt-info-wert-text:focus {
    color: #0f172a;
}

.kontakt-formular-panel {
    padding: 1.25rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.94) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.80),
        0 10px 22px rgba(15, 23, 42, 0.04);
}

/* =========================
   Formulare
   ========================= */

.inhaltsseite-formular .form-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.55rem;
}

.inhaltsseite-formular .form-control,
.inhaltsseite-formular .form-select,
.inhaltsseite-formular textarea {
    min-height: 3.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    color: #0f172a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 4px 10px rgba(15, 23, 42, 0.02);
}

.inhaltsseite-formular textarea {
    min-height: 10rem;
    resize: vertical;
}

.inhaltsseite-formular .form-control::placeholder,
.inhaltsseite-formular textarea::placeholder {
    color: #94a3b8;
}

.inhaltsseite-formular .form-control:hover,
.inhaltsseite-formular .form-select:hover,
.inhaltsseite-formular textarea:hover {
    border-color: rgba(255, 115, 0, 0.18);
}

.inhaltsseite-formular .form-control:focus,
.inhaltsseite-formular .form-select:focus,
.inhaltsseite-formular textarea:focus {
    border-color: rgba(255, 115, 0, 0.45);
    box-shadow:
        0 0 0 0.22rem rgba(255, 115, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.inhaltsseite-formular .form-check {
    padding: 1rem 1rem 1rem 2rem;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(250, 251, 252, 0.94) 0%, rgba(248, 249, 250, 1) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.inhaltsseite-formular .form-check-input {
    margin-top: 0.2rem;
}

.inhaltsseite-formular .form-check-input:checked {
    background-color: #ff7300;
    border-color: #ff7300;
}

.inhaltsseite-formular .form-check-input:focus {
    border-color: rgba(255, 115, 0, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(255, 115, 0, 0.14);
}

.inhaltsseite-formular-button {
    min-width: 220px;
}

/* =========================
   Buttons
   ========================= */

.button-marke-dunkel {
    border: 0;
    background: linear-gradient(135deg, #31373b 0%, #444b50 100%);
    color: white;
    box-shadow:
        0 10px 22px rgba(49, 55, 59, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-marke-dunkel:hover,
.button-marke-dunkel:focus {
    background: linear-gradient(135deg, #252a2d 0%, #31373b 100%);
    color: white;
    box-shadow:
        0 14px 26px rgba(49, 55, 59, 0.22),
        0 0 0 1px rgba(49, 55, 59, 0.08);
}

.button-marke-dunkel:active {
    background: linear-gradient(135deg, #1d2124 0%, #2a2f33 100%) !important;
    color: #ffffff !important;
}

/* =========================
   Responsive
   ========================= */

@media (min-width: 992px) {
    .kontakt-layout {
        grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 991.98px) {
    .inhaltsseite-abschnitt {
        padding: 4rem 0 4.75rem;
    }
}

@media (max-width: 767.98px) {
    .inhaltsseite-abschnitt {
        padding: 3.5rem 0 4.25rem;
    }

    .inhaltsseite-kachel {
        border-radius: 1.3rem;
    }

    .kontakt-info-panel,
    .kontakt-formular-panel {
        padding: 1rem;
        border-radius: 1.15rem;
    }

    .inhaltsseite-formular-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .inhaltsseite-titel {
        font-size: 2rem;
    }
}