/* GENERATED FILE — do not edit directly.
   Edit assets/css/base.css or includes/sections/<type>/style.css, then
   save any content in the admin (or use "CSS neu erzeugen" on the
   Seiteninhalte tab) to regenerate this file. */

/* Optiker Hoppe — leichtbrille.com 2026 redesign — base styles
   Fonts, resets, buttons, header/nav, footer, legal pages and other rules
   shared across every section. Section-specific CSS lives next to its
   template in includes/sections/<type>/style.css — assets/css/style.css is
   assembled from this file + those on every admin save, do not edit it
   directly. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans/open-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1e2624;
  --ink-soft: #5b6a65;
  --paper: #faf7f2;
  --paper-alt: #f0ece1;
  --accent: #1f6f78;
  --accent-dark: #14505a;
  --line: #e4ddce;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(20, 40, 38, 0.28), 0 10px 24px -16px rgba(20, 40, 38, 0.16);
  --shadow-soft: 0 16px 40px -24px rgba(20, 40, 38, 0.22);
  --max: 1180px;
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1em;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--alt {
  background: var(--paper-alt);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand img {
  height: 40px;
  width: 40px;
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: all 0.2s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Shared utilities (used by several section templates) */
.center { text-align: center; }
.mt-3 { margin-top: 2rem; }

/* Footer */
.site-footer {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper-alt);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }

/* Legal pages */
.legal-page { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.legal-page h1 { margin-bottom: 1em; }

/* Responsive — header/nav chrome only; section-specific responsive rules
   live in each section's own style.css */
@media (max-width: 900px) {
  .main-nav, .header-actions .btn--ghost { display: none; }
  .nav-toggle { display: block; }
}

/* Mobile nav drawer */
body.nav-open .main-nav {
  display: block;
  position: fixed;
  inset: 80px 0 0 0;
  background: var(--paper);
  padding: 24px;
  overflow-y: auto;
}

body.nav-open .main-nav ul {
  flex-direction: column;
  gap: 0.25rem;
}

body.nav-open .main-nav a {
  display: block;
  padding: 0.9em 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

body.nav-open .header-actions .btn--ghost { display: none; }
