/* Twilight Rhetorik Tech Futuristic Style
   Brand Colors: #17326C (Primary Blue), #F8F2EB (Secondary Light), #8C4B18/#B25A14 (Accent/Neon Orange)
   Fonts: Montserrat (display), Open Sans (body)
*/

/*= RESET & NORMALIZE =*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    line-height: 1.5;
    min-height: 100vh;
    font-family: 'Open Sans', Arial, sans-serif;
    /* background: #10182f; */
    /* color: #F8F2EB; */
    /* A soft dark background as tech/futuristic base */
    font-size: 16px;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #B25A14;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
    color: #ffc78b;
}

/*=- SCROLLBAR (modern touch) -=*/
::-webkit-scrollbar{
  width: 8px; background: #17326C;
}
::-webkit-scrollbar-thumb{
  background: #8C4B18;
  border-radius: 8px;
}

/*= TYPOGRAPHY =*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #F8F2EB;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }

p, li, label, .subheadline, .service-price, .testimonial-meta,.contact-info div {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #10182f;
    font-size: 1rem;
}
footer div {
    color: white !important;
}
strong{font-weight:bold;}
small{font-size:0.9em;}

/* Visually highlight NEON ACCENT headings */
h1, h2, .cta-button {
  text-shadow: 0 0 4px #B25A14, 0 0 12px #8C4B1870;
}

.subheadline {
  font-size: 1.2rem;
  margin-bottom: 22px;
  color: #ffc78b;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-shadow: 0 0 6px #8C4B1860;
}

/* General spacing utilities (to avoid overlap) */
.section { margin-bottom: 60px; padding: 40px 20px; }
@media (max-width: 768px) { .section { padding: 30px 10px; } }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section,
.value-list,
.benefit-list,
.feature-list,
.step-by-step-overview {
  margin-bottom: 16px;
}
.value-list,
.benefit-list,
.feature-list {
  padding-left: 20px;
}
.value-list li,
.benefit-list li,
.feature-list li,
.step-by-step-overview li {
  margin-bottom: 10px;
}
.step-by-step-overview {
  padding-left: 18px;
}

/*= HEADER & NAVIGATION =*/
header {
    background: linear-gradient(90deg, #17326C 0%, #284d95 100%);
    box-shadow: 0 4px 26px #0c123035;
    z-index: 10;
    position: relative;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}
nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-family: 'Montserrat', Arial, sans-serif;
}
nav a {
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.20s;
    color: #F8F2EB;
    letter-spacing: 0.5px;
}
nav a:after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: #B25A14;
    margin-top: 4px;
    border-radius: 2px;
    transition: width 0.20s;
}
nav a:hover:after, nav a:focus:after {
    width: 100%;
}
nav a:focus {
    outline: 2px solid #B25A14; outline-offset: 3px;
}

header img {
    height: 42px;
    margin-right: 18px;
}

/* CTA BUTTON */
.cta-button {
    padding: 12px 28px;
    color: #fff;
    background: #B25A14;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-left: 18px;
    transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
    font-weight: 700;
    text-shadow: 0 0 10px #8C4B1855;
    letter-spacing: 1px;
    outline: none;
    display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
    background: #8C4B18;
    color: #ffc78b;
    transform: translateY(-2px) scale(1.03);
}

/* Header on mobile: burger only, hide nav */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: #F8F2EB;
    font-size: 2.2rem;
    cursor: pointer;
    margin-left: 24px;
    z-index: 160;
    display: none;
    transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: #B25A14;
}

@media (max-width: 1020px) {
    nav { gap: 14px; }
    header .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 880px) {
    nav { gap: 7px; }
    header img { height: 36px; }
    .cta-button { padding: 11px 16px; font-size: 1rem; }
}
@media (max-width: 768px) {
    nav { display: none; }
    .cta-button { margin-left: 0; }
    .mobile-menu-toggle { display: block; }
    header .container { min-height: 64px; }
}
    
/*= MOBILE MENU =*/
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16,24,47,0.98);
    box-shadow: 2px 0 40px #161d39ee;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(.53,.02,.42,1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}
.mobile-menu.active {
    transform: translateX(0%);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #ffc78b;
    font-size: 2.5rem;
    position: absolute;
    right: 26px; top: 18px;
    z-index: 2200;
    cursor: pointer;
    transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #B25A14;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 80px;
    width: 100%;
    gap: 14px;
}
.mobile-nav a {
    font-size: 1.25rem;
    color: #fff;
    padding: 16px 32px;
    border-radius: 0;
    width: 100%;
    transition: background .18s, color .14s;
}
.mobile-nav a:active, .mobile-nav a:focus {
    background: #17326C;
    color: #B25A14;
}
.mobile-nav a:hover {
    background: #B25A1430;
    color: #ffc78b;
}

@media (min-width: 769px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/*= HERO SECTIONS =*/
.hero {
    padding: 72px 0 58px 0;
    background: linear-gradient(90deg, #17326C 0%, #285ab0 100%);
    position: relative;
    box-shadow: 0 6px 30px #17326C40;
}
.hero h1, .hero .subheadline { color: #fff; }
.hero .cta-button {
    margin-top: 22px;
    font-size: 1.13rem;
    letter-spacing: 1.2px;
}
@media (max-width: 768px) {
    .hero { padding: 45px 0 30px 0; }
}

/*= SECTION STRUCTURE =*/
section {
    margin-bottom: 60px;
    padding: 40px 0 0 0;
}
.cta {
    background: linear-gradient(90deg, #285ab0 0%, #17326C 100%);
    padding: 42px 0 52px 0;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 8px 24px #285ab026;
    margin-bottom: 48px;
}

/*= FLEX COMPOSITES (MANDATORY!) =*/
.card-container, .service-cards, .feature-grid, .footer-menu, .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card, .feature-card, .service-card {
    margin-bottom: 20px;
    position: relative;
    border-radius: 18px;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #faf8f51e;
    color: #17233c;
    font-size: 1.09rem;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 16px #17326C24, 0 0 0 2px #F8F2EB22;
    transition: box-shadow .22s, transform .15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 6px 24px #B25A1450, 0 0 0 3px #B25A1433;
    transform: scale(1.018);
}
.testimonial-card blockquote {
    font-style: italic;
    color: #17326C;
    font-weight: 500;
    margin: 0;
}
.testimonial-meta {
    color: #8C4B18;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-left: 10px;
    font-weight: 600;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/*= CARDS, SERVICES, FEATURES =*/
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 18px;
}

.feature-card {
    flex: 1 1 240px;
    background: #112051;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 4px 26px #17326c26, 0 0 0 2px #285ab054;
    transition: box-shadow .18s, transform .12s;
    min-width: 210px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.feature-card img {
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 6px #B25A14b0);
}
.feature-card h3 { color: #fff; margin-bottom: 8px; }
.feature-card p { color: #e2eafe; }
.feature-card:before {
    content: "";
    position: absolute;
    bottom: -24px; right: -24px;
    width: 72px; height: 72px;
    background: radial-gradient(circle, #B25A1444 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.feature-card:hover, .feature-card:focus-within {
    box-shadow: 0 12px 38px #B25A145e, 0 0 0 3px #B25A1436;
    transform: translateY(-2px) scale(1.025);
}

/* Services Cards (Angebote, Cards) */
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 12px;
}
.service-card {
    flex: 1 1 298px;
    background: #fff1e652;
    color: #17326C;
    border-radius: 20px;
    padding: 30px 24px 28px 24px;
    box-shadow: 0 8px 42px #17326c43, 0 0 0 2px #fff1e616;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    transition: box-shadow .17s, transform .13s;
    min-width: 220px;
}
.service-card h2, .service-card h3 { color: #8C4B18; }
.service-card .service-price { color: #B25A14; font-weight: 600; margin: 12px 0 10px 0; font-size: 1.08rem; letter-spacing: 0.7px; }
.detail-button {
    display: inline-block;
    padding: 10px 22px;
    background: #17326C;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 21px;
    border: none;
    font-size: 1rem;
    text-shadow: 0 0 6px #17326C30;
    margin-top: 10px;
    transition: background 0.19s, color 0.14s, box-shadow 0.16s;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.7px;
}
.detail-button:hover,
.detail-button:focus {
    background: #8C4B18;
    color: #ffc78b;
    box-shadow: 0 4px 26px #8C4B1861;
}
.service-card:hover, .service-card:focus-within {
    box-shadow: 0 14px 36px #B25A1422, 0 0 0 2px #B25A141c;
    transform: scale(1.019);
}

.service-detail {
    background: #122340;
    color: #F8F2EB;
    padding: 26px 26px 32px 26px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 4px 18px #8C4B1828;
    display: flex; flex-direction: column; gap: 15px;
    align-items: flex-start;
}
.service-detail .service-price { color: #B25A14; font-weight: 600; }
.service-detail .cta-button { margin-top: 14px; }

/* SERVICES ULs & STEP LISTS */
.service-list { list-style: none; margin-bottom: 24px; }
.service-list li {
    margin-bottom: 28px;
    background: #22306344;
    border-radius: 13px;
    padding: 24px 20px 20px 20px;
}
.service-list h3 { color: #8C4B18; }
.dates-overview {
    color: #B25A14;
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #22306340;
  color: #F8F2EB;
  border-radius: 12px;
  padding: 15px 14px 16px 18px;
  margin: 10px 0 18px 0;
  box-shadow: 0 2px 12px #17326C18;
}

.address, .opening-hours, .directions {
  margin: 7px 0 18px 0;
  color: #e2eafe;
  font-size: 1rem;
  background: #122340;
  border-radius: 9px;
  padding: 14px;
}

/*= FOOTER =*/
footer {
    background: #10182f;
    border-top: 2px solid #17326C;
    padding-top: 38px;
    padding-bottom: 20px;
    position: relative;
    margin-top: 24px;
}
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 14px;
    align-items: center;
}
.footer-menu a {
    color: #B25A14;
    font-size: 1rem;
    text-shadow: 0 0 3px #B25A1416;
}
.footer-menu a:hover { color: #fff; text-decoration: underline; }

.contact-info {
    color: #F8F2EB;
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-info a { color: #B25A14; }
.contact-info a:hover, .contact-info a:focus { color: #fff; text-decoration: underline; }

.social-links {
    display: flex;
    gap: 18px;
    margin: 12px 0 6px 0;
    align-items: center;
}
.social-links img {
    width: 24px; height: 24px;
    opacity: 0.85;
    filter: drop-shadow(0 0 9px #B25A1439);
    transition: opacity 0.13s, filter 0.17s;
}
.social-links img:hover { opacity: 1; filter: drop-shadow(0 0 16px #B25A14); }
.footer-credits {
    color: #5062a7;
    font-size: 0.98rem;
    text-align: center;
    margin-top: 20px;
    letter-spacing: 0.34px;
}

/*= RESPONSIVE FLEX CONTAINERS =*/
@media (max-width: 1100px) {
    .feature-grid, .service-cards { gap: 16px; }
    .feature-card, .service-card { min-width: 200px; }
}
@media (max-width: 900px) {
    .feature-grid, .service-cards { flex-direction: column; gap: 18px; }
    .feature-card, .service-card { width: 100%; min-width: 0; }
}
@media (max-width: 750px) {
    .card-container, .service-cards, .feature-grid, .footer-menu, .social-links, .content-grid {
        flex-direction: column;
        gap: 18px;
    }
    .service-card, .feature-card, .service-detail { width: 100%; min-width: 0; }
    .testimonial-card { flex-direction: column; gap: 8px; align-items: flex-start; }
    .footer-menu { margin-bottom: 10px; }
}

/*= COOKIE CONSENT BANNER & MODAL =*/
#cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    z-index: 3000;
    background: #17326Ccc;
    color: #fff;
    box-shadow: 0 -2px 32px #10182f94;
    padding: 22px 10px 22px 10px;
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: cookieBannerIn .48s cubic-bezier(.49,.19,.17,1);
}
@keyframes cookieBannerIn {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
#cookie-banner p { margin: 0; flex: 1 1 auto; }
.cookie-btn {
    padding: 10px 20px;
    border-radius: 15px;
    background: #B25A14;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    margin-left: 13px;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px #B25A1425;
    transition: background 0.2s, color 0.17s, box-shadow 0.18s;
    font-weight: 600;
    outline: none;
}
.cookie-btn.reject {
    background: #223063;
    color: #ffc78b;
}
.cookie-btn.settings {
    background: #fff1e6;
    color: #17326C;
    border: 1px solid #B25A14;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #8C4B18;
    color: #ffc78b;
}
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        gap: 10px;
        font-size: 0.97rem;
        padding: 18px 10px 19px 10px;
    }
    #cookie-banner .cookie-btn {
        width: 100%; margin: 7px 0 0 0;
    }
}

/* Cookie Modal */
#cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14,23,36,0.93);
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .23s;
}
#cookie-modal.active {
    pointer-events: auto;
    opacity: 1;
}
.cookie-modal-content {
    background: #F8F2EB;
    color: #17326C;
    border-radius: 22px;
    padding: 38px 30px 28px 30px;
    min-width: 315px;
    max-width: 440px;
    box-shadow: 0 10px 60px #10182faa;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    animation: modalZoomIn 0.36s cubic-bezier(.53,.02,.42,1);
}
@keyframes modalZoomIn {
    from { transform: scale(0.9) translateY(40px); opacity: 0; }
    to   { transform: scale(1)   translateY(0);     opacity: 1; }
}
.cookie-modal-content h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.28rem;
    color: #8C4B18;
    margin-bottom: 10px;
}
.cookie-modal-content .close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #B25A14;
    position: absolute;
    top: 10px; right: 18px;
    cursor: pointer;
    transition: color 0.14s;
    z-index: 15;
}
.cookie-modal-content .close-modal:hover{ color: #17326C; }

.cookie-category {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #223063;
}
.cookie-toggle {
    appearance: none;
    width: 37px;
    height: 21px;
    background: #e9e9ee;
    border-radius: 12px;
    outline: none;
    transition: background 0.18s;
    position: relative;
    cursor: pointer;
    border: 1px solid #8C4B1899;
}
.cookie-toggle:checked {
    background: #B25A14;
}
.cookie-toggle:before {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 15px; height: 15px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.18s;
    box-shadow: 0 1px 3px #B25A1452;
}
.cookie-toggle:checked:before {
    transform: translateX(16px);
    background: #ffc78b;
}
.cookie-toggle[disabled], .cookie-toggle[readonly] {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 24px;
    justify-content: flex-end;
}
@media (max-width: 520px) {
    .cookie-modal-content {
        min-width: 92vw;
        max-width: 97vw;
        padding: 20px 4vw 15px 4vw;
    }
    .cookie-modal-actions {
        flex-direction: column;
        gap: 8px;
    }
}

/*= INTERACTIONS, EFFECTS, ANIMATION =*/
.card, .feature-card, .service-card, .testimonial-card, .service-detail {
    transition: box-shadow 0.18s, transform 0.13s;
}
.card:focus-within, .feature-card:focus-within, .service-card:focus-within, .testimonial-card:focus-within, .service-detail:focus-within {
    box-shadow: 0 10px 38px #B25A1450;
    outline: 2px solid #B25A14;
}

.button, button, input[type='submit'] {
    transition: background 0.18s, color 0.13s, box-shadow 0.18s;
    cursor: pointer;
    outline: none;
}

[tabindex]:focus { outline: 2px solid #B25A14; outline-offset: 2px; }

/* Focus states everywhere */
a:focus, button:focus, .cta-button:focus, .detail-button:focus {
    outline: 2px solid #8C4B18;
    outline-offset: 2px;
}
.card:focus, .feature-card:focus, .service-card:focus { outline: 2px solid #8C4B18; }

/* Forms, Inputs */
input, textarea, select {
    border-radius: 10px;
    border: 1px solid #B25A1410;
    padding: 11px 13px;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #fff;
    color: #17326C;
    transition: border-color 0.14s;
    margin-bottom: 16px;
    outline: none;
}
input:focus, textarea:focus, select:focus {
    border-color: #B25A14;
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
    .cta, .hero, .section { padding: 16px 4px; }
    .feature-card, .service-card { padding: 18px 11px; }
    .testimonials { padding: 16px 4px; }
}

/*= PRINT OPTIMIZATION =*/
@media print {
    body { background: #fff !important; color: #111 !important; }
    header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
    a { color: #111 !important; text-decoration: underline; }
}

/* Hide visually but accessibly (e.g., hidden menu) */
.visually-hidden {
  border: 0 !important; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
  white-space: nowrap;
}
