/* Webservider – Internetagentur | style.css */

:root {
  --orange: #F5A200;
  --teal: #0099A8;
  --teal-light: #8ACCCF;
  --teal-mid: #44B3A3;
  --olive: #ADB836;
  --green: #45AB77;

  --ink: #1E2528;
  --ink-soft: #4B565B;
  --paper: #FFFFFF;
  --paper-alt: #F6F8F8;
  --border: #E4E9EA;

  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--ink);
}
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-lead {
  max-width: 60ch;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.pricing-note {
  margin-top: 2rem;
  font-size: .92rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: #e09400;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,162,0,.28);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover {
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { height: 32px; width: auto; }
@media (min-width: 500px) {
  .logo img { height: 40px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
}
.main-nav a:hover { color: var(--teal); text-decoration: none; }
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: .55em 1.3em;
  border-radius: 999px;
}
.nav-cta:hover { background: #007c88; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  overflow: hidden;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1em;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem);
  margin-bottom: .4em;
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  font-size: 1.15rem;
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.8em;
}
.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mark img {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  align-self: center;
  flex-shrink: 0;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-mark img { animation: none; }
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30,37,40,.08);
}
.card-logo {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 1.4em;
}
.card-logo img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

/* Project cards */
.project {
  display: flex;
  flex-direction: column;
  padding: 0 28px 28px;
  overflow: hidden;
}
.project-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -28px 1.2em;
  padding: 20px;
  height: 140px;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--border);
}
.project-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .3em .7em;
  border-radius: 999px;
  margin-bottom: .9em;
}
.badge-contao {
  color: #fff;
  background: #F47C00;
}
.badge-wordpress {
  color: #fff;
  background: #21759B;
}
.project h3 { margin-bottom: .4em; }
.project h3 a { color: var(--ink); }
.project h3 a:hover { color: var(--accent, var(--teal)); text-decoration: none; }
.project p { flex-grow: 1; font-size: .96rem; }
.project-link {
  font-weight: 600;
  font-size: .92rem;
  margin-top: .5em;
}

/* Ablauf / Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px 32px;
}
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { margin-bottom: .3em; font-size: 1.05rem; }
.step p { margin: 0; font-size: .95rem; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.about-mark img {
  width: 180px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
@media (max-width: 700px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { display: flex; justify-content: center; align-items: center; }
  .about-mark img { width: 120px; }
}

/* Kontakt */
.kontakt-inner { max-width: 640px; }
.kontakt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: grid;
  gap: 14px;
}
.kontakt-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 1.05rem;
}
.kontakt-label {
  min-width: 90px;
  font-weight: 700;
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--paper-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--ink-soft);
}
.footer-mark { opacity: .8; }
.footer-inner p { margin: 0; flex-grow: 1; }
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--ink-soft); font-weight: 500; }
.footer-nav a:hover { color: var(--teal); }

/* Anchor offset for sticky header */
section[id] { scroll-margin-top: 84px; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    box-shadow: 0 18px 40px rgba(30,37,40,.14);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }
  .main-nav a:hover { background: var(--paper-alt); }
  .nav-cta { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-mark { order: -1; }
  .hero-mark img { max-width: 220px; }
}

/* Simple typography rhythm for legal pages */
.legal {
  padding: 64px 0 96px;
  max-width: 760px;
}
.legal h1 { margin-bottom: .3em; }
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2em;
}
.legal address { font-style: normal; }
.legal a { word-break: break-word; }
