/* Startseite D0401 */
:root {
    --bg-color: linear-gradient(135deg, #fff8ef 0%, #f8f7fc 55%, #eef6ff 100%);
    --surface: rgba(255,255,255,0.82);
    --surface-strong: #ffffff;
    --surface-soft: rgba(255,255,255,0.65);
    --text-color: #1f2430;
    --muted: #5f6675;
    --border: rgba(30, 40, 60, 0.10);

    --brand-orange: rgb(235, 137, 27);
    --brand-orange-dark: rgb(210, 112, 6);
    --brand-orange-soft: rgba(235, 137, 27, 0.14);

    --brand-blue: #0078d7;
    --brand-blue-dark: #005fa9;
    --brand-blue-soft: rgba(0, 120, 215, 0.12);

    --shadow: 0 12px 30px rgba(30, 40, 60, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;

    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /*D0402*/
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Nunito", "Segoe UI", Arial, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.55;
}

/*D0398-a*/
@media (min-width: 900px) {

    .container{
        width: 99%;
    }
}
/*Ende D0398-a*/
@media (max-width: 700px) {
    .container {
        width: min(100%, var(--max));
        padding-left: 3px;
        padding-right: 3px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .section-card {
        width: 100%;
        margin: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero {
    padding: 38px 0 26px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 26px;
    align-items: stretch;
}

.hero-main,
.hero-aside {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}
.hero-aside {
    padding: 22px;
    display: grid;
    gap: 16px;
    align-content: start;
}

.hero-main {
    padding: 34px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-main::before {
    content: "";
    position: absolute;
    inset: auto auto -50px -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-orange-soft), transparent 70%);
    z-index: -1;
}

.hero-main::after {
    content: "";
    position: absolute;
    top: -30px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-blue-soft), transparent 70%);
    z-index: -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--brand-orange-soft), var(--brand-blue-soft));
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 18px;
}

h1, h2, h3 {
    margin: 0 0 12px;
    line-height: 1.12;
}

h1 {
    font-size: clamp(1.7rem, 4vw, 4rem);
    max-width: 85ch;
    letter-spacing: -0.03em;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.hero-text {
    max-width: 80ch;
    color: var(--muted);
    font-size: 1.04rem;
    margin-bottom: 24px;
}
.hero-text ul{
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 46px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: .2s ease;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--brand-blue);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-blue-dark);
}

.button-secondary {
    background: rgba(255,255,255,0.75);
    border-color: rgba(30,40,60,0.12);
    color: var(--text-color);
}

.button-secondary:hover {
    background: #fff;
}

.quick-box {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.quick-box h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.quick-links {
    display: grid;
    gap: 10px;
}

.quick-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(248,249,252,0.95));
    border: 1px solid rgba(30,40,60,0.08);
    color: var(--text-color);
    font-weight: 700;
    transition: .2s ease;
}

.quick-links a:hover {
    border-color: rgba(0,120,215,0.2);
    transform: translateY(-1px);
}

.quick-links small {
    color: var(--muted);
    font-weight: 600;
}
.highlight-note {
    border-left: 4px solid var(--brand-orange);
    padding-left: 14px;
    color: var(--muted);
    font-size: 0.97rem;
}

.main-layout {
    padding: 8px 0 60px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .78fr);
    gap: 28px;
    align-items: start;
}

.section-card,
.aside-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.section-card {
    padding: 28px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 14px;
    margin-bottom: 18px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    max-width: 56ch;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--surface-strong);
    border: 1px solid rgba(30,40,60,0.08);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    min-height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
body.dark .tool-card, .fragetypen-text, .image-box{ 
    background: var(--surface-2);
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(30, 40, 60, 0.08);
}

.tool-graphic {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid rgba(30,40,60,0.08);
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
            radial-gradient(circle at 20% 20%, var(--brand-orange-soft), transparent 34%),
            radial-gradient(circle at 80% 25%, var(--brand-blue-soft), transparent 36%),
            linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.tool-card p {
    margin: 0;
    color: var(--muted);
}

.tool-actions {
    display: grid;
    gap: 10px;
}

.tool-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    background: var(--brand-blue);
    color: #fff;
    font-weight: 800;
}

.tool-main-link:hover {
    background: var(--brand-blue-dark);
}

.tool-sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.tool-sub-links a {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.95rem;
}

.tool-sub-links a.demo-link {
    color: var(--brand-orange-dark);
}

aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 92px;
}

.aside-box {
    padding: 22px;
}

.aside-box h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.quote {
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.quote-source {
    color: var(--muted);
    font-size: 0.94rem;
}

.aside-list {
    display: grid;
    gap: 14px;
}

.aside-list.termin-list {
    gap: 1px;
}

.aside-item {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(30,40,60,0.08);
}

.aside-item:last-child {
    padding-bottom: 10px;
   /* border-bottom: 0;*/
}

.aside-item small {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}

.aside-item strong {
    display: block;
    margin-bottom: 4px;
}

.aside-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

.info-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: var(--brand-orange-soft);
    color: var(--brand-orange-dark);
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.site-footer {
    padding: 0 0 50px;
}

.footer-box {
    padding-top: 20px;
    border-top: 1px solid rgba(30,40,60,0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    aside {
        position: static;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .hero-main,
    .hero-aside,
    .section-card,
    .aside-box {
        padding: 22px;
        border-radius: 22px;
    }

    h1 {
        max-width: none;
    }
}
/*Menü Style*/
:root {
    --bg-color: linear-gradient(135deg, #fff8ef 0%, #f8f7fc 55%, #eef6ff 100%);
    --nav-bg-color: transparent;
    --surface: rgba(255,255,255,0.78);
    --surface-strong: rgba(255,255,255,0.92);
    --text-color: #1f2430;
    --muted: #5f6675;
    --border: rgba(31, 36, 48, 0.10);

    --brand-orange: rgb(235, 137, 27);
    --brand-orange-soft: rgba(235, 137, 27, 0.14);

    --brand-blue: #0078d7;
    --brand-blue-dark: #005fa9;
    --brand-blue-soft: rgba(0, 120, 215, 0.12);

    --shadow: 0 12px 30px rgba(30, 40, 60, 0.08);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    background: var(--nav-bg-color); /*D0406*/
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}
nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: var(--nav-bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    z-index: auto;
    flex-wrap: wrap;
}
/*D0406*/
body.dark{
    --nav-bg-color: rgba(31, 41, 51, 0.82);
}
/*Ende D0406*/
.header-spacer {
    height: 0px;
}

.noscript-hinweis {
    color: #8a2200;
    background: rgba(255, 238, 230, 0.95);
    border: 1px solid rgba(235, 137, 27, 0.25);
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

/* nav wrapper */
.top-nav {
    /*width: min(95%, 1180px);*/
    margin: 0 auto;
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

/* brand */
.nav-left {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: var(--text-color);
}

.nav-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-orange-soft), var(--brand-blue-soft));
    padding: 6px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 36, 48, 0.08);
}

.brand-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-label strong {
    font-size: 0.98rem;
    font-weight: 800;
}
.brand-dark {
    color: var(--text-color);
}

.brand-blue {
    color: var(--brand-blue);
}

.brand-orange {
    color: var(--brand-orange);
}
.brand-label small {
    color: var(--muted);
    font-size: 0.82rem;
}

/* center links */
.nav-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-center a,
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    font-weight: 700;
    transition: all .2s ease;
    text-decoration: none;
}

.nav-center a:hover,
.nav-link:hover {
    color: var(--text-color);
    background: rgba(255,255,255,0.8);
}

.nav-center a.active,
.nav-link.active {
    color: var(--brand-blue);
    background: rgba(0, 120, 215, 0.10);
    box-shadow: inset 0 0 0 1px rgba(0, 120, 215, 0.14);
}

/* right actions */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.theme-toggle,
.dropbtn,
.mobile-theme-btn,
.hamburger,
.mobile-dropbtn {
    border: 1px solid rgba(31,36,48,0.10);
    background: rgba(255,255,255,0.82);
    color: var(--text-color);
    border-radius: var(--radius-pill);
    min-height: 42px;
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}
body.dark .hamburger{
    color: #1F2933; /*D0406*/
}

.theme-toggle:hover,
.dropbtn:hover,
.mobile-theme-btn:hover,
.hamburger:hover,
.mobile-dropbtn:hover {
    background: #fff;
    border-color: rgba(0,120,215,0.2);
}

/* dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 220px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 2000;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-content a,
.dropdown-user {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
}

.dropdown-content a:hover {
    background: rgba(0,120,215,0.08);
}

.dropdown-user {
    color: var(--muted);
    font-weight: 700;
    border-bottom: 1px solid rgba(31,36,48,0.08);
    margin-bottom: 6px;
    padding-bottom: 12px;
}

/* mobile */
.mobile-nav {
    display: none;
    position: relative;
}

.mobile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 14px;
    gap: 8px;
    width: clamp(320px, 45vw, 500px); /*D0406-mobil min PX, 45% , max PX*/
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: auto;
}
body.dark .mobile-menu{
    background: var(--nav-bg-color); /*D0406 zuvor surface-strong*/
}

.mobile-menu.open {
    display: grid;
}

.mobile-link,
.mobile-dropdown-content a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
}

.mobile-link:hover,
.mobile-dropdown-content a:hover {
    background: rgba(0,120,215,0.08);
}

.mobile-link.active {
    color: var(--brand-blue);
    background: rgba(0, 120, 215, 0.10);
}

.mobile-dropdown-content {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(31,36,48,0.08);
}

/* optional header type */
.header-neuesmenu .site-header,
.site-header.header-neuesmenu {
    background: var(--nav-bg-color); /*D0406*/
}

/* dot nav */
.dot-nav {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 80;
    display: grid;
    gap: 10px;
}

.dot-nav a {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(0,120,215,0.18);
    border: 1px solid rgba(0,120,215,0.25);
}

.dot-nav a.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

/* responsive */
@media (max-height: 500px) and (orientation: landscape){
    .nav-right {
        display: none !important; /*D0406-mobil*/
    }
}

@media (max-width: 980px) {
    .top-nav {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .nav-center,
    .nav-right .dropdown,
    .nav-right .theme-toggle {
        display: none; /*D0406-mobil*/
    }
    .nav-right{
        display: none; /*D0406-mobil*/
    }

    .mobile-nav {
        display: block;
    }

    .brand-label small {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0 0; /*D0406-mobil 8px 0 zu 0*/
    }

    .top-nav {
        min-height: 60px;
    }

    .nav-logo {
        width: 38px;
        height: 38px;
    }

    .brand-label strong {
        font-size: 0.92rem;
    }

    .dot-nav {
        display: none;
    }
}

/*Ende Menü Style*/



body.dark {
    --surface-2: #1F2933;

}

.h2-infopage{
    padding-top: 25px;
}

.hero{
    padding-bottom: 10px;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.2fr .8fr;
    }
}
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    /*  padding: 0 24px; */
}
.sectionPadding{
    padding: 28px 0;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 62ch;
}
.cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.hero-card {
    padding: clamp(16px, 3vw, 26px);
    width: auto;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
/*D0405 */
.termin-item {
    width: 100%;
    text-align: left;
    border: 1px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.termin-item:hover,
.termin-item:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    background: var(--surface-strong);
    outline: none;
}

.termin-item small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
}

.termin-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-color);
}

.termin-item p {
    margin: 0;
    color: var(--muted);
    font-weight: 350;
}

.termin-open-hint {
    display: inline-block;
    margin-top: 5px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
}
.button{
    font-weight: 700;
}
.close{
    background: none;
}
/*Ende D0405*/

/*D0406*/
.contact3{
    border-radius: var(--radius-lg);
    padding: 12px 14px;
   background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(248,249,252,0.95));

    border: 1px solid rgba(30,40,60,0.08);
    color: var(--text-color);
    /*font-weight: 700; */
    transition: .2s ease;
}
body.dark .contact3{
    background: var(--surface-2);
}
.styled-table#contactTable td input:not([type="checkbox"]), textarea {
    padding-left: 10px;
}
body.dark tbody{
    background: none;
}
.styled-table#contactTable tbody tr:nth-of-type(2n) {
   /* background-color: var(--surface); */
    background-color: transparent;
}
    /*Ende D0406*/

.flow {
    display: grid;
    gap: clamp(8px, 1.8vw, 12px);
}
.step {
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-weight: 600;
}
.muted {
    color: var(--muted);
}
.zweiLinks{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    font-weight: bold;
}
.btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: rgb(255, 255, 255);
}
.btn {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--border);
    background: rgb(255, 255, 255);
}
.uebersicht-grid-1 {
    display: grid;
    grid-template-columns: repeat(1, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.uebersicht-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.uebersicht-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .uebersicht-grid-1, .uebersicht-grid-2, .uebersicht-grid-4 {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
    }
}
.soft-band {
    background: rgba(255,255,255,0.35);
    border-top: 1px solid rgba(221,216,204,.6);
    border-bottom: 1px solid rgba(221,216,204,.6);
    padding: 28px 0;
}

