/* Alpine Service Switzerland GmbH – Website V1.0
   Statisch, ohne Framework, ohne externe Ressourcen. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color-scheme: light;
  --white: #FFFFFF;
  --paper: #F6F5F2;          /* warmes Weiss */
  --ink: #15202B;            /* sehr dunkles Blau */
  --navy: #0C1A28;
  --anthracite: #2E3237;
  --slate: #5A6570;
  --line: #E3E1DC;
  --gold: #B48A4E;           /* dezenter Gold-/Bronzeakzent */
  --gold-soft: #CBA873;
  --gold-text: #8A6734;      /* dunklerer Bronzeton für kleine Schrift (WCAG ≥ 4,5:1) */
  --swiss-red: #D52B1E;
  --side: clamp(20px, 4vw, 64px);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
@media (max-width: 960px) { [id] { scroll-margin-top: 80px; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--side); padding-right: var(--side); }
.caps { text-transform: uppercase; letter-spacing: 0.28em; font-size: 12.5px; font-weight: 500; }
.gold-rule { display: block; width: 56px; height: 2px; background: var(--gold); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--ink); padding: 8px 12px; }

/* ---------- Header (weisser Corporate-Header) ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; height: 88px; padding: 0 var(--side); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; color: var(--navy); }
.brand { flex-shrink: 0; }
.brand-logo { display: block; height: 44px; width: auto; flex-shrink: 0; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.main-nav a { text-decoration: none; font-size: 14.5px; font-weight: 400; letter-spacing: 0.02em; color: var(--anthracite); }
.main-nav a:hover { color: var(--gold-text); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.08em; padding-left: 28px; border-left: 1px solid var(--line); }
.lang .on { font-weight: 600; color: var(--navy); }
.lang .off { color: #6B7580; cursor: default; }
.lang .sep { color: #9AA3AC; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; padding: 10px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 1.5px; background: currentColor; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -7px; } .menu-btn span::after { position: absolute; top: 7px; }

@media (max-width: 960px) {
  .header-row { height: 72px; }
  .menu-btn { display: block; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
              background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(12,26,40,0.35); padding: 8px var(--side) 24px; margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .lang { border-left: 0; padding: 16px 0 0; }
}
@media (max-width: 960px) { .brand-logo { height: 36px; } .header-row { gap: 12px; } }
@media (max-width: 374px) { .brand-logo { height: 34px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); min-height: clamp(560px, calc(100vh - 88px), 793px); display: flex; align-items: center;
        background: var(--navy); overflow: hidden; }
.hero-media, .quote-media { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; }
/* nie über die Originalbreite hinaus vergrössern: auf sehr breiten Bildschirmen Bild mittig, Ränder weich in Dunkelblau */
@media (min-width: 1984px) { .hero-media { width: 1983px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); } }
@media (min-width: 1943px) { .quote-media { width: 1942px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,26,0.84) 0%, rgba(8,16,26,0.74) 40%, rgba(8,16,26,0.50) 60%, rgba(8,16,26,0.30) 78%, rgba(8,16,26,0.45) 100%),
              linear-gradient(180deg, rgba(8,16,26,0.25) 0%, rgba(8,16,26,0) 30%, rgba(8,16,26,0.35) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
              padding: clamp(72px, 9vh, 112px) var(--side); }
.hero h1 { font-weight: 300; font-size: clamp(38px, 5.2vw, 76px); line-height: 1.05; letter-spacing: -0.01em; }
.hero-sub { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: rgba(255,255,255,0.86); font-weight: 400; }
.hero .gold-rule { margin-top: 36px; }
.hero-claim { margin-top: 18px; color: rgba(255,255,255,0.82); }
.hero-aside { text-align: left; display: flex; flex-direction: column; gap: 18px; padding-bottom: 8px; }
.hero-aside p { line-height: 2; }
.swiss-mark { width: 30px; height: 30px; background: var(--swiss-red); position: relative; }
.swiss-mark::before, .swiss-mark::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.swiss-mark::before { width: 18.75%; height: 62.5%; } .swiss-mark::after { width: 62.5%; height: 18.75%; }
@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero-media img { object-position: 57% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(8,16,26,0.78) 0%, rgba(8,16,26,0.70) 55%, rgba(8,16,26,0.80) 100%); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 56px; gap: 36px; }
  .hero-aside { flex-direction: row; align-items: center; gap: 16px; }
  .hero-aside p { line-height: 1.7; }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; }
.section-head .caps { margin-top: 16px; color: var(--gold-text); }

/* Geschaeftsbereiche */
.areas-wrap { width: 100%; padding: 0 clamp(10px, 1vw, 16px); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.area { position: relative; display: block; aspect-ratio: 8 / 7; overflow: hidden; color: var(--white); text-decoration: none; background: var(--anthracite); }
.area-media { position: absolute; inset: 0; }
.area-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; }
.area-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,16,26,0.88) 0%, rgba(8,16,26,0.66) 30%, rgba(8,16,26,0.18) 58%, rgba(8,16,26,0.10) 72%, rgba(8,16,26,0.50) 100%); }
.area-house   { --pos: 38%; }
.area-fleet   { --pos: 50%; }
.area-swissmm { --pos: 25%; }
.area-web     { --pos: 40%; }
.area-body { position: relative; z-index: 1; padding: 28px 26px; display: flex; flex-direction: column; height: 100%; }
.area h3 { font-weight: 500; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; letter-spacing: 0.01em; }
.area p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.86); max-width: 260px; }
.area-arrow { margin-top: auto; color: var(--gold-soft); font-size: 26px; line-height: 1; transition: transform .2s; }
a.area:hover .area-arrow, a.area:focus-visible .area-arrow { transform: translateX(6px); }
a.area:focus-visible { outline-offset: -3px; }
.area-ext { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1100px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area { aspect-ratio: 4 / 3.4; } .area-house { --pos: 35%; } }
@media (max-width: 600px) { .areas { grid-template-columns: minmax(0, 1fr); } .area { aspect-ratio: 4 / 3.2; } }

/* Unternehmen */
.company { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.company h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.12; }
.company .gold-rule { margin-top: 28px; }
.company-lead { margin-top: 24px; font-size: 18px; line-height: 1.65; color: var(--slate); max-width: 420px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 32px; }
.value-icon { display: block; width: 30px; height: 30px; margin-bottom: 12px; }
.value .num { font-size: 12.5px; letter-spacing: 0.2em; color: var(--gold-text); font-weight: 600; }
.value h3 { margin-top: 12px; font-size: 20px; font-weight: 500; }
.value p { margin-top: 8px; color: var(--slate); font-size: 15.5px; }
@media (max-width: 900px) { .company-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .value, .value:nth-child(odd), .value:nth-child(even) { padding: 26px 0; border-right: 0; }
}

/* Zitat-Banner */
.quote { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; object-position: 15% 45%; }
.quote-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,26,0.10) 0%, rgba(8,16,26,0.30) 40%, rgba(8,16,26,0.72) 62%, rgba(8,16,26,0.84) 100%); }
.quote-inner { position: relative; z-index: 1; min-height: clamp(360px, 38vw, 520px); display: flex; align-items: center; justify-content: flex-end; padding: 72px var(--side); }
.quote blockquote { margin: 0; max-width: 620px; }
.quote blockquote p { font-weight: 300; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; }
.quote .gold-rule { margin-top: 32px; }
.quote footer { margin-top: 18px; color: rgba(255,255,255,0.8); }
@media (max-width: 700px) { .quote-inner { justify-content: flex-start; align-items: flex-end; } .quote-media img { object-position: 5% 50%; } .quote-media::after { background: linear-gradient(180deg, rgba(8,16,26,0.20) 0%, rgba(8,16,26,0.55) 45%, rgba(8,16,26,0.86) 100%); } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-weight: 300; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; }
.contact .gold-rule { margin-top: 28px; }
.contact-lead { margin-top: 28px; font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--navy); max-width: 440px; }
.contact-text { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--slate); max-width: 440px; }
.contact address { font-style: normal; font-size: 18px; line-height: 1.75; }
.contact-links { margin-top: 24px; display: grid; gap: 10px; font-size: 18px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 10px; display: flex; gap: 16px; }
.contact-links a:hover { color: var(--gold-text); }
.contact-links .k { min-width: 104px; flex-shrink: 0; color: var(--slate); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 4px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3.5vw, 44px); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font: 500 15px/1.2 var(--font);
       letter-spacing: 0.02em; text-decoration: none; border: 1px solid var(--navy); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--anthracite); border-color: var(--anthracite); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { border-color: var(--gold); color: var(--ink); }
.cc-actions .btn { flex: 1 1 auto; }
@media (max-width: 600px) { .contact-links a { flex-direction: column; gap: 2px; } .contact-links .k { padding-top: 0; } .cc-actions { flex-direction: column; } .cc-actions .btn { width: 100%; white-space: normal; text-align: center; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: 40px; }
.footer-logo { display: block; width: 220px; max-width: 100%; height: auto; }
.site-footer address { font-style: normal; margin-top: 14px; line-height: 1.75; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-h { color: var(--white); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.6); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Rechtstexte */
.legal { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-weight: 300; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
.legal .stand { margin-top: 10px; color: var(--slate); font-size: 14px; }
.legal h2 { margin-top: 40px; font-size: 19px; font-weight: 600; }
.legal p, .legal address, .legal li { margin-top: 12px; color: #3A4652; font-size: 16px; line-height: 1.7; font-style: normal; }
.legal ul { padding-left: 1.2em; margin: 8px 0 0; }
.legal a { color: var(--ink); }
.legal mark.todo { background: #FFF1B8; color: #6B4E00; padding: 1px 4px; border-radius: 3px; font-size: 14px; }
