:root {
  --brown:#6b3216;
  --brown-dark:#47200f;
  --red:#c6372c;
  --sand:#f0c18f;
  --cream:#f7f3ec;
  --paper:#fffdfa;
  --ink:#2d251f;
  --muted:#766d65;
  --line:#e7dfd5;
  --radius:24px;
  --shadow:0 18px 55px rgba(65,40,24,.10);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
}

.container {
  width:min(1180px,calc(100% - 48px));
  margin:auto;
}


/* ========================================
   HEADER
======================================== */

.topbar {
  background:rgba(255,253,250,.95);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(12px);
}

.topbar-inner {
  min-height:116px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.master-brand img {
  display:block;
  width:min(480px,48vw);
  height:auto;
}

.customer-brand {
  display:flex;
  align-items:center;
  gap:16px;
}

.customer-label {
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.16em;
  font-weight:800;
  color:var(--muted);
  white-space:nowrap;
}


/* ========================================
   KUNDENLOGO
======================================== */

.customer-logo-wrap {
  width:320px;
  height:130px;
  border:1px solid var(--line);
  border-radius:14px;
  background:white;
  display:grid;
  place-items:center;
  padding:10px;
  box-shadow:0 7px 24px rgba(65,40,24,.06);
}

.customer-logo-wrap img {
  display:block;
  width:300px;
  max-width:100%;
  max-height:110px;
  height:auto;
  object-fit:contain;
}

.placeholder-text {
  display:none;
  font-size:11px;
  color:#9a9189;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.logo-placeholder .placeholder-text {
  display:block;
}


/* ========================================
   HERO
======================================== */

.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(
    115deg,
    #fbf7f0 0%,
    #f6efe5 58%,
    #efe3d3 100%
  );
  border-bottom:1px solid var(--line);
}

.hero:after {
  content:"";
  position:absolute;
  width:440px;
  height:440px;
  border-radius:50%;
  right:-150px;
  top:-140px;
  border:1px solid rgba(107,50,22,.09);
  box-shadow:
    0 0 0 60px rgba(107,50,22,.025),
    0 0 0 120px rgba(107,50,22,.018);
}

.hero-lines {
  position:absolute;
  inset:auto 0 0 0;
  height:38%;
  opacity:.13;
  background:repeating-radial-gradient(
    ellipse at 80% 140%,
    transparent 0 23px,
    var(--brown) 24px 26px,
    transparent 27px 43px
  );
}

.hero-grid {
  position:relative;
  z-index:2;
  min-height:610px;
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:80px;
  align-items:center;
  padding-top:70px;
  padding-bottom:70px;
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--red);
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.status-dot {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(198,55,44,.1);
}

h1,
h2,
h3,
p {
  margin-top:0;
}

.hero h1 {
  font-size:clamp(52px,6vw,88px);
  line-height:.96;
  letter-spacing:-.055em;
  margin:22px 0 28px;
  color:var(--brown-dark);
}

.hero h1 span {
  color:var(--red);
}

.lead {
  font-size:18px;
  line-height:1.7;
  color:#655c55;
  max-width:680px;
}

.hero-actions {
  display:flex;
  gap:12px;
  margin:36px 0;
}


/* ========================================
   BUTTONS
======================================== */

.button {
  min-height:52px;
  padding:0 22px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  transition:.2s ease;
}

.button-primary {
  background:var(--brown);
  color:white;
  box-shadow:0 10px 28px rgba(107,50,22,.2);
}

.button-primary:hover {
  background:var(--brown-dark);
  transform:translateY(-2px);
}

.button-secondary {
  border:1px solid #d6c9bb;
  background:rgba(255,255,255,.6);
}

.button-secondary:hover {
  background:white;
}


/* ========================================
   KUNDENDATEN
======================================== */

.customer-meta {
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--muted);
  font-size:12px;
}

.customer-meta strong {
  color:var(--ink);
  margin-left:5px;
}

.meta-separator {
  width:1px;
  height:20px;
  background:#d8cec3;
}


/* ========================================
   HERO KARTE
======================================== */

.hero-card {
  background:var(--brown);
  color:white;
  border-radius:32px;
  padding:46px;
  min-height:390px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:0 28px 70px rgba(71,32,15,.25);
  position:relative;
  overflow:hidden;
}

.hero-card:before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    150deg,
    rgba(255,255,255,.08),
    transparent 45%
  );
}

.field-icon {
  position:absolute;
  right:30px;
  top:22px;
  width:185px;
  height:185px;
  opacity:.2;
}

.field-icon svg {
  fill:none;
  stroke:#fff;
  stroke-width:5;
  stroke-linecap:round;
}

.field-icon svg path:first-child,
.field-icon svg path:nth-child(2) {
  fill:#fff;
  stroke:none;
}

.hero-card-kicker {
  font-size:11px;
  letter-spacing:.2em;
  font-weight:800;
  color:var(--sand);
  margin-bottom:12px;
}

.hero-card h2 {
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.04em;
  margin-bottom:18px;
}

.hero-card > p:last-child {
  color:#e9dcd1;
  line-height:1.6;
  margin:0;
}


/* ========================================
   DASHBOARD
======================================== */

.dashboard {
  padding:105px 0;
  background:#fff;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:40px;
  margin-bottom:38px;
}

.section-heading h2,
.info-section h2,
.support h2 {
  font-size:clamp(34px,4vw,52px);
  letter-spacing:-.045em;
  margin:10px 0 0;
  color:var(--brown-dark);
}

.section-heading > p {
  color:var(--muted);
  max-width:420px;
  line-height:1.6;
  margin-bottom:5px;
}


/* ========================================
   SERVICE KARTEN
======================================== */

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

.service-card {
  position:relative;
  min-height:330px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  text-decoration:none;
  background:#fff;
  transition:.22s ease;
  display:flex;
  flex-direction:column;
}

.service-card:hover {
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:#d9c9bb;
}

.service-card.accent {
  background:#fbf5ed;
}

.icon-box {
  width:52px;
  height:52px;
  border-radius:14px;
  background:var(--cream);
  color:var(--brown);
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:800;
  margin-bottom:44px;
}

.accent .icon-box {
  background:var(--red);
  color:white;
}

.icon-box.mic {
  font-size:13px;
}

.card-number {
  position:absolute;
  right:26px;
  top:31px;
  color:#b7ada4;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}

.service-card h3 {
  font-size:20px;
  letter-spacing:-.025em;
  color:var(--brown-dark);
  margin-bottom:12px;
}

.service-card p {
  font-size:14px;
  color:var(--muted);
  line-height:1.65;
}

.card-link {
  margin-top:auto;
  color:var(--red);
  font-size:13px;
  font-weight:800;
}

.card-link b {
  float:right;
  font-size:17px;
}


/* ========================================
   INFOBEREICH
======================================== */

.info-section {
  padding:100px 0;
  background:var(--cream);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.info-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.info-panel,
.quick-panel {
  background:white;
  border:1px solid var(--line);
  border-radius:28px;
  padding:44px;
}

.info-intro {
  color:var(--muted);
  line-height:1.7;
  max-width:560px;
}

.facts {
  margin:32px 0 0;
}

.facts div {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  border-top:1px solid var(--line);
}

.facts dt {
  color:var(--muted);
  font-size:13px;
}

.facts dd {
  margin:0;
  font-weight:700;
  text-align:right;
}


/* ========================================
   SCHNELLZUGRIFFE
======================================== */

.quick-links {
  margin-top:27px;
}

.quick-links a {
  display:grid;
  grid-template-columns:36px 1fr auto;
  align-items:center;
  gap:10px;
  padding:19px 0;
  border-top:1px solid var(--line);
  text-decoration:none;
  font-weight:700;
  transition:.2s;
}

.quick-links a:hover {
  color:var(--red);
  padding-left:6px;
}

.quick-links span {
  color:#b1a69d;
  font-size:11px;
  letter-spacing:.1em;
}

.quick-links b {
  font-size:18px;
}


/* ========================================
   SUPPORT
======================================== */

.support {
  background:var(--brown-dark);
  color:white;
  padding:82px 0;
}

.support-inner {
  display:grid;
  grid-template-columns:1fr auto;
  gap:60px;
  align-items:center;
}

.eyebrow.light {
  color:var(--sand);
}

.support h2 {
  color:white;
  margin-bottom:20px;
}

.support p {
  color:#d9c8bc;
  max-width:650px;
  line-height:1.7;
  margin:0;
}

.support-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:15px;
}

.button-light {
  background:white;
  color:var(--brown-dark);
}

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

.support-phone {
  color:var(--sand);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}


/* ========================================
   FOOTER
======================================== */

footer {
  background:#fff;
  padding:34px 0;
}

.footer-inner {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:30px;
  align-items:center;
}

.footer-brand img {
  width:220px;
  height:auto;
  display:block;
}

.footer-inner p {
  font-size:11px;
  color:var(--muted);
  margin:0;
  text-align:center;
}

.footer-inner nav {
  display:flex;
  justify-content:flex-end;
  gap:20px;
}

.footer-inner nav a {
  font-size:11px;
  color:var(--muted);
  text-decoration:none;
}

.footer-inner nav a:hover {
  color:var(--red);
}


/* ========================================
   TABLET
======================================== */

@media(max-width:980px) {

  .topbar-inner {
    min-height:92px;
  }

  .customer-label {
    display:none;
  }

  .master-brand img {
    width:min(390px,55vw);
  }

  .hero-grid {
    grid-template-columns:1fr;
    gap:35px;
  }

  .hero-card {
    min-height:300px;
  }

  .cards {
    grid-template-columns:1fr 1fr;
  }

  .info-grid {
    grid-template-columns:1fr;
  }

  .support-inner {
    grid-template-columns:1fr;
  }

  .support-actions {
    align-items:flex-start;
  }

  .footer-inner {
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-brand img {
    margin:auto;
  }

  .footer-inner nav {
    justify-content:center;
  }
}


/* ========================================
   SMARTPHONE
======================================== */

@media(max-width:640px) {

  .container {
    width:min(100% - 28px,1180px);
  }

  .topbar-inner {
    gap:12px;
  }

  .master-brand img {
    width:210px;
  }

  .customer-logo-wrap {
    width:180px;
    height:72px;
    padding:7px;
  }

  .customer-logo-wrap img {
    width:auto;
    max-width:100%;
    max-height:58px;
  }

  .hero-grid {
    min-height:auto;
    padding-top:58px;
    padding-bottom:58px;
  }

  .hero h1 {
    font-size:48px;
  }

  .lead {
    font-size:16px;
  }

  .hero-actions {
    flex-direction:column;
    align-items:stretch;
  }

  .customer-meta {
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }

  .meta-separator {
    display:none;
  }

  .hero-card {
    padding:30px;
    border-radius:24px;
  }

  .hero-card h2 {
    font-size:31px;
  }

  .dashboard,
  .info-section {
    padding:70px 0;
  }

  .section-heading {
    display:block;
  }

  .section-heading > p {
    margin-top:16px;
  }

  .cards {
    grid-template-columns:1fr;
  }

  .service-card {
    min-height:280px;
  }

  .info-panel,
  .quick-panel {
    padding:28px;
  }

  .facts div {
    display:block;
  }

  .facts dd {
    text-align:left;
    margin-top:5px;
  }

  .support {
    padding:65px 0;
  }

  .footer-brand img {
    width:190px;
  }
}