@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --clr-bg: #faf9f7;
  --clr-surface: #ffffff;
  --clr-surface-alt: #f0eeeb;
  --clr-border: #e2dfdb;
  --clr-border-light: #eceae6;

  --clr-ink: #1a1a1a;
  --clr-ink-soft: #4a4a4a;
  --clr-ink-muted: #7a7a7a;

  --clr-accent: #0e7c7b;
  --clr-accent-light: #e6f4f4;
  --clr-accent-dark: #065a59;
  --clr-accent-glow: rgba(14,124,123,0.12);

  --clr-warm: #d4a853;
  --clr-warm-light: #fdf6e7;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);

  --max-w: 1120px;
  --gutter: 24px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--clr-ink);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--clr-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--clr-ink);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ================================================================
   REVEAL ANIMATION
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border-light);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}
.logo:hover { color: var(--clr-ink); }
.logo-mark {
  width: 44px;
  height: 44px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-ink-soft);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--clr-accent-light);
  color: var(--clr-accent-dark);
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--clr-surface-alt); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-ink);
  border-radius: 2px;
  position: absolute;
  left: 9px;
  transition: .3s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    padding: 12px var(--gutter);
    flex-direction: column;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--clr-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-accent-light);
  border: 1px solid rgba(14,124,123,0.15);
  border-radius: 100px;
  padding: 5px 16px 5px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-accent-dark);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--clr-accent);
}
.hero-tagline {
  font-size: 19px;
  color: var(--clr-ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero with image */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border-light);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-image { max-height: 300px; }
}

/* gallery with real images */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item--has-img {
  color: transparent;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.gallery-item {
  position: relative;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
}
.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--clr-accent-glow);
}
.btn--primary:hover {
  background: var(--clr-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--clr-accent-glow);
}
.btn--secondary {
  background: var(--clr-surface);
  color: var(--clr-ink);
  border: 1px solid var(--clr-border);
}
.btn--secondary:hover {
  background: var(--clr-surface-alt);
  transform: translateY(-1px);
  color: var(--clr-ink);
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .3s, transform .3s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--clr-accent);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: var(--clr-ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border-light);
  border-bottom: 1px solid var(--clr-border-light);
}

.section-header {
  max-width: 600px;
  margin-bottom: 40px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.section-header p {
  margin-top: 12px;
  color: var(--clr-ink-soft);
  font-size: 17px;
}

/* ================================================================
   CONTACT INFO STRIP
   ================================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
}
.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--clr-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.info-card-text {
  display: flex;
  flex-direction: column;
}
.info-card-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-ink-muted);
  margin-bottom: 4px;
}
.info-card-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-ink);
}
.info-card-value a {
  color: var(--clr-ink);
  text-decoration: none;
}
.info-card-value a:hover {
  color: var(--clr-accent);
}

/* ================================================================
   TEAMVIEWER BANNER
   ================================================================ */
.tv-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  flex-wrap: wrap;
}
.tv-banner h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}
.tv-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-top: 4px;
}
.tv-banner .btn {
  background: #fff;
  color: var(--clr-accent-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.tv-banner .btn:hover {
  background: var(--clr-accent-light);
  color: var(--clr-accent-dark);
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 16/10;
  background: var(--clr-surface-alt);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--clr-ink-muted);
  font-size: 14px;
  gap: 8px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.gallery-item:hover {
  box-shadow: var(--shadow-md);
}
.gallery-icon {
  font-size: 32px;
  opacity: .4;
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--clr-ink);
  background: var(--clr-surface);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   CONTACT PAGE LAYOUT
   ================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ================================================================
   HOURS TABLE
   ================================================================ */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border-light);
  font-size: 15px;
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--clr-ink);
}
.hours-table td:last-child {
  text-align: right;
  color: var(--clr-ink-soft);
}
.hours-table tr:last-child td {
  border-bottom: none;
}

/* ================================================================
   LEGAL / IMPRESSUM
   ================================================================ */
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border-light);
}
.legal-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.legal-content h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.legal-content p,
.legal-content li {
  color: var(--clr-ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--clr-ink);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.site-footer p {
  font-size: 14px;
  line-height: 1.6;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  text-align: center;
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ================================================================
   PAGE HEADER (for subpages)
   ================================================================ */
.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--clr-border-light);
}
.page-header h1 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.page-header p {
  color: var(--clr-ink-soft);
  font-size: 18px;
  margin-top: 8px;
}

/* ================================================================
   UTILITY
   ================================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-2 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
