*{
    box-sizing:border-box
}

body{
    margin:0;
    font-family:Arial,sans-serif;
    background:url("../images/hintergrund.jpg") no-repeat center center fixed;
    background-size:cover;
    color:#fff
}

:root{
    --nav-height:190px
}

.navbar{
    width:100%;
    position:relative;
    z-index:20
}

.navbar-inner{
    width:90%;
    max-width:900px;
    margin:0 auto;
    padding:12px 0;
    position:relative
}

.hamburger-wrap{
    position:relative;
    z-index:30
}

.hamburger-menu{
    font-size:36px;
    cursor:pointer;
    color:#fff;
    position:absolute;
    left:0;
    top:85px;
    display:flex;
    align-items:center;
    text-shadow:0 10px 30px rgba(0,0,0,.35)
}

.hamburger-label{
    font-size:22px;
    margin-left:12px;
    letter-spacing:.06em
}

.logo{
    position:absolute;
    left:50%;
    top:48px;
    transform:translateX(-50%)
}

.nav-logo-img{
    width:260px;
    height:auto;
    filter:drop-shadow(0 10px 26px rgba(0,0,0,.35))
}

.dropdown-menu{
    position:absolute;
    top:140px;
    left:0;
    background:rgba(20,20,20,.48);
    backdrop-filter:blur(12px);
    border-radius:16px;
    padding:19px;
    display:flex;
    flex-direction:column;
    gap:12px;
    width:240px;
    box-shadow:0 12px 40px rgba(0,0,0,.30);
    border:1px solid rgba(255,255,255,.22);
    opacity:0;
    transform:translateY(-10px);
    pointer-events:none;
    transition:.25s ease
}

.dropdown-menu.open{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto
}

.dropdown-menu a,
.dropdown-item{
    color:rgba(255,255,255,.92);
    font-size:18px;
    text-decoration:none
}

.dropdown-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px
}

.dropdown-row .dropdown-link{
    flex:1;
    display:flex;
    align-items:center
}

.dropdown-item{
    background:transparent;
    border:0;
    padding:0;
    cursor:pointer;
    text-align:left
}

.dropdown-caret{
    font-size:18px;
    opacity:.9;
    display:inline-block;
    transition:transform .2s ease
}

.dropdown-caret.open{
    transform:rotate(180deg)
}

.dropdown-caret-btn{
    background:transparent;
    border:none;
    color:rgba(255,255,255,.92);
    font-size:18px;
    cursor:pointer;
    padding:6px;
    border-radius:6px;
    opacity:.85
}

.dropdown-caret-btn:hover{
    background:rgba(255,255,255,.10);
    opacity:1
}

.dropdown-submenu{
    display:none;
    flex-direction:column;
    gap:8px;
    padding-left:14px;
    margin-top:6px;
    border-left:1px solid rgba(255,255,255,.22)
}

.dropdown-submenu.open{
    display:flex
}

.dropdown-submenu a{
    font-size:17px;
    color:rgba(255,255,255,.92)
}

.page-overlay{
    position:fixed;
    inset:0;
    background:rgba(255,255,255,.22);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    opacity:0;
    pointer-events:none;
    transition:.25s ease;
    z-index:15
}

.page-overlay.open{
    opacity:1;
    pointer-events:auto
}

.content-wrapper{
    padding-top:var(--nav-height);
    padding-bottom:90px;
    min-height:calc(100vh - var(--nav-height));
    display:flex;
    justify-content:center;
    align-items:flex-start
}

.glass-box{
    width:90%;
    max-width:1100px;
    background:rgba(20,20,20,.44);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 12px 40px rgba(0,0,0,.30);
    border-radius:25px;
    overflow:hidden
}

.glass-box-inner{
    display:flex;
    align-items:stretch;
    justify-content:space-between
}

.text-block{
    flex:1;
    padding:40px 45px;
    max-width:520px
}

h1{
    font-size:32px;
    margin:0 0 14px;
    font-weight:600;
    text-shadow:0 10px 24px rgba(0,0,0,.35)
}

h2{
    font-size:22px;
    margin:16px 0 8px;
    font-weight:600;
    text-shadow:0 10px 22px rgba(0,0,0,.30)
}

h3{
    font-size:18px;
    margin:14px 0 8px;
    font-weight:700;
    text-shadow:0 8px 18px rgba(0,0,0,.28)
}

p{
    font-size:17px;
    line-height:1.65;
    opacity:.96;
    text-shadow:0 8px 18px rgba(0,0,0,.28)
}

.text-block a:not(.button):not(.service-choice):not(.service-card):not(.online-service-main){
    color:rgba(255,255,255,.96);
    text-decoration:underline;
    text-underline-offset:2px
}

.text-block a.service-choice,
.text-block a.service-card,
.text-block a.online-service-main{
    text-decoration:none
}

ul{
    margin:10px 0 14px 18px
}

li{
    font-size:17px;
    line-height:1.6;
    opacity:.96;
    text-shadow:0 8px 18px rgba(0,0,0,.24)
}

.img-block{
    width:38%;
    overflow:hidden
}

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

.button-wrapper{
    display:flex;
    gap:12px;
    margin-top:18px;
    flex-wrap:wrap
}

.button{
    padding:12px 18px;
    border-radius:14px;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    font-weight:700;
    text-decoration:none;
    backdrop-filter:blur(8px);
    transition:.2s ease
}

.button:hover{
    background:rgba(255,255,255,.26)
}

.button-secondary{
    background:rgba(255,255,255,.08)
}

.notice-box{
    padding:12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(0,0,0,.18);
    color:rgba(255,255,255,.90);
    font-size:14px;
    line-height:1.45
}

.notice-box{
    margin:16px 0;
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.10);
    font-weight:700
}

.footer{
    width:100%;
    position:relative;
    padding:26px 0 30px;
    display:flex;
    justify-content:center
}

.footer-inner{
    width:90%;
    max-width:900px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    text-align:center;
    padding:14px 18px;
    border-radius:18px;
    background:rgba(20,20,20,.44);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 12px 40px rgba(0,0,0,.30);
    font-size:15px
}

.footer-inner a,
.footer-inner span{
    color:rgba(255,255,255,.95);
    text-decoration:none
}

.footer-inner a:hover{
    text-decoration:underline
}

.static-footer .footer{
    position:relative
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px 16px;
    margin-top:18px
}

.form-row{
    display:flex;
    flex-direction:column;
    gap:7px
}

.form-row-full{
    grid-column:1 / -1
}

.form-row label{
    font-size:14px;
    opacity:.95
}

.form-grid input,
.form-grid textarea,
.form-grid select{
    padding:12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(0,0,0,.25);
    color:#fff;
    font-size:15px;
    outline:none
}

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

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus{
    background:rgba(0,0,0,.32);
    border-color:rgba(255,255,255,.35)
}

.form-grid select{
    appearance:none;
    padding-right:36px;
    background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.9) 50%),linear-gradient(135deg,rgba(255,255,255,.9) 50%,transparent 50%);
    background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);
    background-size:6px 6px,6px 6px;
    background-repeat:no-repeat
}

.form-grid input[type="file"]{
    border:1px dashed rgba(255,255,255,.25);
    background:rgba(0,0,0,.22)
}

.form-grid small{
    font-size:13px;
    opacity:.8;
    margin-top:6px
}

.form-row.form-check{
    display:grid;
    grid-template-columns:22px 1fr;
    gap:14px;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(0,0,0,.22);
    border:1px solid rgba(255,255,255,.18)
}

.form-row.form-check input{
    width:18px;
    height:18px;
    margin-top:2px
}

.form-row.form-check label{
    font-size:14px;
    line-height:1.4
}

.form-row.form-check a{
    color:#fff;
    text-decoration:underline
}

.service-choice-list{
    margin-top:28px;
    display:flex;
    flex-direction:column
}

.service-choice{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 0;
    border-top:1px solid rgba(255,255,255,.22);
    color:#fff;
    text-decoration:none
}

.service-choice:last-child{
    border-bottom:1px solid rgba(255,255,255,.22)
}

.service-choice strong{
    display:block;
    font-size:18px;
    margin-bottom:5px
}

.service-choice small{
    display:block;
    color:rgba(255,255,255,.82);
    font-size:14px;
    line-height:1.45
}

.service-choice em{
    flex:0 0 auto;
    padding:9px 13px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.16);
    color:#fff;
    font-style:normal;
    font-weight:700;
    font-size:14px;
    transition:.2s ease
}

.service-choice:hover em{
    background:rgba(255,255,255,.26)
}

.service-choice-footer{
    margin-top:22px
}

.online-service-board{
    display:grid;
    gap:20px;
    margin-top:28px
}

.online-service-main{
    display:grid;
    gap:12px;
    padding:24px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.24);
    background:rgba(0,0,0,.28);
    color:#fff;
    box-shadow:0 14px 34px rgba(0,0,0,.22);
    transition:transform .2s ease, background .2s ease, border-color .2s ease
}

.online-service-main:hover{
    transform:translateY(-2px);
    background:rgba(0,0,0,.34);
    border-color:rgba(255,255,255,.38)
}

.service-kicker{
    width:max-content;
    max-width:100%;
    padding:7px 11px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.20);
    color:rgba(255,255,255,.88);
    font-size:13px;
    font-weight:700
}

.online-service-main strong{
    font-size:24px;
    line-height:1.25;
    max-width:780px
}

.online-service-main small{
    max-width:760px;
    color:rgba(255,255,255,.84);
    font-size:15px;
    line-height:1.55
}

.online-service-main em{
    justify-self:start;
    margin-top:4px;
    padding:10px 14px;
    border-radius:12px;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    font-style:normal;
    font-weight:700
}

.online-service-secondary{
    display:flex;
    flex-direction:column
}

.services-overview{
    max-width:100%;
    width:100%
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:18px;
    margin-top:28px
}

.service-card{
    display:grid;
    grid-template-columns:1fr;
    grid-column:span 2;
    min-height:285px;
    overflow:hidden;
    color:#fff;
    text-decoration:none;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.20);
    background:rgba(0,0,0,.22);
    box-shadow:0 10px 28px rgba(0,0,0,.18);
    transition:transform .2s ease, background .2s ease, border-color .2s ease
}

.service-card:hover{
    transform:translateY(-2px);
    background:rgba(0,0,0,.30);
    border-color:rgba(255,255,255,.34)
}

.service-card img{
    width:100%;
    height:150px;
    min-height:150px;
    object-fit:cover;
    object-position:center;
    display:block
}

.service-card span{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:8px;
    padding:18px;
    min-width:0
}

.service-card strong{
    display:block;
    font-size:18px
}

.service-card small{
    display:block;
    color:rgba(255,255,255,.84);
    font-size:14px;
    line-height:1.45;
    overflow-wrap:break-word
}

.service-card em{
    color:#fff;
    font-style:normal;
    font-size:14px;
    font-weight:700;
    opacity:.95
}

/* Angebotsrechner */
.offer-calculator{
    margin-top:26px
}

.calculator-progress{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:8px
}

.progress-pill{
    padding:8px 11px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(0,0,0,.16);
    color:rgba(255,255,255,.72);
    font-size:13px;
    font-weight:700
}

.progress-pill.is-active,
.progress-pill.is-complete{
    background:rgba(255,255,255,.16);
    color:#fff;
    border-color:rgba(255,255,255,.28)
}

.offer-step{
    padding:20px 0;
    border-top:1px solid rgba(255,255,255,.20)
}

.offer-step.is-active{
    border-top-color:rgba(255,255,255,.30)
}

.offer-step h2,
.offer-result h2,
.calculator-request h2{
    margin-top:0
}

.step-copy{
    margin-top:0;
    font-size:15px;
    opacity:.86
}

.calc-option-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap
}

.calc-option{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(0,0,0,.22);
    cursor:pointer
}

.calc-option input{
    width:18px;
    height:18px;
    margin:0
}

.calc-option span{
    font-size:15px;
    font-weight:700
}

.calculator-grid{
    margin-top:12px
}

.calculator-actions{
    margin-top:14px
}

.calculator-hint{
    margin-top:14px;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.20);
    background:rgba(0,0,0,.18);
    color:rgba(255,255,255,.86);
    font-size:14px;
    line-height:1.45
}

.calculator-hint:empty{
    display:none
}

.travel-grid{
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.14)
}

.calc-input-inline{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px
}

.calc-input-inline span{
    min-width:46px;
    padding:12px;
    border-radius:12px;
    background:rgba(0,0,0,.22);
    border:1px solid rgba(255,255,255,.18);
    color:rgba(255,255,255,.92);
    text-align:center;
    font-size:14px
}

.calc-lines{
    display:grid;
    gap:16px;
    margin-top:14px
}

.calc-line{
    padding:16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.20);
    background:rgba(0,0,0,.22)
}

.calc-line-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px
}

.calc-line-title{
    font-size:16px
}

.calc-remove{
    flex:0 0 auto;
    padding:8px 10px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.20);
    background:rgba(255,255,255,.10);
    color:#fff;
    font-weight:700;
    cursor:pointer
}

.calc-remove:hover{
    background:rgba(255,255,255,.18)
}

.calc-line-grid{
    margin-top:0
}

.form-row.is-missing label{
    opacity:1
}

.form-row.is-missing input,
.form-row.is-missing select{
    border-color:rgba(255,255,255,.48);
    background:rgba(255,255,255,.10)
}

.line-fields{
    grid-column:1 / -1
}

.calc-field-grid{
    margin-top:0
}

.calc-field-note{
    padding:12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(0,0,0,.18);
    color:rgba(255,255,255,.82);
    font-size:13px;
    line-height:1.45
}

.offer-result{
    padding:20px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(0,0,0,.24)
}

.result-list{
    margin:10px 0 0;
    display:grid;
    gap:10px
}

.result-list div{
    display:grid;
    grid-template-columns:minmax(130px, .45fr) 1fr;
    gap:14px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,.14)
}

.result-list dt{
    color:rgba(255,255,255,.72);
    font-size:14px
}

.result-list dd{
    margin:0;
    font-size:15px;
    line-height:1.45
}

.result-lines{
    display:grid;
    gap:10px;
    margin-top:16px
}

.result-line{
    display:grid;
    grid-template-columns:1fr auto;
    gap:6px 14px;
    padding:12px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(0,0,0,.18)
}

.result-line strong{
    font-size:15px;
    line-height:1.35
}

.result-line span{
    color:rgba(255,255,255,.90);
    font-weight:700;
    text-align:right
}

.result-line small{
    grid-column:1 / -1;
    color:rgba(255,255,255,.76);
    font-size:13px;
    line-height:1.4
}

.result-adjustment{
    border-color:rgba(255,255,255,.24);
    background:rgba(255,255,255,.08)
}

.result-total{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.22)
}

.result-total span{
    color:rgba(255,255,255,.84);
    font-size:15px
}

.result-total strong{
    font-size:28px;
    line-height:1;
    text-align:right
}

.result-note{
    margin:16px 0;
    font-size:14px;
    opacity:.86
}

.button:disabled{
    opacity:.55;
    cursor:not-allowed
}

.calculator-request{
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.22)
}

.request-summary{
    white-space:pre-line;
    padding:14px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(0,0,0,.22);
    color:rgba(255,255,255,.92);
    font-size:14px;
    line-height:1.5
}

.summary-hidden,
.is-hidden{
    display:none
}

.hp-field,
.hp-field input{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none
}

@media (max-width:850px){
    :root{--nav-height:160px}
    .hamburger-menu{top:60px}
    .logo{top:34px}
    .nav-logo-img{width:220px}
    .glass-box-inner{flex-direction:column}
    .img-block{width:100%;height:220px}
    .form-grid{grid-template-columns:1fr}
    .service-choice{align-items:flex-start}
    .result-list div{
        grid-template-columns:1fr
    }
    .result-total{
        align-items:flex-start;
        flex-direction:column
    }
    .services-grid{
        display:grid;
        grid-template-columns:minmax(0,1fr) !important;
        gap:16px;
        overflow:visible;
        padding:0;
        margin-left:0;
        margin-right:0
    }
    .service-card{
        grid-template-columns:1fr;
        min-height:auto;
        grid-column:1 / -1 !important;
        width:100%
    }
    .service-card img{
        height:170px;
        min-height:170px
    }
}

@media (max-width:520px){
    :root{--nav-height:150px}
    .hamburger-menu{font-size:30px}
    .hamburger-label{font-size:18px}
    h1{font-size:28px}
    h2{font-size:20px}
    .button{width:100%;text-align:center}
    .img-block{height:200px}
    .leistungen-page .text-block{padding:28px}
    .service-choice{flex-direction:column}
    .service-choice em{width:100%;text-align:center}
    .calc-option{width:100%}
    .online-service-main{
        padding:18px
    }
    .online-service-main strong{
        font-size:20px
    }
    .online-service-main em{
        width:100%;
        text-align:center
    }
    .calc-line{
        padding:14px
    }
    .calc-line-header{
        align-items:flex-start;
        flex-direction:column
    }
    .calc-remove{
        width:100%
    }
    .result-line{
        grid-template-columns:1fr
    }
    .result-line span{
        text-align:left
    }
}
.glass-box-inner.single{
    justify-content:center
}

.glass-box-inner.single .text-block{
    max-width:900px;
    width:100%;
    padding:45px
}
.button{
    padding:10px 16px;
    font-size:16.5px;
    border-radius:14px;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    font-weight:700;
    text-decoration:none;
    backdrop-filter:blur(8px);
    transition:.2s ease
}
/* Fix: Inputs in CSS-Grid dürfen auf Mobile schrumpfen (iOS/Safari) */
.form-grid { width: 100%; }
.form-row { min-width: 0; }
.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-width: 0;
}
@media (max-width:520px){
    .glass-box-inner.single .text-block{ padding:28px; }
  }
