/* AppsFromAlps – shared styles (rebuild of the former Wix site) */
/* Exact font files from the former Wix site */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/wix-bebas.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/wix-roboto-condensed.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Madefor"; src: url("../fonts/madefor-text-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Madefor"; src: url("../fonts/madefor-text-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --black: #0d0d0d;
  --dark: #1e1e1e;
  --grey: #636363;
  --grey-mid: #949494;
  --grey-light: #bfbfbf;
  --white: #ffffff;
  --blue-dark: #004f79;
  --blue: #0077b5;
  --blue-light: #67aace;
  --blue-pale: #9acce6;
  --orange: #ff9900;
  --red: #e6320f;
  --font-head: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --container: 1325px;
  --gutter: 58px;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0; background: var(--white); color: var(--black); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; margin: 0; line-height: 1.2; text-transform: uppercase; }
p { margin: 0; }
p + p { margin-top: 1em; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.head { font-family: var(--font-head); text-transform: uppercase; }
.center { text-align: center; }
.slashes { font-family: var(--font-head); font-weight: 700; letter-spacing: 0; line-height: 1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; background: var(--black); transition: opacity .4s ease, background-color .3s; }
.site-header.is-transparent { background: transparent; }
.site-header.is-transparent.is-scrolled { background: var(--black); }
.site-header.is-hidden { opacity: 0; pointer-events: none; }
.site-header .bar { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; }
.logo { position: absolute; left: 65px; top: 28px; font-family: var(--font-head); font-size: 20px; line-height: 16px; letter-spacing: 4px; color: var(--white); text-decoration: none; white-space: nowrap; }
.nav { position: absolute; right: 177px; top: 13px; height: 45px; display: flex; align-items: center; }
.nav a { color: var(--white); text-decoration: none; font-size: 16px; line-height: 18px; letter-spacing: .8px; padding: 0 51.3px 0 0; transition: color .2s; }
.nav a:last-child { padding-right: 52px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-light); }
.lang { position: absolute; right: 65px; top: 13px; }
.lang button { display: flex; align-items: center; width: 112px; height: 45px; padding: 0 14px; border: 0; border-radius: 7px; background: var(--white); color: var(--black); font: 16px/22.4px "Poppins", var(--font-body); cursor: pointer; }
.lang button img { width: 20px; height: 20px; margin-right: 8px; }
.lang button svg { width: 12px; height: 6px; margin-left: auto; fill: var(--black); transition: transform .2s; }
.lang.open button svg { transform: rotate(180deg); }
.lang ul { position: absolute; top: 49px; left: 0; width: 112px; margin: 0; padding: 4px 0; list-style: none; background: var(--white); border-radius: 7px; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: none; }
.lang.open ul { display: block; }
.lang li a { display: flex; align-items: center; gap: 8px; padding: 9px 14px; text-decoration: none; color: var(--black); font: 16px/22.4px "Poppins", var(--font-body); }
.lang li a:hover { background: #f2f2f2; }
.lang li img { width: 20px; height: 20px; }
.burger { display: none; position: absolute; right: 18px; top: 22px; width: 40px; height: 27px; padding: 0; border: 0; background: none; cursor: pointer; }
.burger svg { width: 40px; height: 27px; fill: var(--white); }
.mnav { position: fixed; inset: 0; z-index: 200; background: rgba(13,13,13,.8); }
.mnav[hidden] { display: none; }
.mnav-panel { position: absolute; inset: 0; background: var(--blue-dark); animation: mnav-in .35s ease; }
@keyframes mnav-in { from { opacity: 0; } to { opacity: 1; } }
.mnav .lang--m { right: auto; left: 13px; top: 20px; }
.mnav-close { position: absolute; right: 17px; top: 25px; width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.mnav-close svg { width: 20px; height: 20px; fill: var(--white); }
.mnav-list { position: absolute; left: 15px; right: 24px; top: 78px; display: flex; flex-direction: column; }
.mnav-list a { display: block; height: 54px; font: 40px/44px var(--font-head); text-transform: uppercase; color: var(--white); text-decoration: none; padding-top: 5px; }
.mnav-list a[aria-current="page"], .mnav-list a:hover { color: var(--blue-light); }
body.menu-open { overflow: hidden; }
main { display: block; }
.pad-header { padding-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 30px; border-radius: 50px; border: 1px solid transparent; background: var(--black); color: var(--white); font: 14px/1 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { background: var(--white); color: var(--black); border-color: var(--black); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }
.btn--navy { background: var(--blue-dark); }
.btn--navy:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--lg { min-height: 50px; font-size: 16px; padding: 0 40px; }
.btn--outline { background: transparent; border-color: currentColor; color: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding: 90px 0 216px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: start; padding: 0 137px 0 120px; max-width: 1440px; margin: 0 auto; }
.footer-brand p { font-size: 20px; line-height: 24px; }
.footer-brand p + p { margin-top: 11px; }
.footer-brand .wordmark { font-family: var(--font-head); font-size: 38px; letter-spacing: 7.6px; line-height: 114px; white-space: nowrap; }
.footer-brand .wordmark + p { margin-top: 0; }
.footer-brand p.addr { margin-top: 21px; }
.footer-brand a { text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-brand p.slashes { font-size: 150px; line-height: 165px; margin: 35px 0 0 -1px; }
.form-card { background: var(--blue-dark); border-radius: 16px; padding: 24px; color: var(--white); }
.form-card h2 { font-size: 21px; line-height: 31.5px; margin: 0 0 34.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: 18px; line-height: 25.2px; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field textarea { display: block; width: 100%; height: 40px; border: 0; border-radius: 6px; padding: 0 12px; font: 16px/24px var(--font-body); color: var(--black); background: var(--white); }
.field textarea { height: 92px; min-height: 92px; padding: 8px 12px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue-light); }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.form-actions .btn { width: 214px; min-height: 41px; height: 41px; border-radius: 100px; background: var(--blue); font-size: 16px; }
.form-actions .btn:hover { background: var(--white); color: var(--blue-dark); }
.form-status { font-size: 14px; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 137px 0 126px; max-width: 1440px; margin: 231px auto 0; font-size: 14px; line-height: 22.4px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; row-gap: 4px; padding-top: 6px; }
.footer-bottom nav a { margin: 0 34px 0 0; }
.footer-bottom p { line-height: 16px; }

/* ---------- Reveal animation (Wix-style fade/slide-in) ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Legal / text pages ---------- */
.text-page { padding: calc(var(--header-h) + 80px) 0 80px; }
.text-page h1 { font-size: 60px; margin-bottom: 30px; }
.text-page h2 { font-size: 32px; margin: 36px 0 12px; }
.text-page h3 { font-size: 24px; margin: 28px 0 10px; }
.text-page p, .text-page li { font-size: 16px; line-height: 1.6; }
.text-page ul { padding-left: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding-right: 28px; }
  .nav { right: 160px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav, .bar > .lang { display: none; }
  .burger { display: block; }
  .logo { left: 18px; top: 28px; font-size: 17px; line-height: 13.6px; letter-spacing: 3.4px; }
  .site-footer { padding: 27px 0 27px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); padding: 0 19px 0 18px; }
  .footer-brand { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 0 16px; margin-top: 11px; }
  .footer-bottom nav { padding-top: 0; }
  .footer-bottom nav a { margin-right: 30px; }
  .footer-bottom p { margin-top: 17px; line-height: 19.6px; }
  .text-page h1 { font-size: 42px; }
}

/* ---------- Einwilligung / Cookie-Banner (nach Vorlage junik.io) ---------- */
.cs-card { position: fixed; left: 24px; bottom: 24px; z-index: 300; max-width: 420px; background: var(--white); color: var(--black); border: 1px solid #e3e3e3; border-radius: 16px; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.18); animation: cs-in .35s ease; }
@keyframes cs-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cs-card h2, .cs-dialog h2 { font-size: 24px; line-height: 1.1; letter-spacing: .3px; }
.cs-card p { font-size: 14px; line-height: 1.45; color: #4a4a4a; margin-top: 8px; }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.cs-actions .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.cs-ghost { background: transparent; color: var(--black); border-color: transparent; }
.cs-ghost:hover { background: #f0f0f0; border-color: transparent; }
.cs-quiet { margin-top: 14px; font-size: 13px; color: #6b6b6b; }
.cs-card .cs-quiet { margin-top: 14px; font-size: 13px; }
.cs-quiet a, .cs-quiet button { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cs-quiet a:hover, .cs-quiet button:hover { color: var(--blue); }
.cs-dialog { width: min(640px, calc(100vw - 32px)); max-height: min(44rem, calc(100dvh - 48px)); overflow-y: auto; border: 1px solid #e3e3e3; border-radius: 16px; padding: 32px; color: var(--black); background: var(--white); }
.cs-dialog::backdrop { background: rgba(13,13,13,.55); }
.cs-lead { font-size: 14px; line-height: 1.45; color: #4a4a4a; margin: 8px 0 8px; }
.cs-cat { border-top: 1px solid #e3e3e3; padding: 18px 0; }
.cs-switch { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 16px; line-height: 1.35; }
.cs-switch input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue-dark); }
.cs-switch input:disabled { cursor: not-allowed; opacity: .55; }
.cs-muted { color: #6b6b6b; font-weight: 400; }
.cs-text { display: inline-block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: #4a4a4a; }
.cs-service { margin: 12px 0 0 32px; border-left: 1px solid #e3e3e3; padding-left: 14px; }
.cs-service > summary { cursor: pointer; font-size: 13px; color: #6b6b6b; list-style: none; }
.cs-service > summary::before { content: "›"; display: inline-block; margin-right: 6px; transition: transform .2s; }
.cs-service[open] > summary::before { transform: rotate(90deg); }
.cs-service > summary::-webkit-details-marker { display: none; }
.cs-service-body { font-size: 13px; line-height: 1.45; color: #4a4a4a; }
.cs-service-body p { margin-top: 8px; }
.cs-small { font-weight: 700; color: var(--black); }
.cs-table-wrap { overflow-x: auto; }
.cs-table { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; }
.cs-table th, .cs-table td { text-align: left; vertical-align: top; padding: 6px 12px 6px 0; border-bottom: 1px solid #e3e3e3; }
.cs-none { margin: 10px 0 0 32px; font-size: 13px; color: #6b6b6b; }
@media (max-width: 900px) {
  .cs-card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 20px; }
  .cs-dialog { padding: 22px; }
  .cs-service, .cs-none { margin-left: 0; }
}
