/* Effekt Werbung – Landingpage (no frameworks, no external assets) */

:root {
  --bg: #ffffff;
  --bg-muted: #f5f6f8;
  --surface: #ffffff;
  --text: #111827;
  --text-muted: #4b5563;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  --shadow-sm: 0 10px 26px rgba(17, 24, 39, 0.09);

  --accent: #d11f3a; /* kräftiges Rot */
  --accent-ink: #ffffff;
  --accent-soft: rgba(209, 31, 58, 0.12);

  --container: 1120px;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 76px;

  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-weight: 450;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-weight: 450;
}

h1,
h2,
h3 {
  font-weight: 850;
}

h2 {
  font-weight: 820;
}

h3 {
  font-weight: 780;
}

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

a {
  color: inherit;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  z-index: 2000;
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
}

/* Screen reader only */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  max-height: 50px;
  width: auto;
}

.brand-fallback {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 10px 10px;
  border-radius: 10px;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(17, 24, 39, 0.06);
  outline: none;
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle:focus-visible {
  outline: 3px solid rgba(209, 31, 58, 0.24);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 22px rgba(209, 31, 58, 0.22);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(0.97);
  outline: none;
}
.btn-secondary {
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.12);
  color: var(--text);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(17, 24, 39, 0.09);
  outline: none;
}
.btn-block {
  width: 100%;
}

/* Sections */
main {
  padding-bottom: 28px;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.section h2 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 70ch;
  font-weight: 450;
}

/* Hero */
.hero {
  padding: 62px 0 42px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--accent-soft);
  color: #8f1026;
  border: 1px solid rgba(209, 31, 58, 0.18);
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.92rem;
}

.hero h1 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.lead {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 70ch;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.trust {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.trust li {
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(17, 24, 39, 0.03);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 650;
  color: #1f2937;
  font-size: 0.95rem;
}

.hero-media {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.02));
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}
.card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #7f0e22;
  background: rgba(209, 31, 58, 0.10);
  border: 1px solid rgba(209, 31, 58, 0.16);
}
.card-icon svg {
  width: 18px;
  height: 18px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  text-decoration: none;
  color: #7f0e22;
}
.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Split / Panel */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  padding: 18px;
}
.panel-title {
  font-weight: 850;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
}
.checklist li {
  margin: 8px 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 16px 14px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ew-step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}
.step {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 14px 14px;
  position: relative;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.step::before {
  counter-increment: ew-step;
  content: counter(ew-step);
  position: absolute;
  top: -12px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(209, 31, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.step-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.step-text {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.10);
  border-color: rgba(17, 24, 39, 0.16);
}

/* subtle connector line for desktop */
@media (min-width: 901px) {
  .steps::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(209, 31, 58, 0.16),
      rgba(17, 24, 39, 0.10),
      rgba(209, 31, 58, 0.14)
    );
    border-radius: 999px;
    pointer-events: none;
  }
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}
.project-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.project-card h3 {
  margin: 14px 14px 8px;
  font-size: 1.05rem;
}
.project-card p {
  margin: 0 14px 14px;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 34px 0;
}
.cta-inner {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(209, 31, 58, 0.18);
  background: linear-gradient(180deg, rgba(209, 31, 58, 0.10), rgba(17, 24, 39, 0.01));
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
}
.cta-text {
  margin: 8px 0 0;
  color: var(--text-muted);
  max-width: 70ch;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.contact-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.contact-item {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
}
.contact-label {
  color: var(--text-muted);
  font-weight: 650;
  font-size: 0.92rem;
}
.contact-value {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  font-weight: 850;
}
.contact-value:hover,
.contact-value:focus-visible {
  text-decoration: underline;
  outline: none;
}
.small-note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Contact page layout */
.contact-form-wrap {
  margin-top: 18px;
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

/* Contact panel (instead of a fake form) */
.seo-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  max-width: 70ch;
  font-size: 0.98rem;
}

.contact-panel {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}
.contact-panel-title {
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}
.contact-panel-text {
  margin: 10px 0 0;
  color: var(--text-muted);
}
.contact-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.contact-bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}
.contact-bullets li {
  margin: 8px 0;
}
.contact-panel-hint {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Form */
.spacer-16 {
  height: 16px;
}
.form {
  display: grid;
  gap: 12px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.label {
  font-weight: 750;
  font-size: 0.95rem;
}
.input,
.textarea,
select.input {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 12px;
  padding: 12px 12px;
  background: #fff;
}
.input:focus,
.textarea:focus,
select.input:focus {
  outline: 3px solid rgba(209, 31, 58, 0.18);
  border-color: rgba(209, 31, 58, 0.38);
}
.form-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.form-hint.is-ok {
  color: #0f5132;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 10px 12px;
  border-radius: 12px;
}
.form-hint.is-err {
  color: #7f0e22;
  background: rgba(209, 31, 58, 0.08);
  border: 1px solid rgba(209, 31, 58, 0.18);
  padding: 10px 12px;
  border-radius: 12px;
}
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gallery-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
  background: rgba(17, 24, 39, 0.02);
}

/* Footer */
.site-footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 28px;
}

.footer-inner {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-logo {
  max-height: 44px;
  width: auto;
}
.footer-fallback {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.footer-name {
  font-weight: 900;
}
.footer-text {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 4px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.footer-heading {
  font-weight: 900;
  margin-bottom: 10px;
}
.footer-lines {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
}
.footer-lines a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}
.footer-lines a:hover,
.footer-lines a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-bar-inner {
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.92rem;
}

/* Mobile nav */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  body.is-nav-open .site-nav {
    display: flex;
  }

  .nav-link {
    padding: 12px 12px;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    min-height: 260px;
  }
  .hero-image {
    min-height: 260px;
  }
  .trust {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid-4 {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .section {
    padding: 54px 0;
  }
  .cards-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
