:root{
  --ink:#0d1a2a;
  --green:#00885d;
  --green-dark:#006f4d;
  --line:#dce5e1;
  --mint:#f1f8f5;
  --font: Arial, Helvetica, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top: 65px;}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.48}
a{text-decoration:none;color:inherit}
.page{width:100%}

/* HEADER */
header{
  height:66px;background:rgba(255,255,255,.98);border-bottom:1px solid #eef1ef;
  display:flex;align-items:center;
  position:sticky;top:0;z-index:1000;
  box-shadow:0 1px 4px rgba(13,26,42,.04);
}
.header-inner{
  width:100%;max-width:1200px;margin:0 auto;padding:0 44px;
  display:flex;align-items:center;justify-content:space-between;
}
.logo{font-size:24px;font-weight:800;letter-spacing:.01em;color:#0e442f}
nav{display:flex;align-items:center;font-size:13px;font-weight:700}
.nav-links{display:flex;align-items:center;gap:38px}
.nav-links a{padding:23px 0 21px;position:relative}
.nav-links a.active{color:var(--green-dark)}
.nav-links a.active:after{content:"";position:absolute;left:0;right:0;bottom:13px;height:2px;background:var(--green)}

.menu-toggle{display:none;width:42px;height:42px;padding:8px;border:0;background:transparent;cursor:pointer}
.menu-toggle span{display:block;width:25px;height:2px;margin:5px auto;background:var(--green-dark);border-radius:2px}

p {font-size: 1rem; line-height: 1.4}
p.hint{font-size: 0.8rem}

/* SECTION allgemeine */
section {padding-top: 15px; padding-bottom: 30px;}

/* HERO - exact visual split from supplied mockup */
.hero{
  position:relative;overflow:hidden;border-bottom:1px solid var(--line);
  background:#fff;
}
.hero-bg{
  position:absolute;inset:0;
  background:linear-gradient(120deg,#f7fbfa 0%,#edf7f4 100%);
  clip-path:polygon(54.2% 0,100% 0,100% 100%,41.1% 100%);
}
.hero-inner{
  max-width:1200px;height:100%;margin:0 auto;padding:0 45px;
  display:grid;grid-template-columns:46% 54%;position:relative;z-index:1;
}
.hero-left{padding-top:48px;padding-right:28px}
.hero-title{
  margin:0 0 19px;font-size:49px;line-height:1.04;letter-spacing:-1.9px;font-weight:800;
}
.hero-title .line1,.hero-title .line2{white-space:nowrap}
.hero-title .green{color:var(--green)}
.hero-sub{font-size:15px;line-height:1.55;margin:0 0 22px;max-width:395px}
.hero-promise{
  border-left:2px solid var(--green);padding:1px 0 1px 18px;
  font-size:15px;font-weight:700;line-height:1.45;margin-bottom:26px;
}
.button{
  display:inline-flex;align-items:center;justify-content:space-between;gap:34px;
  background:var(--green);color:white;font-weight:700;font-size:13px;
  min-width:196px;padding:13px 16px;border-radius:2px;
}
.button .arrow{font-size:23px;font-weight:400;line-height:1}

.hero-right{
  padding:46px 0 0 82px;
  display:grid;grid-template-columns:174px 1fr;gap:34px;
}
.problem-head{text-align:center;padding-top:14px}
.problem-icon{
  width:96px;height:96px;border:1px solid #a7d7c6;border-radius:50%;
  margin:0 auto 34px;display:grid;place-items:center;color:var(--green)
}
.problem-icon svg{width:57px;height:57px}
.problem-head h2{font-size:23px;line-height:1.18;margin:0;font-weight:800}
.problem-head h2 .green{color:var(--green)}
.problem-copy{padding-top:2px;line-height:1.58;max-width:300px}
.problem-copy p{margin:0 0 20px}
.problem-copy .em{color:var(--green-dark);font-weight:800}

/* =====================================================
   LEISTUNGEN
   ===================================================== */

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

.services-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 47px;
}

.services-section h2 {
    margin: 20px 0 26px;
    font-size: 24px;
    font-weight: 800;
}

/* SERVICES */

.services {    display: grid;    grid-template-columns: repeat(2, minmax(0, 1fr));    column-gap: 70px;    row-gap: 38px;    padding-bottom: 34px;}
/* Einzelne Leistung */
.service {    min-height: 0;    margin: 0;    padding: 0;    display: grid;    grid-template-columns: 82px minmax(0, 1fr);    column-gap: 22px;    align-items: start;    border: 0;}
/* Icon */
.service-icon {    width: 72px;    height: 72px;    display: flex;    align-items: center;    justify-content: center;    margin: 0;    border: 0;    border-radius: 50%;    background: var(--mint);    color: var(--green);}
.service-icon svg {    width: 40px;    height: 40px;    margin: 0;    color: var(--green);}
/* Textblock */
.service-content {    min-width: 0;}
.service h3 {    margin: 1px 0 6px;    font-size: 20px;    line-height: 1.2;    font-weight: 800;}
.service p {    margin: 0;    font-size: 16px;    line-height: 1.5;    color: #18202a;}

/* FLOW */
.flow-section{
  border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,#f8fbfa,#eff8f4,#f8fbfa);
}
.flow-inner{max-width:1200px;margin:0 auto;padding:18px 60px 0}
.flow-title{text-align:center;font-size:25px;font-weight:800;margin:0 0 22px}
.flow-title .green{color:var(--green)}
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:30px;position:relative}
.flow:before {    content: "";    position: absolute;    top: 17px;      left: 10%;    right: 10%;    height: 1px;    background: #78bba5;}

.step{position:relative;padding-top:47px}
.badge {    position: absolute;    top: 0;    left: 50%;    transform: translateX(-50%);    width: 35px;    height: 35px;    border-radius: 50%;    background: var(--green);    color: #fff;
    display: flex;    align-items: center;    justify-content: center;    font-weight: 800;    z-index: 1;}
.step h3{margin:0 0 16px;font-weight:800;line-height:1.3}
.step p{font-size: 16px;line-height:1.62;margin:0;color:#20242a}

/* TRUST */
.trust-section{border-bottom:1px solid var(--line);background:#fff}
.trust-inner{
  max-width:1200px;margin:0 auto;padding:25px 66px 0;
  display:grid;grid-template-columns:330px 1fr;gap:45px;
}
.trust-left{padding-right:28px;border-right:1px solid var(--line)}
.trust-item{
  display:grid;grid-template-columns:50px 1fr;align-items:center;
  min-height:58px;border-bottom:1px solid var(--line);
}
.trust-item:last-child{border-bottom:0}
.trust-item svg{width:34px;height:34px;color:var(--green)}
.trust-item strong{font-size:18px}
.trust-copy{padding-top:2px;line-height:1.55}
.trust-copy p{font-size: 16px;margin:0 0 16px}
.trust-copy .em{font-weight:800;color:var(--green-dark)}

/* CONTACT */
.contact-section{background:linear-gradient(90deg,#f6fbf9,#eef8f4)}
.contact-inner{
  max-width:1200px;margin:0 auto;padding:18px 55px 0;
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr) 150px;gap:28px;align-items:center
}
.contact-left{padding-right:28px}
.contact-left h2{font-size:25px;line-height:1.12;margin:0 0 13px}
.contact-left h2 .green{color:var(--green)}
.contact-left p{font-size:11.4px;line-height:1.55;margin:0 0 14px;max-width:475px}
.contact-left .button{padding:10px 15px;min-width:250px;font-size:12px}
.contact-card{border-left:1px solid #a9c9bd;padding-left:36px;min-height:150px}
.contact-card h3{font-size:20px;color:#0e442f;margin:0 0 2px}
.contact-card .tag{font-size:11.4px;margin-bottom:10px}
.contact-row{display:flex;align-items:center;gap:10px;font-size:11.7px;margin:8px 0}
.contact-row svg{width:18px;height:18px;color:var(--green)}

/* TESTPORTRÄT: rechte Spalte im Kontaktbereich */
.kontakt-portrait{display:flex;justify-content:center;align-items:center;min-width:0}
.kontakt-portrait img{display:block;width:140px;height:140px;object-fit:cover;object-position:center;border-radius:50%}
@media (width > 600px) and (height > 600px) {
  .kontakt-portrait{align-self:start;transform:translateY(11px) translateX(-114px)}
}

/* DISCLAIMER*/
.lageal-disclaimer-section{background:linear-gradient(90deg,#f6fbf9,#eef8f4)}
.disclaimer-inner{
  max-width:1200px;margin:0 auto;padding:18px 55px 0;
}

.legal-disclaimer-section

/* FOOTER */
footer{background:#fff}
.footer-inner{
  max-width:1200px;margin:0 auto;padding:20px 0 20px 35px;
  display:flex;align-items:center;justify-content:space-between;}
.footer-links{display:flex;gap:17px;align-items:center}
.sep{color:#77817d}

/* BACK TO TOP */
.back-to-top {    position: fixed;    right: 24px;    bottom: 24px;    z-index: 1000;    width: 42px;    height: 42px;
    display: flex;    align-items: center;    justify-content: center;
    border: 1px solid var(--green);    border-radius: 50%;    background: #fff;
    color: var(--green);    font-size: 21px;    line-height: 1;
    cursor: pointer;    opacity: 0;    visibility: hidden;    transform: translateY(8px);
    transition:        opacity .2s ease,        transform .2s ease,        background .2s ease,        color .2s ease;}

.back-to-top.visible {    opacity: 1;    visibility: visible;    transform: translateY(0);}
.top-triangle {    width: 0;    height: 0;    border-left: 6px solid transparent;    border-right: 6px solid transparent;    border-bottom: 9px solid var(--green);}

.back-to-top:hover {    background: var(--green);    border-color: var(--green);}
.back-to-top:hover .top-triangle {    border-bottom-color: #fff;}

/* =====================================================
   FRAGEN ZUM DIGITALEN NACHLASS
   ===================================================== */
.nachlasswerk-faq {
  --faq-row-padding: clamp(12px, 2vw, 16px);
  max-width: 1200px;
  margin-inline: auto;
  padding: 33px 66px 30px;
  color: var(--ink, #0d1a2a);
}

.nachlasswerk-faq > h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
}

.nachlasswerk-faq > details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: var(--faq-row-padding);
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

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

.nachlasswerk-faq summary:focus-visible {
  outline: 2px solid var(--green-dark, #006f4d);
  outline-offset: -3px;
}

.nachlasswerk-faq__frage {
  overflow-wrap: anywhere;
}

.nachlasswerk-faq__symbol {
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--green-dark, #006f4d);
}

.nachlasswerk-faq__symbol::before,
.nachlasswerk-faq__symbol::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 14px;
  height: 2px;
  margin: auto;
  border-radius: 1px;
  background: currentColor;
}

.nachlasswerk-faq__symbol::after {
  transform: rotate(90deg);
}

.nachlasswerk-faq > details[open] .nachlasswerk-faq__symbol::after {
  display: none;
}

.nachlasswerk-faq > details > p {
  max-width: 75ch;
  margin: 0;
  padding: var(--faq-row-padding);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) and (orientation: portrait) {
  .nachlasswerk-faq {
    padding: 24px 20px 30px;
  }
}

@media (max-height: 600px) and (orientation: landscape) {
  .nachlasswerk-faq {
    padding: 24px 28px 30px;
  }
}
.nachlasswerk-faq > h2 > span {
  color: var(--green, #00885d);
}

.nachlasswerk-faq > details {
  background: transparent;
  border-bottom: 1px solid var(--line, #dce5e1);
  border-radius: 0;
}

.nachlasswerk-faq > details:first-of-type {
  border-top: 1px solid var(--line, #dce5e1);
}

.nachlasswerk-faq > details > summary:hover {
  background: #f6fbf9;
}

.nachlasswerk-faq > details[open] > summary {
  background: #eef8f4;
}

/* =====================================================
   LEGAL OVERLAY
   Impressum / Datenschutz
   ===================================================== */

.legal-overlay {    position: fixed;    inset: 0;    z-index: 5000;    display: none;    align-items: center;    justify-content: center;}
.legal-overlay.is-open {    display: flex;}

/* abgedunkelte Website im Hintergrund */
.legal-backdrop {    position: absolute;    inset: 0;    background: rgba(13, 26, 42, 0.48);    backdrop-filter: blur(2px);}

/* eigentliches Fenster */
.legal-dialog {    position: relative;    z-index: 1;    width: min(860px, calc(100% - 64px));    max-height: calc(100vh - 80px);
    display: flex;    flex-direction: column;    background: #fff;    border-radius: 3px;    box-shadow:        0 20px 60px rgba(13, 26, 42, 0.22);    overflow: hidden;}

/* Kopfzeile */
.legal-header {    flex: 0 0 auto;    display: flex;    align-items: center;    justify-content: space-between;    min-height: 76px;    padding: 0 34px;    background: #fff;    border-bottom: 1px solid var(--line);}

.legal-header h2 {    margin: 0;    font-size: 24px;    font-weight: 800;    color: var(--ink);}

/* Schließen-Button */
.legal-close {    width: 42px;    height: 42px;    padding: 0;    border: 0;    background: transparent;
    color: var(--green);    font-family: Arial, Helvetica, sans-serif;    font-size: 34px;    font-weight: 300;    line-height: 1;    cursor: pointer;}
.legal-close:hover {    color: var(--green-dark);}

/* scrollbarer Inhalt */
.legal-content {    overflow-y: auto;    padding: 0px 44px 48px;}

/* einzelne Seite */
.legal-page {    display: none;    max-width: 700px;}
.legal-page.is-active {    display: block;}
.legal-page h3 {    margin: 0 0 28px;    font-size: 30px;    font-weight: 800;    color: var(--green-dark);}
.legal-page h4 {    margin: 32px 0 10px;    font-size: 17px;    font-weight: 800;    color: var(--ink);}
.legal-page p {    margin: 0 0 18px;    font-size: 14px;    line-height: 1.65;    color: #18202a;}

/* verhindert Scrollen des Onepagers
   während das Overlay geöffnet ist */

body.legal-open {    overflow: hidden;}

/* =====================================================
   SMARTPHONE – PORTRAIT
   ===================================================== */

@media (max-width: 600px) and (orientation: portrait) {

    /* -----------------------------------------
       ALLGEMEIN
       ----------------------------------------- */

    section {
        padding-top: 24px;
        padding-bottom: 32px;
    }

    body {
        font-size: 14px;
    }

    /* -----------------------------------------
       HEADER / NAVIGATION
       ----------------------------------------- */

    header {
        height: 60px;
    }

    .header-inner {
        padding: 0 18px;
    }

    .logo {
        font-size: 19px;
    }

    nav {
        position: relative;
        margin-left: auto;
        display: block;
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 48px;
        right: 0;
        min-width: 180px;
        padding: 8px 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 6px;
        box-shadow: 0 8px 24px rgba(13,26,42,.12);
        z-index: 1200;
    }

    nav.is-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 13px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .nav-links a.active:after {
        display: none;
    }

    .nav-links a:hover {
        background: #f2f8f5;
    }

    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        overflow: visible;
    }

    .hero-bg {
        display: none;
    }

    .hero-inner {
        width: 100%;
        max-width: none;

        padding: 0;

        display: block;
    }

    .hero-left {
        padding: 36px 20px 34px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.05;
        letter-spacing: -1.2px;
    }

    .hero-title .line1,
    .hero-title .line2 {
        white-space: normal;
    }

    .hero-sub {
        max-width: none;
        font-size: 14px;
    }

    .hero-promise {
        font-size: 14px;
    }

    .hero-right {
        padding: 34px 20px 38px;

        display: block;

        background:
            linear-gradient(
                120deg,
                #f7fbfa 0%,
                #edf7f4 100%
            );
    }

    .problem-head {
        padding-top: 0;
        text-align: center;
    }

    .problem-icon {
        margin: 0 auto 20px;
    }

    .problem-head h2 {
        font-size: 23px;
    }

    .problem-copy {
        max-width: none;
        padding-top: 28px;
    }

    /* -----------------------------------------
       LEISTUNGEN
       ----------------------------------------- */

    .section-inner {
        padding: 0 20px;
    }

    .services-section h2 {
        text-align: center;
        margin-top: 8px;
        margin-bottom: 28px;
    }

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

    .service {
        min-height: 0;

        margin-right: 0;
        padding: 26px 0;

        border-right: 0;
        border-bottom: 1px solid var(--line);

        text-align: left;
    }

    .service:last-child {
        border-bottom: 0;
    }

    /* Icon mittig */

    .service-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
    }

    /* Überschrift unter dem Icon mittig */

    .service h3 {
        text-align: center;
        margin-bottom: 14px;
    }

    /* Beschreibung bewusst linksbündig */

    .service p {
        text-align: left;
    }

    /* -----------------------------------------
       ABLAUF
       ----------------------------------------- */

    .flow-inner {
        padding: 12px 20px 0;
    }

    .flow-title {
        font-size: 23px;
        margin-bottom: 30px;
    }

    .flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Horizontale Desktop-Linie verschwindet */

    .step {
        padding: 0 0 30px;
    }

    /* Nummernkreis mittig */

    .badge {
        position: relative;

        top: auto;
        left: auto;

        transform: none;

        margin: 0 auto 14px;
    }

    .step h3 {
        text-align: center;
        margin-bottom: 12px;
    }

    .step p {
        text-align: left;
    }

    /* -----------------------------------------
       PRINZIPIEN / VERTRAUEN
       ----------------------------------------- */

    .trust-inner {
        padding: 12px 20px 0;

        display: block;
    }

    .trust-left {
        padding-right: 0;
        margin-bottom: 28px;

        border-right: 0;
    }

    .trust-left {
        display: none;
    }

    .trust-item {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 18px 0;
    }

    /* Icons mittig */

    .trust-item svg {
        display: block;

        margin: 0 auto 10px;
    }

    .trust-item strong {
        display: block;
        text-align: center;
    }

    .trust-copy {
        padding-top: 0;
    }

    .trust-copy p {
        text-align: left;
    }

    /* -----------------------------------------
       KONTAKT
       ----------------------------------------- */

    .contact-inner {
        padding: 14px 20px 4px;

        display: block;
    }

    .contact-left {
        padding-right: 0;
        margin-bottom: 34px;
    }

    .contact-left h2 {
        font-size: 25px;
    }

    .contact-left p {
        max-width: none;
        font-size: 14px;
    }

    .contact-left .button {
        min-width: 0;
    }

    .contact-card {
        min-height: 0;

        padding-left: 0;
        padding-top: 24px;

        border-left: 0;
        border-top: 1px solid #a9c9bd;
    }

    .contact-card h3,
    .contact-card .tag {
        text-align: center;
    }

    /* Kontakt-Icons + Inhalt */

    .contact-row {
        justify-content: center;
        font-size: 13px;
    }

    /* -----------------------------------------
       FOOTER
       alles nebeneinander und links
       ----------------------------------------- */

    .footer-inner {
        padding: 18px 20px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        gap: 12px;

        font-size: 10px;

        white-space: nowrap;
    }

         .kontakt-portrait{margin-top:24px;justify-content:center}

/* -----------------------------------------
       BACK TO TOP
       ----------------------------------------- */

    /* -----------------------------------------
       LEGAL OVERLAY
       ----------------------------------------- */

    .legal-header {
        position: relative;

        z-index: 10;

        flex: 0 0 60px;

        width: 100%;

        padding: 0 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        background: #fff;

        border-bottom: 1px solid var(--line);
    }

    .legal-header h2 {
        margin: 0;

        font-size: 20px;
    }

    .legal-close {
        position: relative;

        z-index: 20;

        flex: 0 0 44px;

        width: 44px;
        height: 44px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
        margin: 0;

        border: 0;

        background: transparent;

        color: var(--green);

        font-size: 34px;

        cursor: pointer;
    }

    .legal-content {
        flex: 1 1 auto;

        min-height: 0;

        padding: 20px 20px 46px;

        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
    }
}

/* =====================================================
   SMARTPHONE – LANDSCAPE
   ===================================================== */

@media (max-height: 600px) and (orientation: landscape) {

    /* -----------------------------------------
       ALLGEMEIN
       ----------------------------------------- */

    section {
        padding-top: 20px;
        padding-bottom: 28px;
    }

    body {
        font-size: 14px;
    }

    /* -----------------------------------------
       HEADER / NAVIGATION
       ----------------------------------------- */

    header {
        height: 56px;
    }

    .header-inner {
        padding: 0 24px;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 24px;
        position: static;
        min-width: 0;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .nav-links a {
        padding: 18px 0 16px;
        font-size: 12px;
    }

    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero-inner {
        width: 100%;
        max-width: none;

        padding: 0 28px;

        grid-template-columns: 46% 54%;
    }

    .hero-left {
        padding-top: 32px;
        padding-right: 24px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.04;
        letter-spacing: -1.2px;
    }

    .hero-title .line1,
    .hero-title .line2 {
        white-space: nowrap;
    }

    .hero-sub {
        font-size: 13px;
        line-height: 1.45;
    }

    .hero-promise {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .hero-right {
        padding: 30px 0 0 42px;

        grid-template-columns: 135px 1fr;
        gap: 24px;
    }

    .problem-head {
        padding-top: 8px;
    }

    .problem-icon {
        width: 82px;
        height: 82px;

        margin: 0 auto 22px;
    }

    .problem-icon svg {
        width: 49px;
        height: 49px;
    }

    .problem-head h2 {
        font-size: 19px;
    }

    .problem-copy {
        max-width: none;

        font-size: 13px;
        line-height: 1.48;
    }

    .problem-copy p {
        margin-bottom: 14px;
    }

    /* -----------------------------------------
       LEISTUNGEN
       zwei Spalten
       ----------------------------------------- */

    .section-inner {
        padding: 0 28px;
    }

    .services-section h2 {
        text-align: center;

        margin-top: 8px;
        margin-bottom: 24px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);

        column-gap: 34px;
        row-gap: 0;
    }

    .service {
        min-height: 0;

        margin-right: 0;
        padding: 22px 0 26px;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    /* Icon mittig */

    .service-icon {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 14px;
    }

    .service h3 {
        text-align: center;
        margin-bottom: 12px;
    }

    .service p {
        text-align: left;
    }

    /* -----------------------------------------
       ABLAUF
       ----------------------------------------- */

    .flow-inner {
        padding: 12px 28px 0;
    }

    .flow-title {
        font-size: 23px;
        margin-bottom: 26px;
    }

    .flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step {
        padding: 0 0 24px;
    }

    /* Nummernkreis mittig */

    .badge {
        position: relative;

        top: auto;
        left: auto;

        transform: none;

        margin: 0 auto 12px;
    }

    .step h3 {
        text-align: center;
        margin-bottom: 10px;
    }

    .step p {
        text-align: left;
    }

    /* -----------------------------------------
       PRINZIPIEN / VERTRAUEN
       ----------------------------------------- */

    .trust-inner {
        padding: 16px 28px 0;

        grid-template-columns: 280px 1fr;
        gap: 34px;
    }

    .trust-left {
        padding-right: 24px;
    }

    .trust-item {
        grid-template-columns: 44px 1fr;
        min-height: 54px;
    }

    .trust-item svg {
        width: 30px;
        height: 30px;
    }

    .trust-item strong {
        font-size: 16px;
    }

    .trust-copy {
        font-size: 13px;
    }

    .trust-copy p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* -----------------------------------------
       KONTAKT
       ----------------------------------------- */

    .contact-inner {
        padding: 16px 28px 4px;

        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .contact-left {
        padding-right: 18px;
    }

    .contact-left h2 {
        font-size: 23px;
    }

    .contact-left p {
        max-width: none;

        font-size: 13px;
    }

    .contact-left .button {
        min-width: 240px;
    }

    .contact-card {
        padding-left: 38px;
    }

    .contact-card h3 {
        font-size: 19px;
    }

    .contact-card .tag {
        font-size: 11px;
    }

    .contact-row {
        font-size: 12px;
    }

    /* -----------------------------------------
       FOOTER
       alles nebeneinander + linksbündig
       ----------------------------------------- */

    .footer-inner {
        padding: 16px 24px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        gap: 16px;

        font-size: 10px;
        white-space: nowrap;
    }

    .kontakt-portrait{
        transform: translateY(0px) translateX(50%);
    }

    /* -----------------------------------------
       BACK TO TOP
       ----------------------------------------- */

    /* -----------------------------------------
       LEGAL OVERLAY
       ----------------------------------------- */

    /* Im Querformat bewusst flacher */

    .legal-header {
        position: relative;

        z-index: 10;

        flex: 0 0 54px;

        width: 100%;

        padding: 0 22px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        background: #fff;

        border-bottom: 1px solid var(--line);
    }

    .legal-header h2 {
        margin: 0;

        font-size: 19px;
    }

    .legal-close {
        position: relative;

        z-index: 20;

        flex: 0 0 42px;

        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
        margin: 0;

        border: 0;

        background: transparent;

        color: var(--green);

        font-size: 32px;

        cursor: pointer;
    }

    .legal-content {
        flex: 1 1 auto;

        min-height: 0;

        padding: 16px 28px 40px;

        overflow-y: auto;

        -webkit-overflow-scrolling: touch;
    }

    .legal-page h4 {
        margin-top: 24px;
    }
}

@media (max-width: 600px) and (orientation: portrait),
(max-height: 600px) and (orientation: landscape) {
  .nachlasswerk-faq > h2 {
    font-size: 23px;
  }
}

@media (max-width: 600px) and (orientation: portrait),
(max-width: 600px) and (orientation: landscape) {
  .flow::before {
    display: none;
  }

  .footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .legal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 5000;
  }

  .legal-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .legal-page {
    width: 100%;
    max-width: none;
  }
}
