@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* 8thsense house style — generated, do not edit by hand.
   Source of truth: automation-agency/templates/design-system.md */

:root {
  --color-primary:    #0F172A;
  --color-secondary:  #334155;
  --color-cta:        #0369A1;
  --color-cta-hover:  #075985;
  --color-accent:     #b87333;
  --color-bg:         #F8FAFC;
  --color-surface:    #FFFFFF;
  --color-border:     #E2E8F0;
  --color-text:       #020617;
  --color-muted:      #475569;
  --color-success:    #15803D;
  --color-danger:     #B91C1C;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --space-1: 0.5rem;  --space-2: 1rem;   --space-3: 1.5rem;
  --space-4: 2rem;    --space-6: 3rem;   --space-8: 5rem;

  --radius:    0.5rem;
  --shadow-sm: 0 1px 2px rgb(2 6 23 / 0.06);
  --shadow-md: 0 4px 12px rgb(2 6 23 / 0.08);

  --container: 72rem;
  --header-h: 64px;

  --z-nav: 30; --z-overlay: 40; --z-modal: 50;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) { body { font-size: 1.125rem; } }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
  overflow-wrap: anywhere;
}

h1 { font-size: 2rem;    font-weight: 700; line-height: 1.15; }
h2 { font-size: 1.5rem;  font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

p { margin: 0 0 var(--space-2); color: var(--color-secondary); }
small, .small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--color-muted); }
.text-center { text-align: center; }

a { color: var(--color-cta); }
a:hover { color: var(--color-cta-hover); }

img, iframe, svg, video { max-width: 100%; }
img { height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-2); top: -4rem;
  z-index: var(--z-modal);
  background: var(--color-surface); color: var(--color-primary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  transition: top 200ms;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-2);
}

@media (min-width: 768px) { .container { padding-inline: var(--space-4); } }

.section { padding-block: var(--space-6); }
@media (min-width: 768px) { .section { padding-block: var(--space-8); } }

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

/* ---------- 8c-canvas-knobs ---------- */

section[data-8c-tone="muted"]  { background: var(--color-bg, #F8FAFC); }
section[data-8c-tone="accent"] { background: color-mix(in srgb, var(--color-accent, #0369A1) 10%, var(--color-surface, #FFFFFF)); }
section[data-8c-tone="dark"]   { background: var(--color-primary, #0F172A); color: #F8FAFC; }
section[data-8c-tone="dark"] :is(h1, h2, h3, h4, p, li, dt, dd, blockquote) { color: inherit; }
section[data-8c-tone="dark"] a:not(.btn) { color: #BFDBFE; }
section[data-8c-tone="dark"] .card { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.14); }

/* Scale moves the whole section's type together, so headings keep their
   relationship to body text instead of drifting apart. */
section[data-8c-scale="sm"] { font-size: 0.9375rem; }
section[data-8c-scale="lg"] { font-size: 1.0625rem; }
section[data-8c-scale="xl"] { font-size: 1.1875rem; }
section[data-8c-scale="lg"] :is(h1, h2) { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
section[data-8c-scale="xl"] :is(h1, h2) { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); }
section[data-8c-scale="sm"] :is(h1, h2) { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }


/* ---------- 8c-canvas-blocks ---------- */

/* Column count, set from the canvas. One column on a phone, always.
   The selector is doubled on purpose: the element it lands on usually also
   carries .grid--3 from the generator, and at equal specificity whichever rule
   comes last in the file would win — which is the wrong one half the time. */
[data-8c-cols] { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  [data-8c-cols="2"][data-8c-cols],
  [data-8c-cols="3"][data-8c-cols],
  [data-8c-cols="4"][data-8c-cols] { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  [data-8c-cols="1"][data-8c-cols] { grid-template-columns: 1fr; }
  [data-8c-cols="2"][data-8c-cols] { grid-template-columns: repeat(2, 1fr); }
  [data-8c-cols="3"][data-8c-cols] { grid-template-columns: repeat(3, 1fr); }
  [data-8c-cols="4"][data-8c-cols] { grid-template-columns: repeat(4, 1fr); }
}

/* Call-to-action band */
.cta-band { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center;
  justify-content: space-between; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Compact icon grid */
.icon-grid { list-style: none; margin: 0; padding: 0; }
.icon-grid__item { display: flex; gap: var(--space-2); align-items: center;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--space-2); font-weight: 600; }
.icon-grid__icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--color-cta); }
.icon-grid__icon svg { width: 100%; height: 100%; }

/* Team */
.team-card { text-align: center; }
.team-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--space-2); }

/* Gallery and logos */
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.logos { align-items: center; }
.logos__item { width: 100%; max-width: 160px; margin: 0 auto; opacity: 0.75;
  filter: grayscale(1); transition: opacity 0.2s ease, filter 0.2s ease; }
.logos__item:hover { opacity: 1; filter: none; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.step { display: flex; gap: var(--space-2); align-items: flex-start; }
.step__num { flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-cta); color: #fff; font-family: var(--font-heading);
  font-weight: 700; }
.step__title { margin-bottom: 0.25rem; font-size: 1.0625rem; }

/* FAQ — <details>, so it works with JavaScript switched off */
.faq { display: grid; gap: var(--space-1); }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-surface); padding: var(--space-2) var(--space-3); }
.faq__question { font-family: var(--font-heading); font-weight: 600; cursor: pointer;
  color: var(--color-primary); }
.faq__question::marker { color: var(--color-cta); }
.faq__answer { margin: var(--space-1) 0 0; color: var(--color-secondary); }

/* Callout */
.callout { display: flex; gap: var(--space-2); align-items: flex-start;
  border-inline-start: 4px solid var(--color-cta); background: var(--color-surface);
  border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow-sm); }
.callout__icon { flex: 0 0 24px; width: 24px; height: 24px; color: var(--color-cta); }
.callout__icon svg { width: 100%; height: 100%; }
.callout h3 { margin-bottom: 0.25rem; }
.callout p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--color-surface); }
.table th, .table td { text-align: start; padding: 0.625rem var(--space-2);
  border-bottom: 1px solid var(--color-border); }
.table thead th { font-family: var(--font-heading); color: var(--color-primary);
  background: var(--color-bg); }
.table tbody tr:last-child td { border-bottom: 0; }

/* Packages */
.price { display: flex; flex-direction: column; }
.price__value { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
  color: var(--color-primary); margin-bottom: var(--space-2); }
.price__list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid;
  gap: var(--space-1); }
.price__list li { display: flex; gap: 0.5rem; align-items: flex-start;
  color: var(--color-secondary); }
.price__list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--color-success); }
.price .btn { margin-top: auto; }

/* The honeypot field of the app stacks' contact form. It was styled by nothing
   at all, which made the trap for bots a visible input for people. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Single image and embeds */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.figure figcaption { margin-top: var(--space-1); color: var(--color-muted); font-size: 0.875rem; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--color-bg); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


.section__head { max-width: 65ch; margin-bottom: var(--space-4); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { color: var(--color-muted); font-size: 1.0625rem; }

.prose { max-width: 65ch; }
.prose ul { padding-inline-start: 1.25rem; color: var(--color-secondary); }
.prose li { margin-bottom: var(--space-1); }

.grid { display: grid; gap: var(--space-3); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-h);
}

.brand {
  min-width: 0;
  font-family: var(--font-heading); font-weight: 700;
  color: var(--color-primary); text-decoration: none;
  font-size: 1.125rem; line-height: 1.2;
}
.brand span { display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 0.75rem; color: var(--color-muted); }

/* Language switch — two or three letters, so it reads as a pair of states
   rather than a menu. It sits beside the burger and stays visible when the
   navigation is collapsed, because a visitor on a phone is exactly who needs it. */
/* A menu entry with an icon is still a menu entry: the icon sits with the word,
   never instead of it, so the navigation reads the same to a screen reader. */
.nav__link { display: inline-flex; align-items: center; gap: .4em; }
.nav__icon-slot { display: inline-flex; }
.nav__icon-slot svg { width: 1em; height: 1em; }

.lang-switch { display: inline-flex; gap: 2px; padding: 2px;
  border: 1px solid var(--color-border); border-radius: 6px;
  background: var(--color-surface); }
.lang-switch__option { min-width: 2.25rem; min-height: 2rem; padding: 0 .5rem;
  border: 0; border-radius: 4px; background: transparent; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--color-muted); }
.lang-switch__option:hover { color: var(--color-text); }
.lang-switch__option[aria-current='true'] { background: var(--color-cta); color: #fff; }
.lang-switch__option:focus-visible { outline: 2px solid var(--color-cta); outline-offset: 1px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--color-border);
  border-radius: var(--radius); color: var(--color-primary);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }

.nav { display: none; }
.nav[data-open='true'] {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
}

.nav__list { list-style: none; margin: 0; padding: 0; display: flex;
  flex-direction: column; gap: var(--space-1); }

.nav__link {
  /* Not 'block': this rule comes after the icon rule above and has the same
     specificity, so 'display: block' won and took 'gap' with it — an entry with
     an icon rendered the glyph flush against its word ("🕐Unsere Geschichte").
     The layout lives here, where it cannot be overridden by accident. */
  display: inline-flex; align-items: center; gap: .4em;
  padding: var(--space-1) var(--space-2);
  /* A long company name squeezes the bar; the labels must not break mid-word. */
  white-space: nowrap;
  color: var(--color-primary); text-decoration: none; font-weight: 500;
  border-radius: var(--radius);
  transition: background-color 200ms, color 200ms;
}
.nav__link:hover { background: var(--color-bg); color: var(--color-cta); }
.nav__link[aria-current='page'] { color: var(--color-cta); }

.site-header .btn { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  /* flex, not block: the app stacks render their links straight into .nav
     (there is no <ul> to lay them out), and a static site's .nav__list is
     simply one flex item. Both end up as a row with the same gaps. */
  .nav, .nav[data-open='true'] {
    display: flex; align-items: center; gap: var(--space-1);
    position: static; box-shadow: none;
    border: 0; padding: 0; background: none;
  }
  .nav__list { flex-direction: row; align-items: center; gap: var(--space-1); }
  .site-header .btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-1);
  min-height: 44px; min-width: 44px;
  padding: 0.75rem var(--space-3);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}

.btn--primary { background: var(--color-cta); color: #fff; }
.btn--primary:hover { background: var(--color-cta-hover); color: #fff; }

.btn--secondary {
  background: transparent; color: var(--color-cta);
  border-color: var(--color-cta);
}
.btn--secondary:hover { background: var(--color-cta); color: #fff; }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Hero ---------- */

.hero { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.hero__inner { display: grid; gap: var(--space-4); align-items: center;
  padding-block: var(--space-6); }
@media (min-width: 1024px) {
  /* Two columns only when there is something to put in the second one — a hero
     without a picture used to reserve half the width for nothing. */
  .hero__inner { padding-block: var(--space-8); }
  .hero__inner--media { grid-template-columns: 1.1fr 1fr; }
}
.hero__lead { font-size: 1.125rem; color: var(--color-secondary); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-top: var(--space-3); }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Trust row ---------- */

.trust-bar {
  display: grid; gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
@media (min-width: 900px) { .trust-bar { grid-template-columns: repeat(4, 1fr); } }

.trust-item { display: flex; flex-direction: column; gap: 0.125rem;
  padding: var(--space-1) 0; }
.trust-item__value { font-family: var(--font-heading); font-weight: 700;
  color: var(--color-primary); font-size: 1.125rem; }
.trust-item__label { font-size: 0.875rem; color: var(--color-muted); }

.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem; border-radius: 999px;
  background: var(--color-bg); border: 1px solid var(--color-border);
  font-size: 0.875rem; color: var(--color-secondary);
}
.badge--success { color: var(--color-success); border-color: currentColor; }

.rating { display: inline-flex; align-items: center; gap: 0.375rem;
  font-weight: 600; color: var(--color-primary); }
.rating svg { width: 18px; height: 18px; color: #F59E0B; }

/* ---------- Cards ---------- */

.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  transition: box-shadow 200ms, border-color 200ms;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-cta); }

.card__icon { width: 40px; height: 40px; color: var(--color-cta);
  margin-bottom: var(--space-2); }
.card__icon svg { width: 100%; height: 100%; }
.card__title { margin-bottom: var(--space-1); }
.card__text { color: var(--color-secondary); margin-bottom: var(--space-2); }

/* Whole card clickable, with a real link for keyboard and crawlers. */
.card__link { font-weight: 600; text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid;
  gap: var(--space-2); }
.check-list__item { display: flex; gap: var(--space-2); align-items: flex-start;
  color: var(--color-secondary); }
.check-list__item svg { flex: 0 0 24px; width: 24px; height: 24px;
  color: var(--color-success); }

.area-list { list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-1); }
.area-list__item {
  padding: 0.25rem 0.75rem; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-secondary); font-size: 0.9375rem;
}

/* ---------- Contact, form, hours, map ---------- */

.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.form { display: grid; gap: var(--space-2); }
.form__field { display: grid; gap: 0.375rem; }
.form__label { font-weight: 600; color: var(--color-primary); font-size: 0.9375rem; }
.form__input {
  font: inherit; font-size: 1rem;
  padding: 0.75rem var(--space-2);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  background: var(--color-surface); color: var(--color-text);
  width: 100%;
}
.form__input:focus-visible { border-color: var(--color-cta); }
.form__input[aria-invalid='true'] { border-color: var(--color-danger); }
textarea.form__input { min-height: 8rem; resize: vertical; }

.form__error { color: var(--color-danger); font-size: 0.875rem;
  display: flex; gap: 0.375rem; align-items: center; min-height: 1.25rem; }
.form__error:empty { min-height: 0; }

/* Reserved so a result message never shifts the page. */
.form__status { min-height: 3rem; display: flex; align-items: center;
  gap: var(--space-1); font-size: 0.9375rem; }
.form__status[data-state='success'] { color: var(--color-success); }
.form__status[data-state='error'] { color: var(--color-danger); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 0.375rem 0;
  border-bottom: 1px solid var(--color-border); color: var(--color-secondary);
  font-weight: 400; }
.hours th { font-weight: 600; color: var(--color-primary); }

.map-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--color-border); background: var(--color-surface);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-facts { list-style: none; margin: 0 0 var(--space-3); padding: 0;
  display: grid; gap: var(--space-2); }
.contact-facts li { display: flex; gap: var(--space-2); align-items: flex-start;
  color: var(--color-secondary); }
.contact-facts svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--color-cta); }
.contact-facts a { text-decoration: none; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary); color: #E2E8F0;
  padding-block: var(--space-6);
  margin-top: var(--space-6);
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer p, .site-footer li { color: #CBD5E1; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__cols { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid;
  gap: var(--space-1); }

.site-footer__bottom {
  margin-top: var(--space-4); padding-top: var(--space-2);
  border-top: 1px solid rgb(255 255 255 / 0.15);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: space-between; font-size: 0.875rem;
}

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(12px);
  transition: opacity 300ms ease-out, transform 300ms ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
