/* ── Design Tokens ── */
:root {
  --green-dark:   #2d6a4f;
  --green-mid:    #40916c;
  --green-light:  #f0f7f4;
  --green-border: #b7e4c7;
  --bg:           #ffffff;
  --bg-alt:       #f8f9fa;
  --text:         #1a1a2e;
  --text-muted:   #6c757d;
  --border:       #dee2e6;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.14);
  --radius:       10px;
  --radius-sm:    6px;
  --font:         'Inter', system-ui, sans-serif;
  --transition:   0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input { font-family: inherit; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--text-muted); }

/* ── Layout Utilities ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem; transition: var(--transition); line-height: 1;
}
.btn-primary {
  background: var(--green-dark); color: #fff;
}
.btn-primary:hover { background: var(--green-mid); }
.btn-whatsapp {
  background: #25d366; color: #fff; width: 100%;
}
.btn-whatsapp:hover { background: #1ebe5c; }
.btn-email {
  background: var(--bg); color: var(--text); border: 1.5px solid var(--border); width: 100%;
}
.btn-email:hover { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline {
  background: transparent; color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-outline:hover { background: var(--green-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 2px solid var(--green-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 2rem; position: relative;
}
.navbar__logo img { height: 64px; width: auto; display: block; }
.navbar__links {
  display: flex; gap: 1.75rem; align-items: center;
}
.navbar__links a {
  font-weight: 600; font-size: 0.9rem; color: var(--text);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--green-dark); }
.navbar__actions {
  display: flex; align-items: center; gap: 1rem;
}
.lang-toggle {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; color: var(--text-muted);
}
.lang-btn {
  background: none; padding: 2px 4px; font-size: 0.8rem;
  font-weight: 600; color: var(--text-muted); border-radius: 3px;
  transition: var(--transition);
}
.lang-btn.active { color: var(--green-dark); }
.lang-btn:hover  { color: var(--green-dark); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* Burger (mobile) */
.navbar__burger {
  display: none; flex-direction: column; gap: 4px;
  background: none; padding: 4px;
}
.navbar__burger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

@media (max-width: 768px) {
  .navbar__links {
    display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .navbar__links.open { display: flex; }
  .navbar__burger { display: flex; }
  .btn-sm { display: none; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(150deg, #1a3a2a 0%, #2d6a4f 100%);
  padding: 5rem 0 4rem;
  color: #fff;
}
.hero__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.hero__text { flex: 1; min-width: 280px; }
.hero__eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__sub { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ── Calculator Card ── */
.calc-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); flex-shrink: 0;
}
.calc-card__title {
  font-weight: 800; font-size: 1rem; color: var(--green-dark);
  margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px;
}
.calc-form { display: flex; flex-direction: column; gap: 0.85rem; }
.calc-field { display: flex; flex-direction: column; gap: 0.3rem; }
.calc-field[hidden] { display: none; }
.calc-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.calc-field input {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.95rem; transition: border-color var(--transition);
  color: var(--text);
}
.calc-field input:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.calc-field input::placeholder { color: #bbb; }
.calc-select-row { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-select {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 2.5rem 0.75rem 1rem; font-size: 0.95rem; font-family: inherit;
  color: var(--text); background: #fff; cursor: pointer;
  transition: border-color var(--transition); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236c757d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.calc-select:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.calc-select:disabled { background-color: var(--bg-alt); color: #bbb; cursor: not-allowed; }
.calc-city-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.95rem; font-family: inherit;
  color: var(--text); background: #fff; transition: border-color var(--transition);
}
.calc-city-input:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.calc-city-input::placeholder { color: #bbb; }
.calc-city-input:disabled { background-color: var(--bg-alt); color: #bbb; cursor: not-allowed; }
.calc-btn { width: 100%; padding: 0.95rem; font-size: 1rem; margin-top: 0.25rem; }
.calc-hint {
  margin-top: 0.75rem; font-size: 0.72rem; color: var(--text-muted);
  line-height: 1.5; border-top: 1px solid var(--border); padding-top: 0.65rem;
}

/* ── Hero (slim) & Anfrage-Formular ── */
.hero__inner--stacked { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.hero__inner--stacked .hero__text { flex: none; max-width: 700px; }
.hero__cta { margin-top: 1.75rem; }

.anfrage-section { background: var(--bg-alt); }
.anfrage-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 920px; margin: 0 auto; padding: 2.25rem 2.5rem;
}
.anfrage-form { display: flex; flex-direction: column; gap: 2rem; }
.form-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-group__title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; font-weight: 800; color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; padding: 0;
}
.form-group__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; flex-shrink: 0;
  background: var(--green-dark); color: #fff; font-size: 0.8rem; font-weight: 700;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.5rem; }
.form-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); }
.anfrage-card .calc-hint { margin-top: 1.75rem; }
.anfrage-card .calc-btn { margin-top: 0; }

@media (max-width: 900px) {
  .hero__inner { flex-direction: column; }
  .calc-card    { max-width: 100%; }
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .anfrage-card { padding: 1.5rem 1.25rem; }
}

/* ── Calc Result ── */
.calc-result { margin-top: 1.25rem; }

.result-box {
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius-sm); overflow: hidden;
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.result-title {
  background: var(--green-dark); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 0.6rem 1rem;
}
.result-route {
  background: var(--green-light); padding: 0.5rem 1rem;
  font-size: 0.8rem; color: var(--green-dark); font-weight: 600;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.result-zone {
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
}
.result-rows { padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--text);
}
.result-row span:last-child { font-weight: 600; }
.result-row--subtle { color: var(--text-muted); font-size: 0.8rem; }
.result-row--total {
  background: var(--green-light); margin: 0.25rem -1rem -0.75rem;
  padding: 0.65rem 1rem; font-weight: 800; font-size: 1rem;
  color: var(--green-dark); border-top: 1.5px solid var(--green-border);
}
.result-actions {
  padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem;
}
.result-note {
  font-size: 0.7rem; color: var(--text-muted);
  padding: 0 1rem 0.75rem; line-height: 1.5;
}
.result-error {
  background: #fff3cd; border: 1px solid #ffd166;
  border-radius: var(--radius-sm); padding: 0.75rem 1rem;
  font-size: 0.85rem; color: #856404;
}

/* ── Wie es funktioniert ── */
.section-title { text-align: center; color: var(--text); margin-bottom: 0.5rem; }
.section-sub   { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; }

.wie-section { background: var(--bg-alt); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step {
  background: var(--bg); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: var(--shadow); position: relative;
}
.step__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.5rem; color: var(--text); }
.step p   { font-size: 0.9rem; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ── Leistungen Overview ── */
.service-cards { align-items: start; }
.service-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}
.service-card__icon { font-size: 2.2rem; }
.service-card h3    { color: var(--text); }
.service-card p     { flex: 1; }
.service-card .btn  { align-self: flex-start; margin-top: 0.5rem; }

/* ── Trust Signals ── */
.trust-section { background: var(--bg-alt); }
.trust-tiles   { align-items: start; }
.trust-tile {
  text-align: center; padding: 1.5rem 1rem;
}
.trust-tile__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-tile h3 { color: var(--text); margin-bottom: 0.4rem; font-size: 1rem; }

/* ── Kontakt ── */
.kontakt-section { background: var(--green-dark); color: #fff; }
.kontakt-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.kontakt-text h2  { color: #fff; margin-bottom: 0.5rem; }
.kontakt-text p   { color: rgba(255,255,255,0.7); }
.kontakt-info { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.kontakt-info p   { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.kontakt-info a   { color: rgba(255,255,255,0.85); text-decoration: underline; }
.kontakt-info a:hover { color: #fff; }
.kontakt-actions  { display: flex; flex-direction: column; gap: 0.75rem; min-width: 260px; }
.kontakt-wa, .kontakt-mail { font-size: 1rem; padding: 1rem 1.5rem; }

@media (max-width: 768px) {
  .kontakt-inner  { flex-direction: column; }
  .kontakt-actions { min-width: 0; width: 100%; }
}

/* ── Angebot Form ── */
.angebot-section { background: var(--bg-alt); }
.angebot-form    { margin-top: 2rem; }
.angebot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.angebot-field { display: flex; flex-direction: column; gap: 0.4rem; }
.angebot-field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.angebot-field input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-size: 0.95rem; font-family: inherit;
  color: var(--text); background: #fff; transition: border-color var(--transition);
}
.angebot-field input:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(45,106,79,0.12); }
.angebot-error {
  background: #fff3cd; border: 1px solid #ffd166;
  border-radius: var(--radius-sm); padding: 0.65rem 1rem;
  font-size: 0.85rem; color: #856404; margin-bottom: 1rem;
}
.angebot-success {
  background: var(--green-light); border: 1px solid var(--green-border);
  border-radius: var(--radius-sm); padding: 0.65rem 1rem;
  font-size: 0.9rem; font-weight: 600; color: var(--green-dark); margin-bottom: 1rem;
}
.angebot-hp { position: absolute; left: -9999px; }
.angebot-submit { width: 100%; font-size: 1rem; padding: 1rem; justify-content: center; }
@media (max-width: 640px) {
  .angebot-grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.footer {
  background: var(--text); color: rgba(255,255,255,0.6);
  padding: 2rem 0;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.25rem;
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img {
  height: 104px; width: auto; display: block;
  background: #fff; padding: 12px 20px; border-radius: 12px;
}
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ── Page Hero (leistungen.html) ── */
.page-hero {
  background: linear-gradient(150deg, #1a3a2a 0%, #2d6a4f 100%);
  padding: 4rem 0 3rem; color: #fff;
}
.page-hero .hero__eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero .hero__sub { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ── Service Detail ── */
.service-detail {
  display: flex; gap: 2.5rem; align-items: flex-start;
}
.service-detail__icon { font-size: 3.5rem; flex-shrink: 0; padding-top: 0.25rem; }
.service-detail__body h2 { margin-bottom: 0.35rem; }
.service-detail__sub {
  color: var(--green-dark); font-weight: 600; font-size: 1rem;
  margin-bottom: 1rem;
}
.service-list {
  list-style: none; margin-top: 1rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.service-list li::before {
  content: '✓ '; color: var(--green-dark); font-weight: 700;
}

/* ── Capacity Table ── */
.capacity-table-wrap { overflow-x: auto; }
.capacity-table {
  width: 100%; border-collapse: collapse; margin-top: 1.5rem;
  font-size: 0.95rem;
}
.capacity-table th {
  background: var(--green-dark); color: #fff;
  padding: 0.85rem 1rem; text-align: left; font-weight: 700;
}
.capacity-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  color: var(--text);
}
.capacity-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.capacity-table tbody tr:hover td { background: var(--green-light); }

/* ── Coverage Grid ── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem; margin-top: 1.5rem;
}
.country-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.65rem 1rem;
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.country-card:hover {
  border-color: var(--green-dark); background: var(--green-light);
}

/* ── CTA Section ── */
.cta-section { background: var(--green-light); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { margin-bottom: 0.4rem; }
.cta-inner p  { max-width: 480px; }

/* Active nav link */
.navbar__links .active-link { color: var(--green-dark); }

@media (max-width: 768px) {
  .service-detail { flex-direction: column; gap: 1rem; }
  .cta-inner { flex-direction: column; }
}

/* ── Brand tagline (hero + footer) ── */
.hero__tagline {
  color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.3px; margin-top: -0.5rem; margin-bottom: 1rem;
}
.footer__brandtext { display: flex; flex-direction: column; gap: 0.15rem; }
.footer__brandline {
  font-size: 0.85rem !important; font-weight: 600;
  color: rgba(255,255,255,0.75) !important;
}

/* ── Calculator: Stückzahl / Maß-Zeilen ── */
.calc-field--pieces { gap: 0.5rem; }
.piece-rows__head {
  display: grid; grid-template-columns: 1.6rem 1fr 1fr 1fr; gap: 0.4rem;
  font-size: 0.64rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.2px; line-height: 1.25;
}
.piece-rows__head::before { content: ""; }
.piece-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.piece-row {
  display: grid; grid-template-columns: 1.6rem 1fr 1fr 1fr; gap: 0.4rem;
  align-items: center;
}
.piece-row__label {
  font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-align: center;
}
.piece-row input {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 0.55rem 0.4rem; font-size: 0.9rem; font-family: inherit;
  color: var(--text); text-align: center; transition: border-color var(--transition);
}
.piece-row input:focus {
  outline: none; border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.piece-rows__note { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.1rem; }

/* ── Result: Stück-Maße Zusammenfassung ── */
.result-dims {
  margin: 0.6rem 0 0.25rem; padding: 0.6rem 0.8rem;
  background: var(--green-light); border-radius: var(--radius-sm);
}
.result-dims__label { font-size: 0.75rem; font-weight: 700; color: var(--green-dark); }
.result-dims ul { list-style: none; margin: 0.35rem 0 0; padding: 0; }
.result-dims li { font-size: 0.78rem; color: var(--text); padding: 0.1rem 0; }
