﻿:root {
  --navy: #082642;
  --navy-2: #0f3a5f;
  --ink: #17202b;
  --muted: #667487;
  --line: #dbe3ea;
  --paper: #ffffff;
  --porcelain: #f5f7f6;
  --mist: #eaf0ef;
  --copper: #b87945;
  --copper-2: #d7a36b;
  --mint: #7da594;
  --shadow: 0 22px 60px rgba(8, 38, 66, 0.14);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.6vw, 3.25rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 9px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 42px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(8, 38, 66, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 230px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.08);
}

.brand-name {
  display: block;
  font-weight: 900;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a,
.mobile-menu a {
  color: var(--navy);
  font-weight: 780;
  text-decoration: none;
}

.site-nav a {
  padding: 9px 8px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #7b431f;
  background: rgba(184, 121, 69, 0.13);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  color: var(--navy);
  font-weight: 860;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 168px;
  padding: 12px 19px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 5px;
  font-weight: 860;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #6c3c20;
  border-color: #6c3c20;
  transform: translateY(-1px);
  outline: none;
}

.button-small {
  min-height: 42px;
  min-width: auto;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.button-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-outline {
  color: var(--navy);
  background: transparent;
  border-color: rgba(8, 38, 66, 0.25);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: #fff;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 820;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-button i::before {
  transform: translateY(-6px);
}

.menu-button i::after {
  transform: translateY(4px);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu-inner {
  display: grid;
  gap: 3px;
  padding: 14px 0 22px;
}

.mobile-menu a {
  padding: 10px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-home {
  min-height: min(760px, calc(100vh - 74px));
  background-image: linear-gradient(90deg, rgba(7, 26, 45, 0.92), rgba(7, 26, 45, 0.72) 48%, rgba(7, 26, 45, 0.22)), url("../img/wien-erbschaft-haus.jpg");
  background-position: center;
  background-size: cover;
}

.hero-sub {
  background: linear-gradient(135deg, var(--navy), #153f62 62%, #5a3a25);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 78px 0 62px;
}

.hero-home .hero-grid {
  min-height: min(760px, calc(100vh - 74px));
  align-items: end;
  padding: 82px 0 48px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.hero-lead {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.eyebrow {
  margin-bottom: 10px;
  color: #7b431f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-navy .eyebrow,
.cta-band .eyebrow {
  color: var(--copper-2);
}

.hero-proof {
  align-self: end;
  padding: 24px;
  color: #fff;
  background: rgba(8, 38, 66, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.image-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-panel figcaption {
  margin: 0;
  padding: 15px 18px;
  color: var(--navy);
  background: #fff;
  border-left: 4px solid var(--copper);
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.trust-grid span {
  padding: 18px 16px;
  color: var(--navy);
  font-weight: 830;
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section-white {
  background: #fff;
}

.section-soft {
  background: var(--mist);
}

.section-navy {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy);
}

.section-navy h2,
.section-navy h3 {
  color: #fff;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.card,
.panel,
.step,
.faq-item,
.contact-card,
.question-card {
  background: #fff;
  border: 1px solid rgba(8, 38, 66, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(8, 38, 66, 0.06);
}

.card {
  min-height: 100%;
  padding: 24px;
  text-decoration: none;
}

.card h3 {
  color: var(--navy);
}

.card-mark,
.icon-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: var(--copper);
  border-radius: 7px;
  font-weight: 900;
}

.panel {
  padding: 28px;
}

.panel-tint {
  background: #fbfcfc;
}

.quote-panel {
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0b2f4d, #6b442a);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-panel p {
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.13;
}

.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 5px;
}

.section-navy .feature-list li,
.section-navy .check-list li {
  color: var(--ink);
}

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

.question-card {
  padding: 18px;
}

.question-card button {
  width: 100%;
  min-height: 76px;
  padding: 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 840;
  text-align: left;
}

.question-card button:hover,
.question-card button:focus-visible,
.question-card button.is-active {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 121, 69, 0.13);
  outline: none;
}

.decision-result {
  margin-top: 18px;
  padding: 20px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline {
  display: grid;
  gap: 16px;
}

.step {
  position: relative;
  padding: 22px 22px 22px 76px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.step span {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--mint);
  border-radius: 7px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #fff;
  background: var(--navy);
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 860;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--copper);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-card {
  padding: 26px;
}

.form {
  display: grid;
  gap: 16px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 790;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #9b4f24;
  box-shadow: 0 0 0 3px rgba(184, 121, 69, 0.13);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.94rem;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--navy);
}

.form-status {
  min-height: 24px;
  color: var(--navy);
  font-weight: 760;
}

.form-status.is-error {
  color: #9b4f24;
}

.cta-band {
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #6b442a);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band h3 {
  color: #fff;
}

.site-footer {
  padding: 48px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #071a2d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.08rem;
}

.footer-nav {
  display: grid;
  gap: 6px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .site-nav,
  .phone-link,
  .header-actions .button-small {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

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

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

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

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

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-home,
  .hero-home .hero-grid {
    min-height: auto;
  }

  .hero-grid,
  .hero-home .hero-grid {
    padding: 54px 0 44px;
  }

  .hero-home {
    background-image: linear-gradient(90deg, rgba(7, 26, 45, 0.92), rgba(7, 26, 45, 0.78)), url("../img/wien-erbschaft-haus.jpg");
  }

  .section {
    padding: 52px 0;
  }

  .trust-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .decision-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid span {
    padding: 13px 8px;
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .panel,
  .card,
  .contact-card,
  .cta-band,
  .quote-panel {
    padding: 22px;
  }
}

