/*
Theme Name: AG Webservice
Theme URI: https://ag-webservice.de/
Author: Codex
Description: Schlankes Startseiten-Theme f??r AG Webservice.
Version: 1.0.0
Text Domain: agwebservice
*/

:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 252, 246, 0.88);
  --surface-strong: #fffaf0;
  --text: #1f2a24;
  --muted: #5d675f;
  --line: rgba(31, 42, 36, 0.12);
  --brand: #0f766e;
  --brand-dark: #134e4a;
  --accent: #c96f3b;
  --shadow: 0 18px 60px rgba(45, 52, 48, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 34%),
    radial-gradient(circle at right 20%, rgba(201, 111, 59, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, #f4ecdf 100%);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  padding: 18px 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar-inner,
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(31, 42, 36, 0.1);
  box-shadow: 0 14px 30px rgba(45, 52, 48, 0.08);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 239, 0.72);
  border-bottom: 1px solid rgba(31, 42, 36, 0.08);
}

.nav {
  min-height: 96px;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.96rem;
  color: var(--muted);
}

.nav-links .menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links .menu-item {
  margin: 0;
  padding: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.button-secondary {
  background: rgba(255, 250, 240, 0.72);
  border-color: rgba(31, 42, 36, 0.14);
}

.hero {
  padding: 52px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.process,
.cta-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 111, 59, 0.24), transparent 68%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-dark);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.18;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  max-width: 18ch;
}

.section-head h2 {
  max-width: 100%;
}

.content-card h1,
article.page h1,
article.post h1 {
  max-width: 100%;
  line-height: 1.15;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.content-card h2,
article.page h2,
article.post h2 {
  max-width: 100%;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.22;
}

.content-card h1,
.content-card h2,
.content-card h3,
article.page h1,
article.page h2,
article.page h3,
article.post h1,
article.post h2,
article.post h3 {
  margin-top: 1.3em;
  margin-bottom: 0.7em;
}

.content-card > :first-child,
.content-card article > :first-child,
article.page > :first-child,
article.post > :first-child {
  margin-top: 0;
}

.content-card p,
.content-card ul,
.content-card ol,
.content-card .wp-block-list,
article.page p,
article.page ul,
article.page ol,
article.page .wp-block-list,
article.post p,
article.post ul,
article.post ol,
article.post .wp-block-list {
  margin-top: 0;
  margin-bottom: 1.1em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.lead {
  max-width: 60ch;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.point {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(31, 42, 36, 0.08);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  color: var(--text);
}

.hero-panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(19, 78, 74, 0.96), rgba(10, 49, 46, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  color: #edf7f5;
}

.hero-panel p,
.hero-panel li {
  color: rgba(237, 247, 245, 0.84);
}

.hero-panel h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
  color: #fff;
}

.hero-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

section {
  padding: 34px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.section-head-services h2 {
  width: 100%;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.audience-box h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}


.section-head-services p {
  max-width: 72ch;
}

.cta-panel h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}


.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cards.cards-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.cards-two .card h3 {
  line-height: 1.28;
  margin-bottom: 0.8em;
}

.card {
  padding: 26px;
  transition: transform 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.1);
  color: var(--brand-dark);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}

.card p + .button {
  margin-top: 22px;
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: stretch;
}

.audience-box,
.audience-list {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audience-list {
  background: linear-gradient(180deg, #fff4e8, #fef9f1);
  border: 1px solid rgba(201, 111, 59, 0.16);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.12);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process {
  padding: 28px 24px;
  position: relative;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d98a4d);
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
}

.trust-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.quote,
.trust-note {
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quote {
  background: linear-gradient(180deg, #fff8ef, #fffdf8);
  border: 1px solid rgba(201, 111, 59, 0.16);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
}

.trust-note {
  background: var(--surface);
}

.cta-panel {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(201, 111, 59, 0.18), transparent 25%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.6));
}

.contact-direct {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.contact-direct p {
  margin: 0;
}


.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.95rem;
}

.footer .shell {
  display: flex;
  justify-content: center;
}

.footer .nav-links,
.footer .nav-links .menu {
  justify-content: center;
}

.content-shell {
  padding: 80px 0;
}

.content-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-head,
  .audience,
  .trust-wrap,
  .cta-panel,
  .cards,
  .benefits,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .audience-box,
  .audience-list,
  .quote,
  .trust-note,
  .process,
  .cta-panel,
  .content-card {
    padding: 24px;
  }

  .hero-points,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}

.mr9-form {
  max-width: 560px;
  margin: 18px 0 0;
  padding: 24px;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(31, 42, 36, 0.12);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(45, 52, 48, 0.08);
}

.mr9-field {
  margin-bottom: 16px;
}

.mr9-field label {
  display: block;
  margin-bottom: 6px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
}

.mr9-field input,
.mr9-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(31, 42, 36, 0.16);
  border-radius: 14px;
}

.mr9-field input:focus,
.mr9-field select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.18);
  border-color: var(--brand);
}

.mr9-actions {
  margin-top: 10px;
}

.mr9-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.mr9-honey {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
.mr9-field-checkbox .mr9-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mr9-field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
  flex: 0 0 auto;
}

.mr9-field-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--muted);
}

.mr9-field-checkbox a {
  color: var(--brand-dark);
  text-decoration: underline;
}