:root{
  --bg: #f6f8f6;
  --card: #ffffff;

  --text: #1f2320;
  --muted: #4b544d;

  --green: #2F8F6B;
  --green-dark: #1E5F4A;

  --shadow-soft: 0 12px 30px rgba(0,0,0,.06);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  padding: 36px 0 18px;
  text-align: center;
}

.logo-pill{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
}

.brand-mark{
  color: var(--green);
  display: inline-flex;
}

.brand-text{
  display:flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.brand-top{
  font-weight: 800;
  letter-spacing: .2px;
  color:#1f2a35;
}

.brand-bottom{
  font-weight: 800;
  color: var(--green);
}

.main-nav{
  margin-top: 16px;
  display:flex;
  justify-content:center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a{
  text-decoration:none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.main-nav a:hover{
  color: var(--text);
  background: rgba(47,143,107,.10);
}

.main-nav a[aria-current="page"]{
  color: var(--green-dark);
  background: rgba(47,143,107,.16);
}

/* =========================================================
   HEADLINE
   ========================================================= */
.page-head{
  text-align:center;
  margin: 36px 0 20px;
}

.page-head h1{
  margin:0 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -0.3px;
}

.lead{
  margin:0;
  color: var(--muted);
}

/* =========================================================
   CARD
   ========================================================= */
.contact-card{
  margin: 24px auto 70px;
  width: min(820px, 100%);
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

/* =========================================================
   HILFSKLASSEN
   ========================================================= */
.is-hidden{
  display: none !important;
}

/* Radio unsichtbar */
.tab-state{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* =========================================================
   TABS
   ========================================================= */
.tabs{
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tab{
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.tab:hover{
  transform: translateY(-2px);
  border-color: rgba(47,143,107,.30);
}

/* =========================================================
   PANELS
   ========================================================= */
.panels{
  padding: 2px 6px 0;
}

.panel{
  display: none;
  text-align:center;
  padding: 10px 8px 0;
}

.panel-title{
  margin: 6px 0 14px;
  font-weight: 900;
  color: #2a312c;
}

/* CSS-only Tab aktiv */
#tab-wa:checked ~ .tabs label[for="tab-wa"],
#tab-mail:checked ~ .tabs label[for="tab-mail"],
#tab-form:checked ~ .tabs label[for="tab-form"]{
  background: rgba(47,143,107,.12);
  border-color: rgba(47,143,107,.25);
  color: var(--green-dark);
}

#tab-wa:checked ~ .panels .panel-wa{ display:block; }
#tab-mail:checked ~ .panels .panel-mail{ display:block; }
#tab-form:checked ~ .panels .panel-form{ display:block; }

/* =========================================================
   BUTTONS / ACTIONS
   ========================================================= */
.big-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: min(640px, 100%);
  padding: 14px 16px;
  border-radius: 16px;
  text-decoration:none;
  border: none;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(47,143,107,.20);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, opacity .18s ease;
  cursor: pointer;
}

.big-action:hover{
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(47,143,107,.24);
}

.big-action:focus-visible,
.btn-mini:focus-visible,
.main-nav a:focus-visible,
.footer-links a:focus-visible,
.check a:focus-visible{
  outline: 3px solid rgba(47,143,107,.25);
  outline-offset: 3px;
}

.big-action:disabled,
.big-action[aria-disabled="true"]{
  opacity: .72;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 12px 24px rgba(47,143,107,.12);
}

.big-action:disabled:hover,
.big-action[aria-disabled="true"]:hover{
  background: var(--green);
  transform: none;
}

.big-action-ghost{
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(47,143,107,.35);
  box-shadow: none;
}

.big-action-ghost:hover{
  background: rgba(47,143,107,.10);
  box-shadow: none;
}

/* =========================================================
   FORM
   ========================================================= */
.form{
  width: min(640px, 100%);
  margin: 0 auto;
  text-align:left;
}

.field{
  display:block;
  margin: 12px 0;
}

.label{
  display:block;
  font-weight: 900;
  color: #2a312c;
  margin: 0 0 6px;
}

input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  font: inherit;
  outline: none;
}

textarea{
  resize: vertical;
  min-height: 120px;
}

input:focus, textarea:focus{
  border-color: rgba(47,143,107,.45);
  box-shadow: 0 0 0 4px rgba(47,143,107,.12);
}

.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin: 14px 0 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
  color: var(--muted);
}

.check input{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.check span{
  flex: 1 1 auto;
}

.check a{
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.check a:hover{
  text-decoration: underline;
}

.form-status{
  margin-top: 12px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
  min-height: 20px;
}

/* =========================================================
   SUCCESS CARD
   ========================================================= */
.success-card{
  width: min(640px, 100%);
  margin: 14px auto 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(47,143,107,.12);
  border: 1px solid rgba(47,143,107,.25);
  box-shadow: 0 18px 40px rgba(47,143,107,.10);
}

.success-card.is-hidden{
  display:none;
}

.success-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  flex: 0 0 auto;
}

.success-text{
  text-align:left;
  flex: 1 1 auto;
}

.success-title{
  margin:0;
  font-weight: 900;
  color: var(--green-dark);
}

.success-sub{
  margin:2px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.btn-mini{
  border: 1px solid rgba(47,143,107,.35);
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.btn-mini:hover{
  transform: translateY(-2px);
  background: rgba(47,143,107,.10);
}

/* =========================================================
   HINT
   ========================================================= */
.hint{
  text-align:center;
  margin: 16px 0 0;
  color: #6a6f6b;
  font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  padding: 22px 0 28px;
  text-align: center;
  color: #666;
  border-top: 1px solid rgba(0,0,0,.07);
}

.footer-line{
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-links{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}

.footer-links a:hover{
  color: var(--text);
  background: rgba(47,143,107,.10);
}

.dot{
  color: rgba(0,0,0,.35);
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 520px){
  .contact-card{
    padding: 16px;
    border-radius: 20px;
  }

  .tab{
    padding: 10px 12px;
  }

  .big-action{
    border-radius: 14px;
    padding: 13px 14px;
  }

  .success-card{
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-mini{
    width: 100%;
    text-align: center;
  }
}