* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-green: #88B04B;
            --dark-green: #597331;
            --light-bg: #FAF9F6;
            --light-green: #C3D7A5;
            --yellow: #FADD85;
            --light-yellow: #FDF3D4;
            --text-dark: #4E403B;
            --text-light: #666666;
        }

        .light-green-bg { background: var(--light-green);}

        /* Fonts */
        /* pt-serif-regular - latin */
        /* pt-serif-regular - latin */
        @font-face {
          font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
          font-family: 'PT Serif';
          font-style: normal;
          font-weight: 400;
          src: url('fonts/pt-serif-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }
        /* pt-serif-italic - latin */
        @font-face {
          font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
          font-family: 'PT Serif';
          font-style: italic;
          font-weight: 400;
          src: url('fonts/pt-serif-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }
        /* pt-serif-700 - latin */
        @font-face {
          font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
          font-family: 'PT Serif';
          font-style: normal;
          font-weight: 700;
          src: url('fonts/pt-serif-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }
        /* nunito-sans-regular - latin */
        @font-face {
          font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
          font-family: 'Nunito Sans';
          font-style: normal;
          font-weight: 400;
          src: url('fonts/nunito-sans-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }
        /* nunito-sans-700 - latin */
        @font-face {
          font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
          font-family: 'Nunito Sans';
          font-style: normal;
          font-weight: 700;
          src: url('fonts/nunito-sans-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

        body {
            font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background: var(--light-bg);
        }

        h1, h2, h3 {
            font-family: 'PT Serif', 'Georgia', 'Times New Roman', serif;
            font-weight: 300;
            letter-spacing: 0.5px;
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: var(--primary-green);
        }
        h3 {
            color: var(--text-dark);
            font-size: 1.5rem;
            margin: 20px 0 10px 0;
        }

 

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            z-index: 1000;
            transition: all 0.3s ease;

            /*
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 8px;
            */
        }

        nav.scrolled {
            padding: 10px 0;
            box-shadow: 0 2px 30px rgba(0,0,0,0.1);
        }

        #nav-container {
            max-width: 1200px;

            display: flex;
            align-items: center;

        }

        #logo-container {
            
            margin: 30px 0 10px 0;
            display: block;
            justify-content: space-between;
            align-items: center;
        } 

        .logo {
            font-size: 16px;
            font-weight: 300;
            color: var(--primary-green);
            letter-spacing: 2px;
            line-height: 1.1;
            width: 460px;
            height: 80px;
            margin: 0px auto 0px -15px;
        }

        .logo img {float: left; width: 50%;}
        .logo p {float: right; display: block; font-weight: normal; display: block; padding-top: 10px;}
        .logo p span {font-size: 16px; font-weight: bold; display: block; margin-top: 2px;}

        .nav-links {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-green);
            transition: width 0.3s ease;




        }

        .nav-links {margin-top: 2px;}
        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary-green);
        }

        .nav-links li .subnav-links {
            display: none;
        }

        .nav-links li:hover .subnav-links {
            display: block;
            list-style: none;
            position: absolute;
            background: #fff;
            padding: 10px;
            margin-left: -10px;
            border-radius: 3px;
            box-shadow: 0 20px 60px rgba(64, 191, 193, 0.15);
            margin-top: 2px;
        }
        .nav-links .icon {
          display: none;
        }

        .nav-links li .subnav-links li:before {
                content: "\21FE";
                color: var(--primary-green);
                padding-right: 6px;
            }

        @media screen and (max-width: 600px) {
          .nav {min-height: 190px;}
        }

        @media screen and (max-width: 600px) {
          .nav-links li {display: none;}
          .nav-links li.icon {
            float: right;
            display: block;
          }
        }

        @media screen and (max-width: 600px) {
          #nav-container.responsive  {display: block; background-color: #faf9f6;}
          .responsive .nav-links {display: block;margin-top: 5px}
          .responsive .nav-links li {
            position: relative; 
            display: block;
            float: none;
            display: block;
            text-align: left;
            padding: 2px 0;
        }
          .responsive .nav-links li.icon, .nav-links .icon {
           /* position: absolute;
            right: 0;
            top: 0;
            */
            text-align: center;
          }

          .responsive .nav-links li.icon a {
            font-size: 13px;
          }

          .responsive .nav-links li.icon span::after {
              content: " X schließen";

            }


          .responsive .nav-links li a {
            font-size: 20px;
            font-weight: normal;
            letter-spacing: 2px
        }
          .responsive .nav-links li:hover .subnav-links, .responsive .nav-links li .subnav-links {
            display: block; 
            position: relative;
            background: none;
            padding: 0px;
            margin-left: 15px;
            border-radius: 0;
            box-shadow: none;
            }

        }



        /* Hero Section */
        .hero2 { 

         }
         .hero2 .split-image {
            background-size: cover;
            background-position: center;
            overflow: hidden;
            max-height: 500px;
            border-left: 5px solid var(--yellow);

         }
         .hero2 .split-image img {
            object-fit: cover;
            width: 100%;
            height: 100%;

         }
         .hero2 .split-content {padding-right: 40px;}

         .hero2 .about-container {
            gap: 0px;

        }

        .hero {
            margin-top: 80px;
          /*  height: 70vh; */
            height: auto;
            background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        #kontakt.hero {
            height: 80vh;
        }

        @media screen and (max-width: 600px) {
          #kontakt.hero {margin-top: 120px;}
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .hero-content {
            text-align: center;
            color: white;
            z-index: 1;
            padding: 40px;
        }

        .hero h1 {
            font-size: 56px;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease;
            color: var(--text-dark);
        }

        .hero p {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.95;
            animation: fadeInUp 1s ease 0.2s backwards;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            animation: fadeInUp 1s ease 0.4s backwards;
        }

        .btn, .cta-buttons a.btn {
            padding: 7px 30px;
            text-decoration: none;
            border-radius: 3px;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            border-bottom: 5px solid var(--primary-green)!important;
            cursor: pointer;
        }

        .btn-primary {
            background: white;
            color: var(--primary-green);
        }

        .btn-primary:hover {
            background: transparent;
            color: white!important;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .btn-secondary {
            background: var(--primary-green);
            color: white;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--primary-green);
            transform: translateY(-2px);
        }

        .btn-link {
            background: transparent;
            color: white;
            border: 0px solid transparent!important;
        }

        .btn-link:hover {color: var(--text-dark)!important;}


        /* CTA Section */
        .cta {
           /* height: 38vh; */
            background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
            display: flex;
            align-items: center;
            justify-content: left;
            position: relative;
          /*  overflow: hidden; */
        }


        .cta-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: left;
            color: white;
            z-index: 1;
            padding: 40px;
        }

        .cta h3 {
            font-size: 36px;
            margin-bottom: 5px;
            animation: fadeInUp 1s ease;
            color: var(--text-dark);
        }

        .cta p {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.95;
            animation: fadeInUp 1s ease 0.2s backwards;
        }

        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            animation: fadeInUp 1s ease 0.4s backwards;
        }

        .btn {
            padding: 7px 30px;
            text-decoration: none;
            border-radius: 5px;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            border-bottom: 5px solid var(--yellow);
            cursor: pointer;
        }

        .btn-primary {
            background: white;
            color: var(--primary-green);
        }

        .btn-primary:hover {
            background: transparent;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .btn-secondary {
            background: var(--primary-green);
            color: white!important;
        }

        .btn-secondary:hover {
            background: white;
            color: var(--primary-green)!important;
            transform: translateY(-2px);
        }

        /* Services Section */
        .services {
            max-width: 1200px;
            margin: 100px auto;
            padding: 0px 0px ;
        }

        .section-title {
            text-align: left;
            font-size: 42px;
            margin-bottom: 60px;
            color: var(--text-dark);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .service-card {
            background: white;
            padding: 50px 40px;
            border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
/*
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary-green);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(64, 191, 193, 0.15);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--yellow);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 36px;
            color: var(--primary-green);
        }
*/
        .service-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--primary-green);
        }

        .service-card p {
            color: var(--text-light);
            line-height: 1.8;
        }

        .services .about-content hgroup {
            margin-top: 50px;
            margin-bottom: 0;

        }

        #therapie {
            padding: 20px 0;
        }
        #uebermich {
            padding: 20px 0 0;
        }

        /* About Section */
        .about {
            padding: 100px 40px;
            /*margin: 100px 0;*/
        }

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: auto;
        }

        .about-image {
            width: 60%;
            max-height: 400px;
            background: linear-gradient(135deg, var(--light-yellow) 0%, var(--yellow) 100%);
            border-radius: 4px;
            position: relative;
            overflow: hidden;
            margin-top: 15px;
        }
/*
        .about-image::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            border: 2px solid rgba(64, 191, 193, 0.3);
            border-radius: 8px;
        }
*/
        .about-image img {
            width: 100%;
        }

        .about-content h2, .split-content h2 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: var(--primary-green );
            line-height: 1.1;
        }

        .about-content p {
          /*  color: var(--text-light); */
            margin-bottom: 20px;
            line-height: 1.9;
            font-size: 17px;
        }

        .about-content ul {margin-left: 20px;}
        .about-content ul ul {margin-left: 20px;}

        .about a, .services a {
            text-decoration: none;
            color: var(--text-dark);
            letter-spacing: 0.5px;
            transition: color 0.3s ease;
            position: relative;
            border-bottom: 2px solid var(--primary-green);
            padding-bottom: 3px;
        }

        .about a::after, .services a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-green);
            transition: width 0.3s ease;

        }

        a.btn::after {background: none;}

        .about a:hover::after,
        .about a.active::after,
        .services a:hover::after,
        .services a.active::after {
            width: 100%;
        }

        .about a:hover,
        .about a.active,
        .services a:hover,
        .services a.active{
            color: var(--primary-green);
            border-bottom: transparent;
            padding-bottom: 0px;

        }
        a:hover.btn {
            color: var(--primary-green);
            border-bottom: inherit;
            padding-bottom: inherit;

        }


         /* Team Section */
        .team-section {
            /*background: var(--light-yellow);*/
            padding: 0px 60px 120px 64px;
        }

        .team-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .team-container a {
            text-decoration: none;
            letter-spacing: 0.5px;
        }

        .team-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .team-header h2 {
            font-size: 42px;
            color: white;
            margin-bottom: 20px;
            letter-spacing: 3px;
        }

        .team-header p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
            font-style: italic;
        }

        .team-grid {
            display: grid;
            /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
            grid-template-columns: repeat(4, 1fr);
            gap: 5px;
        }

        .team-member {
            background: var(--primary-green);
            overflow: hidden;
            transition: transform 0.4s ease;
        }

        .team-member:hover {
            transform: translateY(-10px);
        }

        .team-member-special {grid-column: 3 / span 2;}

        .team-photo {
            width: 100%;
            height: 400px;
            background: linear-gradient(rgba(64, 191, 193, 0.1), rgba(64, 191, 193, 0.2)),
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 450"><rect fill="%23D4DBC8" width="400" height="450"/></svg>');
            background-size: cover;
            background-position: center;
            overflow: hidden;
        }

        .team-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .team-info {
            padding: 20px 35px;
            text-align: center;
        }

        .team-info h3 {
            font-size: 24px;
            margin-bottom: 10px;
            letter-spacing: 1px;
            color: var(--text-dark);
        }

        .team-role {
            font-size: 13px;
            color: var(--primary-turquoise);
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 20px;
        }

        .team-bio {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 14px;
            margin-bottom: 25px;
        }

        .team-specialties {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
        }

        /* Gallery */

        #bilder .row {
          display: -ms-flexbox; /* IE10 */
          display: flex;
          -ms-flex-wrap: wrap; /* IE10 */
          flex-wrap: wrap;
          padding: 0 0px;
        }

        /* Create four equal columns that sits next to each other */
        #bilder .column {
          -ms-flex: 25%; /* IE10 */
          flex: 25%;
          max-width: 25%;
          padding: 0 4px;
        }

        #bilder .column img {
          margin-top: 8px;
          vertical-align: middle;
          width: 100%;
        }

        /* Responsive layout - makes a two column-layout instead of four columns */
        @media screen and (max-width: 800px) {
          #bilder .column {
            -ms-flex: 50%;
            flex: 50%;
            max-width: 50%;
          }
        }

        /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
        @media screen and (max-width: 600px) {
          #bilder .column {
            -ms-flex: 100%;
            flex: 100%;
            max-width: 100%;
          }
        }


        /* Grid Container  */ 

        .container-full {
            max-width: 1200px;
            margin: 0 auto;
        }
        .grid-container11 {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: auto;
        }
        .grid-container31 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 8px;
        }
        .grid-container12 {
            display: grid;
            grid-template-columns: 1fr 2fr;
        }

        /* Text Section */
        .text {
            background: var(--yellow);
            padding: 100px 40px;
            margin: 100px 0;
        }

        .text-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .grid-container22 {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 2fr;
            gap: 80px;
            align-items: top;
        }

        .text-image {
            width: 100%;
            height: 500px;
            background: linear-gradient(135deg, var(--light-yellow) 0%, var(--yellow) 100%);
            border-radius: 8px;
            position: relative;
            overflow: hidden;
        }

        .text-image::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            border: 2px solid rgba(64, 191, 193, 0.3);
            border-radius: 8px;
        }

        .text-content h2 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: var(--text-dark);
            line-height: 1.1;
        }



        .text-content p {
           /* margin-bottom: 20px; */
            line-height: 1.7;
            font-size: 17px;
        }


        /* Footer */
        footer {
            background: white;
            color: var(--primary-green);
            padding: 80px 40px 0px 40px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 40px;
            margin-bottom: 0px;
        }

        .footer-section1 {
            grid-column: span 2 / span 2;
        }

        .footer-section h3 {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--primary-green);
        }

        .footer-section p,
        .footer-section a {
            color: var(--primary-green);
            text-decoration: none;

            margin-bottom: 10px;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--primary-green);
        }
        .footer-section a.top {float: right;}
        .footer-section a.top:before {
            content: "\2191";
            color: var(--primary-green);
            padding-right: 6px;

        }

        .colorbar {
            width: 100%;
            height: 50px;
            background-color: var(--primary-green);
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 0px;
        }
        .colorbar .div1 {
            grid-column: span 4 / span 4;
        }

        .colorbar .div2 {
            grid-column-start: 5;
            border-left: 5px solid var(--yellow);

        }

        .colorbar .div3 {
            grid-column-start: 6;
        }

        .colorbar .div4 {
            grid-column: span 2 / span 2;
            grid-column-start: 7;
            border-left: 5px solid var(--yellow);
            background-color: var(--dark-green);
        }
          

        /* blockquote */
        blockquote {
            position: relative;
            padding: 20px 0 20px 0;
            width: 100%;
            max-width: 500px;
            z-index: 1;
            align-self: center;
            border-top: solid 2px;
            border-bottom: solid 2px;
            border-color: var(--primary-green);
            color: var(--text-light);
        }

        .services blockquote p {
            position: relative;
            font-size: 22px!important;
            font-weight: 800;
            line-height: 1.2!important;
            margin: 0;
        }


        /* increase header size after 600px */
        @media all and (min-width: 600px) {
            blockquote p {
                font-size: 60px;
           }

        }



        /* Overwriting */

        h1 { color: var(--primary-green)}
        hgroup {margin-bottom: 30px;}
        hgroup, hgroup h2, hgroup p { color: var(--dark-green);}

        hgroup h2, hgroup h1 { 
            margin-bottom:0; 
            line-height: 45px!important;
        }
        hgroup p.h-subline { 
            font-size: 1.4rem!important; 
            margin: 15px 0 20px 0!important; 
            line-height: 1.2!important; 
            color: var(--primary-green);
        }
        .hero2 hgroup p.h-subline {
            font-size: 2.0rem!important;
            line-height: 1.2!important;
        }
        .headline {background-color: white; padding-bottom: 35px;}
        .headline hgroup h1 {line-height: 0;}
        .headline hgroup p.h-subline {
            font-size: 2.0rem!important;
            line-height: 1.2!important;
            font-family: 'PT Serif';
            font-weight: 700;
            margin: 0px 0 20px 0!important;
        }
        .headline p {}

        #home, #kinder, #services, #erwachsene, #headline, #kontakt, #praxis, #stellen, .hero2, #sw, #sk, #ss, #motorik, #kognition, #psyche, #team, #bilder { scroll-margin-top: 200px; padding-top: 100px;}
        
        @media (max-width: 768px) {
        #home,  #services,  #headline, #kontakt, #praxis, .hero2{ scroll-margin-top: 250px; padding-top: 150px!important;}
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
            /* for cinemascope */
            /*
        @media (min-width: 1500px) and (max-width: 1921px) {

            .hero h1 {
                font-size: 36px;
                color: red;
            }
        }
        */
        @media (min-height: 750px) and (max-height: 799px) {

            .cta {height: 50vh;}
            .about-image {max-height: 500px; width: 80%;}
            #home, #kinder, #services, #erwachsene, #headline, #kontakt, #praxis, #stellen, #sw, #sl, #ss { scroll-margin-top: 240px; padding-top: 140px;}

        }





        @media (max-width: 768px) {
            /*.nav-links {
                display: none;
            }*/

            .logo {width:100%;}
            #logo-container {margin-left: 15px;}
            .logo p {display: none;}
            .logo img {width: 80%;}
            .services {padding: 0 20px; margin: 100px auto 20px auto;}

            .hero h1 {
                font-size: 30px;
                color: var(--text-dark);
                line-height: normal;
            }

            .hero p {
                font-size: 16px;
            }

            #nav-container {
              padding: 20px 20px;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .cta h3 {
                font-size: 25px;
            }

            .about {
                padding: 20px 0;
            }

            .about-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-image {width: 100%}

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

            .text-container .footer-container {
                grid-template-columns: 1fr;
            }


            .grid-container22 {
                grid-template-columns: 1fr;
                gap: 0px;
            }

            .gableft20 {margin-left: 0;}

            section {
                padding-right: 20px!important;
                padding-left: 20px!important;
            }

            p, h1, h2, h3 {
              /*  padding-right: 20px;
                padding-left: 20px;
                */
            }

            h2, .text-content h2, .about-content h2 {font-size:1.7rem;}

            .section-title {
              font-size: 30px;
              margin-bottom: 40px;

            }

            hgroup h2, hgroup h1 {
                font-size:1.7rem;
              line-height: 34px !important;
            }
            hgroup p.h-subline {
              font-size: 1.4rem !important;
              line-height: 1.1em !important;
            }
            blockquote {margin: 0;}

            .btn {display: block;}


            .team-grid {
                grid-template-columns: repeat(1, 1fr);
            }
            .team-photo {
                height: 250px;
            }
            .team-photo img {
                object-position: top;
            }
            .team-info {
                padding: 10px;
            }
            .team-info h3 {
                margin: 0px;
            }
            .footer-container {
                grid-template-columns: repeat(1, 1fr);
            }
        }