/* ===========================================================
   FARBPALETTE
=========================================================== */

:root{
--bg:#08111d;
--panel:#101b2b;
--panel-light:#162233;
--primary:#2d6cdf;
--primary-dark:#1d4fa8;
--text:#eef3fa;
--text2:#aeb9c7;
--border:rgba(255,255,255,.08);
--shadow:rgba(0,0,0,.45);
--warning:#d98d2b;
--danger:#c94848;
--success:#2f8f5b;
}

html,
body{
    margin:0;
    padding:0;

    width:100%;
    min-height:100%;
    min-height:100vh;
    min-height:100dvh;

    background:#08111d;

    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
    padding-left:env(safe-area-inset-left);
    padding-right:env(safe-area-inset-right);
}

body{
overflow-x:auto;
margin:0;
font-family:"Inter",sans-serif;
background:
radial-gradient(
circle at top,
#112238,
#08111d 70%
);

color:var(--text);
overscroll-behavior-y:auto;

}

.app-shell{
 width:950px;
    min-width:950px;
    margin:auto;
    padding:24px;
    box-sizing:border-box;
    
    opacity:0;
transform:translateY(20px);
transition:
opacity 1.5s ease,
transform 1.5s ease;
}

.app-shell.show{
    animation:showApp 0.8s ease forwards;
    opacity:1;
transform:translateY(0);
}

.glass-card{
background:
linear-gradient(
180deg,
#162233,
#101b2b
);

padding:24px;
border-radius:18px;
margin-bottom:22px;
border:
1px solid rgba(255,255,255,.08);
box-shadow:
0 14px 40px rgba(0,0,0,.45),
inset 0 1px rgba(255,255,255,.05);
    
overflow:hidden;    
}

.hero{
text-align:left;
margin-bottom:35px;
padding-top:10px;
}

.hero h1{
font-size:44px;
font-weight:700;
margin-bottom:8px;
letter-spacing:-1px;
}

.hero p{
font-size:20px;
color:var(--text2);
}

.section-title{
display:flex;
align-items:center;
gap:14px;
font-size:22px;
font-weight:600;
margin-bottom:20px;
}

.section-title span:first-child{
width:36px;
height:36px;
display:flex;
justify-content:center;
align-items:center;
border-radius:50%;
background:
linear-gradient(
180deg,
#2d6cdf,
#1d4fa8
);

font-weight:bold;
}

.image-wrap{
    position:relative;
    width:fit-content;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
}

.image-wrap img,
.image-wrap canvas{
    display:block;
}

#zoomLayer{
    position:relative;
    display:inline-block;
    width:900px;
    min-width:900px;
    line-height:0;
}

#previewImage{
    display:block;
    width:900px;
    min-width:900px;
    height:auto;
    border-radius:12px;
}

canvas{
    position:absolute;
    inset:0;
    width:900px;
    min-width:900px;
    height:auto;
    touch-action:manipulation;
}

#overlayCanvas{
    touch-action:none;
}

button{
  width:100%;
  padding:14px;
  margin-top:10px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  color:white;
  font-size:16px;
    
  -webkit-tap-highlight-color: transparent;
    
border:1px solid rgba(255,255,255,0.15);

background:
linear-gradient(
180deg,
#2d6cdf,
#1d4fa8
);

transition:
  transform 0.12s ease,
  box-shadow 0.12s ease,
  filter 0.12s ease;

  box-shadow:
    0 6px 0 rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.25);
}
    
button:active{

  transform: scale(0.96);

  box-shadow:
    inset 0 3px 8px rgba(0,0,0,0.25),
    0 1px 3px rgba(0,0,0,0.15);

  filter: brightness(0.92);
}
    
button.pressed{
    transform: scale(0.96);
    filter: brightness(0.92);

    box-shadow:
        inset 0 3px 8px rgba(0,0,0,0.25),
        0 1px 3px rgba(0,0,0,0.15);

    transition: all .08s ease;
}    
    
    
#recommendBtn:disabled {
  background:#1f2937 !important;
  color:#94a3b8 !important;
  opacity:0.55;
  cursor:not-allowed;
  box-shadow:none;
  filter:grayscale(50%);
  transform:none;
}

#saveValidationBtn:disabled {
  background: #14532d !important;
  color: #86efac;
}
    
    
#manualSlagLabel.changed{
    color:#f97316;
    font-weight:700;
    text-shadow:0 0 6px rgba(249,115,22,0.4);
}
    
.half-btn{
  width:50%;
}


.manual-buttons{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.manual-buttons button{
    margin-top:0;
}


#changeImageBtn{
background:
linear-gradient(
180deg,
#2d6cdf,
#1d4fa8
);
}

#manualMeasureBtn{
  background:#2563eb;
}

    #updateManualBtn,
    #clearMaxSlagBtn{
        flex:1;
  background:#f97316;
}

    
#updateManualBtn{
    background:linear-gradient(180deg,#2d6cdf,#1d4fa8);
} 

#recommendBtn{
background:
linear-gradient(
180deg,
#2d6cdf,
#1d4fa8
);
}

/* Beispielbild im Popup */
#exampleLarge{
    display: block;
    width: 98%;
    max-width: 90vw;
    height: auto;
    margin: 0 auto;
}


.user-input{
    background:#ffffff !important;
    color:#111827 !important;
    border:
    1px solid rgba(0,0,0,.25);
}

/* automatisch berechnete Werte */
input[readonly]{
    background:#0d1826;
    color:#aeb9c7;
    cursor:default;
}

.controls-grid{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.controls-grid .input-group{
    flex:1 1 220px;
    min-width:220px;
}

.controls-grid .input-group select,
.controls-grid .input-group input,
.controls-grid .input-group textarea{
    width:50%;
}

.input-group label{
  display:block;
  margin-bottom:6px;
  opacity:0.8;
}

select,
input[type="number"],
input[type="text"],
textarea{
    width:100%;
background:#0d1826;
color:white;
border:
1px solid rgba(255,255,255,.12);
border-radius:10px;
padding:12px;
box-sizing:border-box;
transition:.2s;
}  

input:focus,
select:focus,
textarea:focus{
outline:none;
border-color:#2d6cdf;
box-shadow:
0 0 0 3px rgba(45,108,223,.15);
}

#maxOverrideInput{
    width:50%;
}

/* ==========================================
   3-STATE CHECKBOX
========================================== */

input[type="checkbox"]{

    appearance:none;
    -webkit-appearance:none;

    width:30px;
    height:30px;

    margin:0;

    border:2px solid #8aa4c7;
    border-radius:8px;

    background:#ffffff;

    cursor:pointer;

    position:relative;

    transition:.2s;
}

input[type="checkbox"]:hover{

    transform:scale(1.05);

    border-color:#2d6cdf;

}

/* -------- NICHT GEWÄHLT -------- */

input[type="checkbox"].state-none::before{

    content:"−";

    position:absolute;

    inset:0;

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

    font-size:22px;
    font-weight:bold;

    color:white;
}

/* -------- JA -------- */

input[type="checkbox"].state-yes{

    border-color:#16a34a;
    background:#16a34a;

}

input[type="checkbox"].state-yes::before{

    content:"✓";

    position:absolute;
    inset:0;

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

    color:white;

    font-size:20px;
    font-weight:bold;
}

/* -------- NEIN -------- */

input[type="checkbox"].state-no{

    border-color:#dc2626;
    background:#dc2626;

}

input[type="checkbox"].state-no::before{

    content:"✕";

    position:absolute;
    inset:0;

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

    color:white;

    font-size:18px;
    font-weight:bold;
}
    
    input,
select{
    height:42px;
    padding:10px 12px;
    font-size:14px;
    box-sizing:border-box;
}

input[type="number"]{

    appearance:textfield;
    -webkit-appearance:textfield;
    -moz-appearance:textfield;

    background:#ffffff;
    color:#111827;

}

.result-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:10px;
}

.metric-card{
background:
linear-gradient(
180deg,
#162233,
#111d2e
);
padding:18px;
border-radius:14px;
text-align:center;
border:
1px solid rgba(255,255,255,.08);
box-shadow:
inset 0 1px rgba(255,255,255,.05);
}

.metric-card-max {
background:
linear-gradient(
180deg,
#27466b,
#1b3553
);   /* etwas heller als die anderen */
padding:18px;
border-radius:14px;
text-align:center;
border:1px solid rgba(80,170,255,.35);   /* dezenter blauer Rahmen */
box-shadow:
0 0 12px rgba(80,170,255,.20),
inset 0 1px rgba(255,255,255,.08);
font-weight:700;   /* gesamter Text fett */
}

.footer{
  text-align:right;
  font-size:12px;
  opacity:0.6;
  margin-top:20px;
}
    
    .footer-link{

    color:inherit;

    text-decoration:none;
}

.footer-link:hover{

    text-decoration:underline;
}

#recommendationOutput{
  margin-top:15px;
  font-size:20px;
  font-weight:bold;
}
    
.language-switch{
    position:fixed;

    top:calc(env(safe-area-inset-top) + 12px);
    right:calc(env(safe-area-inset-right) + 12px);

    display:flex;
    background:#18283d;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.35);

    z-index:1000;
}

.language-switch .lang-btn{
    width:auto !important;
    min-width:55px;
    margin:0;
    padding:8px 14px;
    border:none;
    background:transparent;
    color:white;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.lang-btn{

    flex:none;

    padding:8px 14px;

    border:none;

    background:transparent;

    color:white;

    font-size:12px;

    font-weight:700;

    cursor:pointer;
}

.lang-btn.active{

    background:white;

    color:#1565C0;
}  


.help-btn{

    width:28px !important;
    min-width:28px !important;
    max-width:28px !important;

    height:28px;

    margin:0 !important;
    padding:0;

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

    flex:0 0 28px;

    border-radius:50%;

    background:#2563eb;

    color:white;

    font-size:14px;
    font-weight:bold;

    cursor:pointer;
}
    
    
 /* ADMIN */    
    
#adminLock{

position:fixed;

left:8px;
bottom:8px;

width:22px;
height:22px;

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

font-size:13px;

color:rgba(255,255,255,0.25);

background:transparent;

border:none;

cursor:pointer;

user-select:none;

opacity:0.35;

transition:opacity .2s, transform .2s;

z-index:99999;

}

#adminLock:hover{

opacity:0.8;

transform:scale(1.15);

}

#adminLock:active{

transform:scale(0.9);

}  
    
#adminOverlay{

position:fixed;

inset:0;

background:rgba(0,0,0,.65);

display:none;

align-items:center;

justify-content:center;

z-index:999999;

}

#adminBox{

width:360px;

background:white;

color:black;

padding:25px;

border-radius:18px;

}

#adminBox input{

margin-top:15px;

}

#adminBox button{

margin-top:15px;

}    
    
    
.adminRow{

display:flex;

align-items:center;

gap:16px;

margin-top:18px;

}

.adminRow>div:first-child{

flex:1;

}
    

.badge{

min-width:28px;
height:28px;

padding:0 6px;

background:#ef4444;

color:white;

border-radius:999px;

display:flex;

align-items:center;

justify-content:center;

font-size:13px;

font-weight:bold;

flex-shrink:0;

}    
    
    
#adminHeader{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:20px;

}

#adminHeader h2{

margin:0;

}

#closeAdmin{

font-size:24px;

cursor:pointer;

color:#666;

font-weight:bold;

padding:4px 8px;

border-radius:8px;

transition:.2s;

}

#closeAdmin:hover{

background:#eee;

color:black;

}    
    
    .deleteBtn{

width:38px !important;
height:38px;

padding:0;
margin:0;

background:#f97316;

color:white;

border:none;

border-radius:10px;

font-size:18px;

cursor:pointer;

display:flex;

align-items:center;

justify-content:center;

flex-shrink:0;

}
    
#adminLoginBtn{

background:#f97316;

color:white;

font-weight:bold;

}
    
.adminActionBtn{

width:100%;

margin-top:12px;

padding:12px;

background:#475569;

color:white;

border:none;

border-radius:12px;

font-size:15px;

font-weight:600;

transition:.2s;

}

.adminActionBtn:hover{

background:#334155;

}

.adminActionBtn:active{

background:#1e293b;

}    
    

#dbCounter{
    font-size:11px;
    margin-left:4px;
    color:white;
    opacity:0.8;
    vertical-align:middle;
}


.modal{
    display:none;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    min-height:100%;

    background:rgba(0,0,0,.55);
    z-index:9999;
}

.modal-content{
    position:absolute;
    width:min(700px,90vw);
    max-height:90vh;
    overflow:auto;

    background:#1d2430;
    border-radius:18px;
    padding:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.4);
}


.modal-close{
    position:absolute;
    top:12px;
    right:15px;

    width:34px;
    height:34px;

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

    padding:0;
    margin:0;

    border:none;
    background:transparent;

    color:white;
    font-size:28px;
    font-weight:bold;

    cursor:pointer;
    z-index:100;
}

.modal-close:hover{
    opacity:.7;
}

.analysis-left,
.analysis-right{
    min-width:0;
}

.analysis-layout{
    position:relative;
    overflow:hidden;
    min-height:350px;
}

.analysis-divider-vertical{
    width:1px;
    background:rgba(255,255,255,.12);
    align-self:stretch;
}

.analysis-left{
    width:100%;
}


.analysis-right{

    width:100%;

    padding:0;

}


.analysis-right input{
    width:100%;
}

.analysis-right button{
    width:100%;
}

.analysis-left,
.analysis-right{
    display:flex;
    flex-direction:column;
}

.analysis-left .section-title,
.analysis-right .section-title{
    margin:0 0 18px 0;
}

.analysis-image-header{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
    font-weight:600;
}

.analysis-divider{
    height:1px;
    background:rgba(255,255,255,0.18);
    margin:25px 0 20px;
}


.manual-panel{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    background:#162233;

    border-radius:14px;

    padding:25px;

    box-sizing:border-box;

    z-index:100;

    transform:translateX(100%);

    transition:transform .28s ease;

}

.manual-panel.open{
    transform:translateX(0);
}

.manual-tab{

    position:absolute;

    left:-100px;
    top:25px;

    width:100px;
    height:240px;

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

    background:linear-gradient(180deg,#2d6cdf,#1d4fa8);
    border:none;
    border-radius:12px 0 0 12px;
    color:#fff;
    cursor:pointer;

    overflow:hidden;

    z-index:110;
}

.manual-tab span{

    display:inline-block;

    white-space:nowrap;

    transform:rotate(-90deg);

    transform-origin:center center;

    font-weight:600;

    pointer-events:none;
}

#closeManualPanel{
    width:250px;
    margin-bottom:20px;
}



.hero-header{
    display:flex;
    align-items:center;
    gap:24px;
    margin-bottom:30px;
    transition: 0.2s ease;
    cursor: pointer;
}

.hero-logo{
    width:90px;
    height:90px;
    border-radius:18px;
    flex-shrink:0;
    box-shadow:
        0 15px 35px rgba(0,0,0,.4);
}

.hero-logo:hover{
transform: scale(1.12);
    filter: brightness(1.2);
       box-shadow:
        0 10px 25px rgba(0,0,0,.35);
}    
    
.hero-text h1{
    margin:0 0 8px 0;
}

.hero-text p{
    margin:0;
}

#exampleImage{
    width:100%;
    border-radius:10px;
    cursor:pointer;
    border:2px solid rgba(255,255,255,.15);
    transition:.2s;
}

#exampleImage:hover{
    transform:scale(1.03);
}


#customerNameTop{
    width:75%;
}

#machineNumber{
    width:50%;
}

    
 /* SPLASH SCREEN STYLING */
.splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #0f172a;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
                opacity: 1;
   transition:
opacity 1.4s cubic-bezier(.4,0,.2,1),
filter 1.4s ease;
        }

.splash-screen.hide{
    opacity:0;
    filter:blur(8px);
    pointer-events:none;
    visibility:hidden;
}
        
.splash-content {
            text-align: center;
            animation: slideUp 0.8s ease-out;
        }
        
.splash-logo {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;

    border-radius: 10px;
    overflow: hidden;

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

box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.15);

   animation:
scaleIn 0.8s ease-out,
glow 5s cubic-bezier(.4,0,.2,1) 0.8s 1 forwards;
}

.splash-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 10px;
}
    
.splash-logo,
.splash-logo-image {
    border-radius: 11%;
}    
        
        .splash-logo-icon {
            font-size: 120px;
        }
        
        .splash-title {
            font-size: 28px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }
        
        .splash-subtitle {
            font-size: 14px;
            color: #999;
            font-weight: 500;
            letter-spacing: 0.3px;
        }
        
        .splash-loader {
            margin-top: 40px;
            display: flex;
            gap: 6px;
            justify-content: center;
        }
        
        .loader-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #007AFF;
            animation: pulse 1.8s infinite;
        }
        
        .loader-dot:nth-child(1) { animation-delay: 0s; }
        .loader-dot:nth-child(2) { animation-delay: 0.3s; }
        .loader-dot:nth-child(3) { animation-delay: 0.6s; }
        
        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; visibility: hidden; }
        }
        
        @keyframes slideUp {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes scaleIn {
            0% { opacity: 0; transform: scale(0.8); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        @keyframes pulse {
            0%, 60%, 100% { opacity: 0.3; transform: scale(1); }
            30% { opacity: 1; transform: scale(1.2); }
        }    

@keyframes showApp{
from{
    opacity:0;
    transform:translateY(5px);
}
to{
    opacity:1;
    transform:translateY(0);
}
}

/* =========================================
   LOGO GLOW
========================================= */

.splash-logo{
    animation:
        scaleIn 0.8s ease-out,
        glow 3.5s ease-in-out 0.8s 1;
}

@keyframes glow{

0%{
box-shadow:
0 8px 16px rgba(0,0,0,.25),
0 0 10px rgba(0,120,255,.15);
}

35%{
box-shadow:
0 0 35px rgba(0,170,255,.65),
0 0 90px rgba(0,170,255,.45),
0 0 150px rgba(255,255,255,.25);
}

65%{
box-shadow:
0 0 25px rgba(0,150,255,.45),
0 0 70px rgba(0,150,255,.30),
0 0 120px rgba(255,255,255,.15);
}

100%{
box-shadow:
0 8px 16px rgba(0,0,0,.25),
0 0 8px rgba(0,120,255,.10);
}

}

/* =========================================
   LIGHTNING
========================================= */

.splash-logo::after{

content:"";
position:absolute;

top:-30%;
left:-160%;

width:60%;
height:160%;

background:
linear-gradient(
90deg,
transparent,
rgba(255,255,255,.95),
rgba(120,220,255,.95),
transparent
);

transform:rotate(25deg);

pointer-events:none;

animation:
lightning 1.8s ease-in-out 1.2s 1 forwards;

}


@keyframes lightning{

0%{
left:-160%;
opacity:0;
}

15%{
opacity:1;
}

55%{
left:140%;
opacity:1;
}

100%{
left:140%;
opacity:0;
}

}
/* ende splash-animation */


    
button.fake-disabled::after {
  content: " ";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}
    
    .fake-disabled {

  opacity: 0.45;

  filter: grayscale(100%);

  cursor: not-allowed;

  box-shadow: none;
}
    
#uploadOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.65);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#uploadBox{
    background:white;
    color:black;
    padding:30px;
    border-radius:15px;
    text-align:center;
    min-width:260px;
    font-size:18px;
    font-weight:bold;
}

#uploadSpinner{
    width:40px;
    height:40px;
    margin:0 auto 20px;
    border:5px solid #ddd;
    border-top:5px solid #2563eb;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}    

@media (max-width:768px){
    .app-shell{
        padding:15px;
    }
    .glass-card{
        padding:18px;
    }
    .hero h1{
        font-size:30px;
    }
    .hero p{
        font-size:16px;
    }
    .section-title{
        font-size:19px;
    }
    button{
        font-size:15px;
    }
.result-grid{
    grid-template-columns:repeat(3,1fr);
}
}

/* ===========================================================
   DESKTOP LAYOUT
=========================================================== */

@media (min-width:1850px){

.app-shell{
    max-width:none;
}

.desktop-layout{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:40px;
}

.left-panel{
    width:900px;
    flex:0 0 900px;
}

.right-panel{
    width:900px;      /* gleiche Breite wie bisher */
    flex:0 0 900px;
}

.right-panel .glass-card{
    width:100%;
    box-sizing:border-box;
}


/* =========================================
   HERO LOGO ANIMATION
========================================= */

.hero-logo{
    width:100px;
    height:100px;
    border-radius:18px;
    flex-shrink:0;
    box-shadow:
        0 10px 25px rgba(0,0,0,.35);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
    position:relative;
    overflow:hidden;
}


.hero-logo:hover{
    filter:brightness(1.08);
    box-shadow:
        0 12px 30px rgba(0,0,0,.4),
        0 0 20px rgba(45,108,223,.25);
}

.hero-logo-wrap{
    position:relative;
    display:inline-block;
    overflow:hidden;
    border-radius:18px;
}

.hero-logo{
    display:block;
    width:100px;
    height:100px;
    border-radius:18px;
    box-shadow:
        0 10px 25px rgba(0,0,0,.35);

    transition:.3s;
}

.hero-logo-wrap::after{
    content:"";
    position:absolute;
    inset:-40%;
    background:linear-gradient(
        115deg,
        transparent 40%,
        rgba(255,255,255,.08) 47%,
        rgba(255,255,255,.55) 50%,
        rgba(255,255,255,.08) 53%,
        transparent 60%
    );
    transform:rotate(18deg);
    animation:glassSweep 10s linear infinite;
    pointer-events:none;
}
    
    

@keyframes glassSweep{

    0%,85%{
        transform:translateX(-220%) rotate(18deg);
    }

    100%{
        transform:translateX(220%) rotate(18deg);
    }
}

/* =========================================
   iPhone: automatisch größer darstellen
========================================= */

@media (max-width: 900px) {

    .app-shell{
        padding:10px;
    }

    .glass-card{
        padding:14px;
    }

    body{
        font-size:18px;
    }

    button,
    input,
    select,
    textarea{
        font-size:18px;
    }

    .section-title{
        font-size:24px;
    }


    .image-wrap{
        overflow:hidden;
    }

}

/* ===========================================================
   iPhone Querformat
=========================================================== */

@media (max-width: 950px) and (orientation: landscape){

    .app-shell{
        width: 950px;
        max-width: 950px;
        min-width: 950px;
    }

    body{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}

/* iPhone Hochformat Begrenzung */
@media (max-width:950px) and (orientation:portrait){

    html,
    body{
        width:950px;
        max-width:950px;
        overflow-x:hidden;
    }

    .app-shell{
        width:950px;
        min-width:950px;
        max-width:950px;
        margin:0;
        box-sizing:border-box;
    }

}